struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Steele" <aaron.ste...@attbi.com>
Subject RE: options
Date Thu, 26 Sep 2002 19:30:27 GMT
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
aaron.steele@attbi.com

-----Original Message-----
From: Jefferson R. de O. e Silva [mailto:jefferson@indrix.net]
Sent: Thursday, September 26, 2002 2:17 PM
To: struts-user@jakarta.apache.org
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:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message