Found the answer in the opensymphony forum: http://forums.opensymphony.com/thread.jspa?messageID=100059
On glassfish, it seems you have to disable EL: <!-- ========= Disable the JSP-EL, it messes up on pages with OGNL ======= --> <jsp-config> <jsp-property-group> <url-pattern>*.jspx</url-pattern> <el-ignored>true</el-ignored> </jsp-property-group> </jsp-config> Will this issue get resolved in the future? Am Dienstag, 13. März 2007 schrieb Piero Sartini: > Hello, > > I get the following error when trying to create a list with ognl: > > org.apache.jasper.JasperException: /jspx/users/completeProfile.jspx(27,48) > "#{'F':'Female','M':'Male'}" contains invalid expression(s): > javax.el.ELException: Error Parsing: #{'F':'Female','M':'Male'} > > the code in jspx: > <s:select label="%{getText('profile.gender')}" > name="gender" > headerKey="-1" > headerValue="%{getText('profile.selectgender')}" > list="#{'F':'Female','M':'Male'}" > value="gender" > required="true"/> > > It seems it thinks it is JSP EL (what makes sense in a jsp file). I am > using JSP 2.1 - is this a problem for s2? > > --------------------------------------------------------------------- > 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]