I am trying to set up a static map using the select tag. I set my the tag as
explain in the documentation.

  <s:select name="searchBy" list="#{'01':'Begins with', '02':'Contains',
'03':'Equals'}" />

But when it tries to render the page I get this error.

Syntax error in expression. Encountered ":". Expected one of : "}", ".",
"[", ">", "gt", "<", "lt", ">=", "ge", "<=", "le", "==", "eq", "!=", "ne",
"&&", "and", "||", "or", "*", "+", "-", "?", "/", "div", "%", "mod", 

I can get this to work, but I need my keys to be different.
  <s:select name="searchBy" list="#{'Begins with', 'Contains', 'Equals'}" />

-- 
View this message in context: 
http://www.nabble.com/s%3Aselect-static-map-tf4415381.html#a12594727
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to