Not sure what you are talking about Mark. There have been two posts in the last
24 hrs showing how to use the options tag - regular options requires a
bean:define to put collection in scope, new optionsCollection does not.
If you had searched the archives you would have found several posts on this!
(sorry - couldn't resist!! ;-) ).
Cheers,
David
"Galbreath, Mark" <[EMAIL PROTECTED]> on 04/18/2002
06:26:47 AM
Please respond to "Struts Users Mailing List"
<[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'"
<[EMAIL PROTECTED]>
cc: (bcc: David Hay/Lex/Lexmark)
Subject: RE: Combo box problem
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]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>