Just write a custom tag that inherits from text and in there decide to do
this iteration. There you could also control the layout. i.e. side by side,
one above next etc.


-----Original Message-----
From: Jordan Thomas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 1:16 AM
To: Struts User List
Subject: Dynamically generated forms


Hi All,

I have a form where I want to generate forms dynamically. For instance, I
have a language bean with 3 objects so in my form I have 3 fields i.e.

<html:text property="cardNumber"field_en"/>
<html:text property="cardNumber"field_de"/>
<html:text property="cardNumber"field_dk"/>

When I add an object to the language bean I want to have

<html:text property="field_en"/>
<html:text property="field_de"/>
<html:text property="field_dk"/>
<html:text property="field_se"/>

Is there a way to do this? That is, dynamically genertate the form fields?

All of my data is coming out of a ValidatorForm.

thanks

Jordan


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>









--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to