Re: Multiple properties

2002-04-14 Thread Victor Hadianto
] Subject: Re: Multiple properties Date: Fri, 12 Apr 2002 09:42:20 +1000 The good thing with Struts is that you can define multiple text fields with the same name and the getter/setter method to have param/return as string array. Struts will populate the array with the text fields

Re: Multiple properties

2002-04-12 Thread Adolfo Miguelez
: Multiple properties Date: Fri, 12 Apr 2002 09:42:20 +1000 The good thing with Struts is that you can define multiple text fields with the same name and the getter/setter method to have param/return as string array. Struts will populate the array with the text fields. cheers, victor On Thu, 11

RE: Multiple properties

2002-04-11 Thread Oliver Reflé
I have never tested it with text fields only with multiboxes but should also work. Implement a getter/setter like this public String[] getFactor(){} public void setFactor(String[]){ //splitting String } Then define factor as property and struts should automaticly create a string[] and

Re: Multiple properties

2002-04-11 Thread Victor Hadianto
The good thing with Struts is that you can define multiple text fields with the same name and the getter/setter method to have param/return as string array. Struts will populate the array with the text fields. cheers, victor On Thu, 11 Apr 2002 21:41, you wrote: I'm writing an application