struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sidney Chong" <sid...@allomail.com>
Subject RE: how to set the default selected value using html:select and html:options
Date Fri, 18 May 2001 11:58:13 GMT
Doh, found my problem... my form bean name was capitalised in my
struts-config file whereas in my action and jsp files, I wasn't using the
capitalised name! grr... its errors like that which is hard to find.

-----Original Message-----
From: Jae W. Chang [mailto:jchang@jline.com]On Behalf Of
struts@jline.com
Sent: Friday, 18 May, 2001 4:38 PM
To: struts-user@jakarta.apache.org
Subject: how to set the default selected value using html:select and
html:options


yes, it does what you'd expect it to. selects the label that
corresponds to the value of the property in the form bean.

i'd recommend checking out the exercise-taglib examples. there are
samples of how to drive most of the html tags.

jae


Mime
View raw message