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]