This content has been marked as final.
Show 3 replies
-
1. Re: manually adding to Collection for <s:selectitems
braddm7 Apr 18, 2008 10:58 AM (in response to braddm7)I bet it has something to do with
<s:convertEntity />
as the class supporting this tag uses a Hibernate loader. I assume that this works only with a Collection of objects that live in the persistent context.
-
2. Re: manually adding to Collection for <s:selectitems
yk Apr 18, 2008 12:19 PM (in response to braddm7)what do you want to do with a transient object?
if you want to get the selected object, put it in your action instead.
-
3. Re: manually adding to Collection for <s:selectitems
braddm7 Apr 18, 2008 2:38 PM (in response to braddm7)Your way will certainly work, but I am curious why the @In does not work well or what I do wrong.