From: "David Johnson" <chachany@gmail.com>
> I simply want to create a select box containing all the items in my
> HashMap (displaying the codeName but passing the codeID)
> What's the easiest way to do this? Can I do this wil just a vanilla
> HashMap? The examples are slightly confusing.
I agree... I can never figure out what combination of tag attributes will do
what I want just from reading the docs. Here's an example from a working
webapp:
<html-el:select property="type">
<html-el:options collection="contactTypes"
property="key"
labelProperty="value"/>
</html-el:select>
--
Wendy Smoak
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
|