mikehalfsheen
asked on
Using HashMap in the struts <html:option> tag
Hi,
I know you can use a HashMap with the otpions like:-
<html:options collection="userBaskets" property="key" />
but if the value of in HashMap is an object, how do you use a property of the value as the label,
eg <html:options collection="userBaskets" property="key" labelproperty="value.getNa me()"/>
I know you can use a HashMap with the otpions like:-
<html:options collection="userBaskets" property="key" />
but if the value of in HashMap is an object, how do you use a property of the value as the label,
eg <html:options collection="userBaskets" property="key" labelproperty="value.getNa
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Can you post some code? (assuming that doesn't work)?
ASKER
lovely ;)
:-) Woo!
Good luck!
Tim
Good luck!
Tim