Re: Sample code for handling variable number of text fields

2002-06-18 Thread Harjeet Singh
Thanks Ted. That should work for me.. - Original Message - From: "Ted Husted" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, June 15, 2002 4:40 PM Subject: Re: Sample code for handling variable number of text fiel

Re: Sample code for handling variable number of text fields

2002-06-15 Thread Ted Husted
You can just use an array. private String[] key= null; public String[] getKey() { return this.key; } public void setKey(String[] key) { this.key = key; } name <%-- REMEMBER TO SPECIFY THE ITERATE ID AS THE NAME --%> Harjeet Singh wrote:

Sample code for handling variable number of text fields

2002-06-13 Thread Harjeet Singh
Hello everybody, This is newbie question. I have a form with the number of textfields on it which are known at runtime only, i.e. depend on the search result on DB. Could anyone send me sample code for this, on how to get the values from the forms (in the Formbean) as well as set vaues in it on