]
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
: 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
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
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
4 matches
Mail list logo