Eric
If you absolutely positively need a quote on each side try
"
Viel Gluck,
Martin-

----- Original Message ----- From: "Wendy Smoak" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Saturday, May 28, 2005 8:32 PM
Subject: Re: Using <html:options> tag with a Map


From: "Eric C. Hein" <[EMAIL PROTECTED]>

  <html-el:options collection="\${departmentMap[\"sales\"]"
property="label" labelProperty="value"/>


Was this pasted in? You have a slash in front of the dollar sign, and the ending curly brace seems to be missing in the collection attribute. I've never seen escaped double quotes used in an expression, either.

Try just ${departmentMap.sales} for the collection. I'm not sure how smart
it is, but if it "knows" departmentMap is a Map, it will use the correct
accessor.  Alternately, try ${departmentMap['sales']}.

--
Wendy Smoak



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



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

Reply via email to