This content has been marked as final.
Show 2 replies
-
1. Re: DataModelSelection annotation on getter and setter
asookazian Aug 10, 2009 7:48 PM (in response to wilhelmtell)@DataModelSelection injects an object. Don't use @In with @DataModelSelection. You may be able to use @Out but that is somewhat suspect b/c if you outject a ListDataModel using @DataModel.
example:
@DataModel List<foo> myList; @DataModelSelection Foo foo;
It should look like this every time with the exception of using java.util.Set, or Object[] instead of java.util.List.
Read the Seam ref doc for more info.
-
2. Re: DataModelSelection annotation on getter and setter
wilhelmtell Aug 11, 2009 3:51 PM (in response to wilhelmtell)Arbi,
Thanks for your feedback.
I try to understand the following sentence
I was impressed by your perseverance talking to yourself on that thread. Thank you very much for sharing your adventures, it shortened the time it took me to fix my problem. It is just a bit sad that you had practically no help.I've learnt not to use @In. I will adjust my code and try if it works.