struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Srivastava" <abhish...@india.hp.com>
Subject List boxes and Form classes
Date Mon, 12 Nov 2001 11:01:23 GMT
Hello All,

Another new-bie question.

I have a html form that has a drop down box. When writing the Form object
for this html form what should be the data type of the property which
represents this field of the html-form?

should it be a string or a collection type like ArrayList.(as the drop down
has many options to choose from).

Also, how do i indicate which value should be selected by default. Since
struts would populate the value of the html forms with what is there inside
the form bean.

Any help would be greatly appreciated.

regards,
Abhishek.


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message