Here's the 5-second crash course:
Bean form methods:
public String getPropName(int index) { return propNames[index]; }
public void setPropName(int index, String value) { propNames[index] = value; }
HTML request String:
request.do?propName[0]=value1;propName[1]=value2;propName[3]=value3
INPUT elements:
<input type='text' name='propName[0]'>
Then, in your JavaScript function, you just increment that index each time you generate a new input element.
Of course, somebody might be able to figure out how to get DynaForms to use the String[] properties. They should be able to do that, since that's exactly how HTML sends the values in multiple-select lists.
-- Jeff
Paulo César M. Jeveaux wrote:
Hi List
I am sending my problem I have one text box and for that text box i write one property in Config file. But that text box may contain multiple value so i introduced one Button named More when i clicked that btn another text box generated.Now i have two text boxes of same property So when i enter any value in 1 text box same value assigned for another text box as they have same property name.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]