Yes, you should be able to do this. The best way to find out is to try it and see. ;-)
Matt On 9/10/07, BruceLee <[EMAIL PROTECTED]> wrote: > > Oh, thanks Matt, I understand more. However, then each sub-form will has an > different Action class (nested in big class). Can I share a same Action > class for all nested forms? > For example on a page, there are 3 places to upload a profile picture and > file attachments, I'd like all of them use the same FileUploadAction.java > (or variant) > > Thanks! > -Bruce > > > mraible wrote: > > > > Your "commandClass" would have two nested objects with getters and > > setters. Then in your JSP, you would refer to them as > > command.nested1.property and command.nested2.property. > > > > Matt > > > > On 9/10/07, BruceLee <[EMAIL PROTECTED]> wrote: > >> > >> May I ask how to do that? My experiment appears not to work. When I click > >> the > >> inner form 'Submit', it still calls outer form's action. > >> > >> Thanks! -Bruce > >> > >> > >> mraible wrote: > >> > > >> > You should be able to nest two forms (or data holders) in a parent data > >> > holder. > >> > > >> > Matt > >> > > >> > On 9/9/07, BruceLee <[EMAIL PROTECTED]> wrote: > >> >> > >> >> I have same issue. On profile page, I want to upload several files > >> >> (user's > >> >> picture, favorite things). When user clicks "Upload Picture", a choose > >> >> file > >> >> window pops up, after "OK", it returns the profile page and show the > >> >> recent > >> >> uploaded picture. > >> >> > >> >> I tried to put a <ww:form in another <ww:form, but it appears only > >> outer > >> >> form works. It took me several days but no luck. > >> >> > >> >> Thanks! > >> >> -Bruce > >> >> > >> >> > >> >> fadhlirahim wrote: > >> >> > > >> >> > Hello, > >> >> > > >> >> > I would like to ask whether is it possible to put multiple form in > >> one > >> >> > view > >> >> > in spring mvc? > >> >> > > >> >> > This is because I want to put upload file and edit profile together > >> in > >> >> one > >> >> > page. > >> >> > > >> >> > Your views and opinions are highly appreciated. > >> >> > > >> >> > Regards > >> >> > > >> >> > -- > >> >> > /fadhli > >> >> > > >> >> > > >> >> > >> >> -- > >> >> View this message in context: > >> >> > >> http://www.nabble.com/Spring-MVC-%3A-Multiple-Form-in-One-View--tf4315119s2369.html#a12580459 > >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. > >> >> > >> >> --------------------------------------------------------------------- > >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> >> For additional commands, e-mail: [EMAIL PROTECTED] > >> >> > >> >> > >> > > >> > > >> > -- > >> > http://raibledesigns.com > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: [EMAIL PROTECTED] > >> > For additional commands, e-mail: [EMAIL PROTECTED] > >> > > >> > > >> > > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/Spring-MVC-%3A-Multiple-Form-in-One-View--tf4315119s2369.html#a12586353 > >> > >> Sent from the AppFuse - User mailing list archive at Nabble.com. > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > > http://raibledesigns.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Spring-MVC-%3A-Multiple-Form-in-One-View--tf4315119s2369.html#a12597868 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
