Re: html:options and collections

2004-12-09 Thread Guillaume Cottenceau
Erik Weber writes: > I often write a Struts plug-in that sets static collections (such as > select box values) as ServletContext attributes in the init method. That becomes more complicated when you handle i18n (e.g. in labelProperty). -- Guillaume Cottenceau -

Re: html:options and collections

2004-12-09 Thread Erik Weber
[EMAIL PROTECTED] wrote: I want to use a bean to supply options to a select widget. I have a business object, DevicesBO that has a method that returns a Collection. Class Name: DevicesBO Method: Collection getDevices() The collection is a List of CodeDecodeDTO objects. Class Name: Cod

html:options and collections

2004-12-09 Thread jesnook
I want to use a bean to supply options to a select widget. I have a business object, DevicesBO that has a method that returns a Collection. Class Name: DevicesBO Method: Collection getDevices() The collection is a List of CodeDecodeDTO objects. Class Name: CodeDecodeDTO Methods: