On 3/31/06, Eric Rank <[EMAIL PROTECTED]> wrote: > Greeting friends, > > I'm looking for a best-practice strategy for what to do when a page has > multiple forms. My questions: > > 1. Is there a way to specify multiple form beans for one action?
No. > 2. Assuming there's _not_ a way to specify multiple form beans (only one > 'name' attribute allowed in the 'action' element), how can I populate > multiple forms which are associated with distinct form-beans? You want to populate HTML forms from the beans at render phase? You can have one large ActionForm for all HTML forms or you can have an ActionForm per every HTML form, thus every HTML form posts to its own action mapping. Remember that ActionForm is linked to a mapping in config file, not to an action class, so you can have one action class and several mappings. Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]