I just finished a page that had similar functionality. The way I handled it
was to, in your case, have your dataImportBean have to properties
optionLabels and optionValues. then use the <html:options/> as follows.

<html:options labelName='dataImportBean' labelProperty='optionLabels'
name='dataImportBean ' property='optionValues'/>


Aaron Steele
Java Consultant
817.401.0831
[EMAIL PROTECTED]

-----Original Message-----
From: Jefferson R. de O. e Silva [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 2:17 PM
To: [EMAIL PROTECTED]
Subject: options


I have a bean called dataImportBean in my session. It has a property called
labelTypes which is an ArrayList,
and it has some LabelValueBean objects.

I want to put each of the LabelValueBeans in a html:options, but all I tried
failed.

Can any help me with this ?

Thanks

Jeff

--
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