We had this very discussion yesterday.  There apparently is a bug in the
<options collection> iterator.  Myself and another developer on my team
tried for hours to get it to work and all we got was the behavior you
describe.  As a work-around, we put a <logic:iterator> inside the
<html:select> and "manually" parsed the list for the combo box.

Mark

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 4:37 AM

Hi,

I've got some problems with a combo box. I have a combo populate with data
from
a database.
My objective is to select a field and to display it in the next window.
When I push on the submit button, the next window doesn't appear and there
aren't any error message.

>>>>>
Here is the code of my select tag:

    <strutshtml:form action="listok.do" name ="listeBean" type
="be.brail.liste.
  ListeBean">


      <strutshtml:select size="6" name="DefaultCat" property="selected">
              <strutshtml:options  collection="testMaterial"
property="description"/>
        </strutshtml:select>


     <strutshtml:submit>Transmit</strutshtml:submit>

    </strutshtml:form>
>>>>>>>>

where testmaterial is a collection in the session and DefaultCat a bean to
recover my selected field.

Anyone has an idea ?
Thanks

Fr. Geraerts


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

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

Reply via email to