and that one

http://jakarta.apache.org/struts/faqs/indexedprops.html

there is described how to create 
a "dynamic" form based on indexed-properties:


like that:
 <html:form action="indexedtest5.do">
   <logic:iterate name="stringbean" property="stringArray" id="foo"
                  indexId="ctr">
    <html:text name="stringbean"
               property='<%= "labelValue[" + ctr + "].label" %>' />
   </logic:iterate>
   <html:submit property="submitValue">Submit Changes</html:submit>
  </html:form>

Hope that helps


> -----Original Message-----
> From: Xavier Noria [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 29, 2004 12:09 PM
> To: [EMAIL PROTECTED]
> Subject: dynamic forms
> 
> 
> We have some forms whose fields are unknown until runtime. How would 
> you implement them so that they worked within the framework smoothly?
> 
> -- fxn 
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to