On 10/26/06, Jean-Marie Pitre <[EMAIL PROTECTED]> wrote:
Thank you for your reply. In fact, I have several forms with same name; Each form is generated by the iterate close. I would like to that to avoid to post all data in the formbean.
This thing should have no problem fundamentally, as long as you can resolve which form amongst your number of forms has been posted, I mean through some id field, i.e. you should know which item to update or so... Regards,
Jean-Marie. -----Message d'origine----- De: news [mailto:[EMAIL PROTECTED] De la part de Laurie Harper Envoyé: jeudi 26 octobre 2006 0:07 À: user@struts.apache.org Objet: Re: several html forms Jean-Marie Pitre wrote: > Hello, > > What do you think about using several html forms with same name in the > same page ? > > I explain me, my JSP displays (with iterate) content of a tab element > (object in my formbean). > I would like to update one of these elements, so my idea was to create a > html form block for each element of my tab in the JSP and post one html > form to an action. I'm not sure I understand. Do you mean you want to have a different form in each tab area? Why not have a single enclosing form? I think having multiple forms on one page can be made to work, though maybe not having multiple forms with the same name. Have you tried what you have in mind? L. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ------------------- Email Disclaimer http://www.cofidis.be/emaildisclaimer.php --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Puneet