Is there a way to get back the key/value pair that was selected (without
using hidden fields)?

Melonie Brown



-----Original Message-----
From: Mark Lowe [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 08, 2003 3:57 AM
To: Struts Users Mailing List
Subject: Re: nested tags


Something along these lines might help....

<html:select property="myname">
<html:options
        collection="myarray"
        property="value"  />
</html:select>


if you've a map you can use

<html:select property="myname">
<html:options
        collection="myhash"
        property="key"
        labelProperty="value" />
</html:select>


cheers mark


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

Reply via email to