Hi, I have a combo box, and populating hash map values in this
box. Once initial form is populated, if user selects any option
from this box, it will submit the form to my action class using method
“callOnChange”. And action class does re-populate the value object from backend and
forward control back to this screen. Now the problem is that its not displaying
the selected option which user have selected. Instead first element of the
Hashmap comes as selected. <html:select property="userStatus"
styleClass="clsGenText" size="1"
callOnChange ()"> <html:optionsCollection
name="ExampleVO" property="userStatusMap"
label="value" value="key"/> </html:select> Is there any other way by which we can
make the desired option from HashMap selected? Please suggest. Regards Naresh |
####################################################################### # This message is intended solely for the individual or entity to # # which it is addressed.This communication may contain information # # that is proprietary,privileged or confidential and otherwise legally# # exempt from disclosure. If you are not the named addressee, or have # # been inadvertently referenced in the address line, you are not # # authorized to read, print, retain, copy or disseminate this message # # any part of it. If you have received this message in error , please # # notify the sender immediately by e-mail and delete all copies of # # the message. # #######################################################################
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ####################################################################### # This message is intended solely for the individual or entity to # # which it is addressed.This communication may contain information # # that is proprietary,privileged or confidential and otherwise legally# # exempt from disclosure. If you are not the named addressee, or have # # been inadvertently referenced in the address line, you are not # # authorized to read, print, retain, copy or disseminate this message # # any part of it. If you have received this message in error , please # # notify the sender immediately by e-mail and delete all copies of # # the message. # #######################################################################
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]