hi again, I guess it all comes down to how to make my POJO B (which contains the formulaPart-property) available in the scope. How would I do this? Is using Dynaforms the only solution? Or should I go with something like formdef (as described in http://www.mail-archive.com/user@struts.apache.org/msg32014.html)?
from my struts-config.xml: <form-bean name="myForm" type="com.acme.struts.MyForm" /> <action path="/myAction" type="com.acme.struts.MyAction" name="myForm" scope="session" parameter="method"> <forward name="forward" path="/protected/pages/crudOutage.jsp" /> </action> cheers, pj -----Opprinnelig melding----- Fra: Danny Lee [mailto:[EMAIL PROTECTED] Sendt: 21. november 2005 17:18 Til: user@struts.apache.org Emne: Re: nested Sets Well, your problem is storing the value in "formulaPart". What is formulaPart? You are populating the form, and you have lot of input fields after populations. So you have to have formulaPart[x] as a property, and List formulaPart in the scope! Read this: http://www.developer.com/java/ent/article.php/2233591 Cheers Danny Bouvet Konsulent schrieb: > <html:form action="myAction"> > <logic:iterate id="B" name="myForm" property="Bs"> > <html:text name="B" property="formulaPart"/> > <html:submit> > <bean:message key="button.save"/> > </html:submit> > </logic:iterate> > </html:form> > > when submitting the form, the value in B (formulaPart) is not updated. > Any ideas what I'm doing wrong? > > Thanks for your help! > > cheers, > pj --------------------------------------------------------------------- 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]