So you are saying I should use same properties between the two forms and than copy from one to another? Is it better than just pulling variables from request and putting them into the second form?
Thanks, Fedor -----Original Message----- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 12:17 PM To: Struts Users Mailing List Subject: Re: populating multiple action forms He he he, I just thought up a nasty hack to attempt this, though I haven't tried it yet to see if it would work. It involves a BeanValidatorForm that wraps another BeanValidatorForm. Calling Niall, would this work? =p I wonder if I'll be able to find the time to do it tonight. Sorry, Fedor, I'm hoping the above paragraph doesn't hijack your thread. The short answer is, I don't think so. Struts is designed to work with the form you declare on the mapping, and the ActionForm is supposed to represent an html <form>, and you really only submit one form at a time. Why not use BeanUtils to copy between forms? For your special case, the add'l lines of code to do it shouldn't hurt too much. Hubert On Thu, 14 Oct 2004 12:40:21 -0700, Fedor Smirnoff <[EMAIL PROTECTED]> wrote: > Can I populate multiple action forms form one jsp file/ one action. > I know I can access other forms with session and pull variables from request > to populate secondary action form, however, is there a better way to do it? > > Thanks > Fedor > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]