struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (David M. Karr)
Subject Re: OptionsCollection and default value
Date Sun, 22 Dec 2002 23:11:29 GMT
>>>>> "John" == John Menke <> writes:

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

    John> I'm positive this works as I had the formbean working with html:text tags to
    John> test and the taskCodeType variable displays fine.

    John> When I change from html:text to html:select with html:optionsCollection the
    John> option box is populated ok and I can update with values i select in the
    John> option box, but the
    John> current value is never selected initially.

At this point, I would be executing this in the debugger, and tracing through
the SelectTag code, and your form bean code.

David M. Karr          ; Java/J2EE/XML/Unix/C++   ; SCJP

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message