In 1.1b1, I'm using html:optionsCollection without any problems; here's a
jsp snippet

<pre>
 <html:select property="statusCode">
  <html:optionsCollection name="statusLookup" property="statusCollection"/>
 </html:select>
</pre>

Where statusLookup is an application scope bean which has a
getStatusCollection() method which returns a Collection of
org.apache.struts.util.LabelValueBean

It all works, am I missing something?

-----Original Message-----
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 1:14 PM
To: 'Struts Users Mailing List'
Subject: RE: Problem in Html:options tag


You have to use the "collection" property of the options tag - read the tag
spec:

http://jakarta.apache.org/struts/struts-bean.html

but it's not going to work....

Mark


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

Reply via email to