How do I populate it in the Action if I need to iterate through the ActionForms in my JSP?
I am thinking that it is just an issue of getting around the parser. In other instance I have, just adding quotes here and there to 'fool' the parser solves my problems. e.g. I can have a bean:write tag inside a hidden tag.. Sebastian On Thu, 2004-11-04 at 15:09, Girish Kumar K. P. wrote: > Anyway , the value if u give the "value" attribute, the values populated > into the form bean from the action will not be displayed. Text field > will diplay > <bean:write name="mymobilephaseloadings"> property="percentage"/> > So, poipulate the form bean at the action . That's it > Dopn't give the value attribute. > It will work > > -----Original Message----- > From: Sebastian Ho [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 04, 2004 12:34 PM > To: Struts Users Mailing List > Subject: RE: html:text in logic:iterate > > The user is actually editing some data that is already saved. So I need > the data to be displayed in the textbox (form). > > sebastian > > > On Thu, 2004-11-04 at 14:52, Girish Kumar K. P. wrote: > > U shouldn't give the value attribute there. The value would be read > > from the form > > > > Regards, > > Girish > > > > -----Original Message----- > > From: Sebastian Ho [mailto:[EMAIL PROTECTED] > > Sent: Thursday, November 04, 2004 12:18 PM > > To: Struts Users Mailing List > > Subject: html:text in logic:iterate > > > > Hi > > > > I have a iterate tag which contains a text box. I wish to display > > value in the textbox. But this line in the JSP couldnt get through the > > > parsing. > > <html:text property="percentage" size="10" > > value="<bean:write name="mymobilephaseloadings" > > property="percentage"/>"/> > > > > Anyone knoww how to get around this? > > > > Thanks > > > > Sebastian Ho > > > > --------------------------------------------------------------------- > > > > <logic:iterate id="mymobilephaseloadings" name="mobilephaseloadings" > > scope="session"> > > <tr bgcolor="#FFFFCC"> > > <html:form action="EditLCMSMSGradientStepByIdentifier.do"> > > <td> > > <bean:write name="mymobilephaseloadings" > > property="gradientStepTime"/> > > </td> > > <td> > > <html:text property="percentage" size="10" > > value="<bean:write name="mymobilephaseloadings" > > property="percentage"/>"/> > > </td> > > <td> > > <html:cancel property="action" value="Save"> > > <bean:message key="button.save"/> > > </html:cancel> > > </td> > > <html:hidden property="page" > > value="displaygradientstepbyidentifier"/> > > </html:form> > > </tr> > > </logic:iterate> > > > > > > --------------------------------------------------------------------- > > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]