| Author |
could you do composition in a form?
|
Peter Primrose
Ranch Hand
Joined: Sep 10, 2004
Posts: 755
|
|
is it possible to have a Form constructed as a composition? I mean, instead of having this: //assume all have getter and setter and then have class C as: I just wonder if it will be possible to do something like this in the jsp page: thanks
|
 |
Jan Groth
Ranch Hand
Joined: Feb 03, 2004
Posts: 456
|
|
yes, this is out it all works ;-) is a user object with a adress object with a street field. that was your question? jan
|
 |
Peter Primrose
Ranch Hand
Joined: Sep 10, 2004
Posts: 755
|
|
Originally posted by Jan Groth: that was your question? jan
my q: it will be possible to do something like this in the jsp page: and if yes, then how?
|
 |
Jan Groth
Ranch Hand
Joined: Feb 03, 2004
Posts: 456
|
|
hm, then you have to be a bit more elaborative with your problem. i understood that in your constellation a form C has a member of Class A which itself has a property a. from what i figured out your "q" was: can i compose forms with rich-objects, and do i have direct access to those objects from within the jsp. which i tried to answer... :-) jan [ October 25, 2006: Message edited by: Jan Groth ]
|
 |
 |
|
|
subject: could you do composition in a form?
|
|
|