Hi
I have a multiple select html element named "countries" in a form.
How should my FormBean getters and setters be?
public String[] getCountries()
{ return this.countries; }
public String getCountries(int index)
{ return this.countries[index]; }
public void setCountries(String[] countries)
{ this.countries = countries ; }
public void setCountries(int index, String countries)
{ this.countries[index] = countries }
or should I use an ArrayList or something like that instead of the String[] array? Are
both them allowed? Should I use only String and boolean properties?
Are the indexed accesors useful?
Thanks a lot,
Guido Garc�a.
------------------------------------------------------------------------
Soy cliente de Retecal y me siento estafado, no se lo recomiendo a nadie
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>