I know I can populate a drop down using a List as follows:

<html:options collection="sales" property="label" labelProperty="value"/>

But to clean things up a bit I'd like to put all my department List(s) in a map. So the collection would be akin to -> departmentMap.get("sales"), for example. When I try using:

<html-el:options collection="\${departmentMap[\"sales\"]" property="label" labelProperty="value"/>

The tag lib calls toString() on the collection returned by the "\${departmentMap[\"sales\"]" and then looks for a bean under that name. Can anyone explain how I can get to to my lists?

- Thanks
Eric


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

Reply via email to