struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Antonakos" <>
Subject <html:select> issue
Date Thu, 01 Jul 2004 12:01:08 GMT
i had something like this:

  <select name="select1">
       <logic:iterate id="list1" name="coll1" property="theList">
         <option value="<bean:write name="list1" property="a1"/>,<bean:write name="list1"
          <bean:write name="list1" property="a3"/>

i changed it and now i have something like this:

      <html:select property="select1">
          <html:options collection="theList" property="a1" labelProperty="a3"/>

As you see i loose one information, the ',a2' information.
Is there a way to solve this problem ?
I need to have html:select instead of select, cause in case of an error i need the value to
there, and not to get lost. I mean the selected one, to remain selected, and not to auto
select the first.

Regards, John

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

View raw message