struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
Subject Re: Displaying a HashMap as a <select>
Date Mon, 07 Mar 2005 16:48:35 GMT
From: "David Johnson" <>
> 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

<html-el:select property="type">
            <html-el:options collection="contactTypes"

Wendy Smoak

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message