Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change 
notification.

The following page has been changed by MichaelJouravlev:
http://wiki.apache.org/struts/StrutsWidgets

------------------------------------------------------------------------------
  
  inline:selectwidget.gif
  
- If you want to always preselect a hardcoded value instead of value submitted 
by user, add ''value'' attribute to <html:select> tag. This attribute should 
contain preselected value. For example, if you always want to preselect 
"California" despite of currently chosen value, your code would look like this:
+ If you want a listbox to always position to a certain hardcoded value instead 
of value submitted by user, add ''value'' attribute to <html:select> tag. For 
example, this code always displays "California" despite of currently chosen 
value:
  
  {{{
  <html:select name="addressForm" property="currentStateCode" value="CA" 
size="1">

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to