struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Reumann <maill...@reumann.net>
Subject Re: OptionsCollection and default value
Date Sun, 22 Dec 2002 23:57:54 GMT
On Sun, 22 Dec 2002 15:01:42 -0500
"John Menke" <jm@basebeans.com> wrote:
 
> <html:select property="taskCodeType"><html:optionsCollection
> property="taskCodeTypeOptions"  /></html:select>
> 
> 
> MY JSP WILL RUN AND POPULATE THE SELECT TAG CORRECTLY, BUT IT DOESN'T
> CHOOSE THE CORRECT INITIAL VALUE.
> 
> IE. THE "SELECTED" property is not set correctly.
> 

Are you sure that "taskCodeType" in your form bean is being set to
the appropriate value before being directed to the jsp?  


-- 
Rick

--
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