struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barnett, Brian W." <>
Subject RE: <html:options> using java.util.Map
Date Tue, 15 Jun 2004 17:57:46 GMT
Here is an example that we have used and it works:

<html:select property="schoolId">
	<html:options collection="allSchools" 
		property="schoolId" labelProperty="schoolName"/>

-----Original Message-----
From: Henrique VIECILI [] 
Sent: Tuesday, June 15, 2004 12:00 PM
To: Struts Users Mailing List
Subject: <html:options> using java.util.Map

Does anyone know howto use the <html:options> tag with the values and label
inside a Map?

I´ve tried this:

<html:options name="myMap" property="key" labelName="myMap"

but it didnt work...

Any sugestions?!

Henrique Viecili

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

View raw message