Posted By:
deepak_kaul
Posted On:
Saturday, October 9, 2004 12:28 AM
I'm not getting the pre selected value set for a combo box, which can have values say ADMIN,DB,USER,GUEST When a page is submitted, In its actionHandler, I set the formbean's property "accessLevel" using myform.setAccessLevel("ADMIN"); In the JSP, I do the following This populates the combo box, but does not select the right index for the combo. If I use instead of SELECT, I get the right value... Where am I getting it wrong.. :(
More>>
I'm not getting the pre selected value set for a combo box, which can have values say ADMIN,DB,USER,GUEST
When a page is submitted, In its actionHandler, I set the formbean's property "accessLevel" using
myform.setAccessLevel("ADMIN");
In the JSP, I do the following
This populates the combo box, but does not select the right index for the combo.
If I use
instead of SELECT, I get the right value...
Where am I getting it wrong..
:(