Re: OGNL - invalid syntax. JSP EL?

2007-03-14 Thread James Mitchell
There must be a way (or we should build a way) that Struts could allow customization of the el that gets substituted before passing it off to OGNL. I would ask on the dev list and possibly even file a JIRA ticket on this. Thanks -- James Mitchell The Ruby Roundup

OGNL - invalid syntax. JSP EL?

2007-03-13 Thread 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:

Re: OGNL - invalid syntax. JSP EL?

2007-03-13 Thread Piero Sartini
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

Re: OGNL - invalid syntax. JSP EL?

2007-03-13 Thread Dave Newton
--- Piero Sartini [EMAIL PROTECTED] wrote: 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-ignoredtrue/el-ignored

Re: OGNL - invalid syntax. JSP EL?

2007-03-13 Thread Piero Sartini
Will this issue get resolved in the future? That may have to do with the JSF EL, which also uses # as its escape char. If that's the case, probably not? That is the case. But why not? Its not JSF EL but JSP EL. I don't think its good to be incompatible with JSP..

Re: OGNL - invalid syntax. JSP EL?

2007-03-13 Thread Dave Newton
Sorry, meant to include this link: http://today.java.net/pub/a/today/2006/03/07/unified-jsp-jsf-expression-language.html d. --- Dave Newton [EMAIL PROTECTED] wrote: --- Piero Sartini [EMAIL PROTECTED] wrote: On glassfish, it seems you have to disable EL: !-- = Disable the

Re: OGNL - invalid syntax. JSP EL?

2007-03-13 Thread Dave Newton
--- Piero Sartini [EMAIL PROTECTED] wrote: I don't think its good to be incompatible with JSP.. It wasn't incompatible until 2.1, IIRC, and it was JSF-only up until then, before the unification effort. Maybe take it up w/ the OGNL folks? I agree that this may cause a problem in some