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
http://www.rubyroundup.com/


On Mar 13, 2007, at 7:39 PM, Dave Newton wrote:


--- 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 environments.

d.




__ 
__

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at  
Yahoo! Games.

http://videogames.yahoo.com/platform?platform=120121

-
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]



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 environments.

d.



 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

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



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:
> >   
> >   
> > 
> >   *.jspx
> >   true
> > 
> >   
> > 
> > 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?
> 
> d.
> 
> 
> 
>  
>

> Bored stiff? Loosen up... 
> Download and play hundreds of games for free on
> Yahoo! Games.
> http://games.yahoo.com/games/front
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



 

Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

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



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..

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



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:
>   
>   
> 
>   *.jspx
>   true
> 
>   
> 
> 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?

d.



 

Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

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



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:
  
  

  *.jspx
  true

  

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:
>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]



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:


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]