I have a form that builds an object on the ActionBean. The object is called
trifoldBrochure. trifoldBrochure has itself objects that represent
selection items and therefore point to xref tables in the database, so they
are themselves objects. How I have currently figured on doing this is as
follow
<s:radio name="copySourceId" value="3"/>
then have a setter for this variable, and do
trifoldBrochure.copySource = copySourceDao.read(copySourceId);
this seems laborious. isn't there some way I can just do
<s:radio name="trifoldBrochure.copySource.id"/>
plus some other magic and have it work?
Do I even have to load the sub-object to save it? is the id enough of the
object to persist it to the parent?
yours,
Alex
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users