You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Dave Newton <ne...@yahoo.com> on 2007/03/15 03:49:20 UTC
[s2] JSF/JSP EL # vs. OGNL EL #
Heya,
Someone mentioned this on users yesterday about how
under JSP 2.1 the # is now part of JSP EL (I assume
because of JSF?) and that they had to disable EL to
get OGNL to render.
(I don't know if that disables JSP ${} EL, but if it
does, that's a lose.)
Has anybody given this any thought? I may be switching
to a JSP 2.1 container myself soon but I'm not excited
about losing ${}, if that's what actually happens.
Dave
____________________________________________________________________________________
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] JSF/JSP EL # vs. OGNL EL #
Posted by Philip Luppens <ph...@gmail.com>.
On 3/15/07, Dave Newton <ne...@yahoo.com> wrote:
> Heya,
>
> Someone mentioned this on users yesterday about how
> under JSP 2.1 the # is now part of JSP EL (I assume
> because of JSF?) and that they had to disable EL to
> get OGNL to render.
>
> (I don't know if that disables JSP ${} EL, but if it
> does, that's a lose.)
>
> Has anybody given this any thought? I may be switching
> to a JSP 2.1 container myself soon but I'm not excited
> about losing ${}, if that's what actually happens.
>
> Dave
Hmm, we're aware that the #{..} OGNL map construction is causing
problems - some users reported the solution is to add the class of the
map yourself. Eg. the following should work:
#@java.util.LinkedHashMap@{ "foo" : "foo value", "bar" : "bar value" }
Phil
>
>
>
>
> ____________________________________________________________________________________
> TV dinner still cooling?
> Check out "Tonight's Picks" on Yahoo! TV.
> http://tv.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
--
iDTV System Engineer
"Always code as if the guy who ends up maintaining your code will be a
violent psychopath who knows where you live." - John F. Woods
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [s2] JSF/JSP EL # vs. OGNL EL #
Posted by Patrick Lightbody <fo...@opensymphony.com>.
Yes, this was something I was not pleased about one bit. Fortunately, there are tricks you can use to disable this logic and stick w/ 2.0 or even 1.2-style logic. I don't recall the specifics, but I think they are something along the lines of which doctype you use in web.xml. You may also be able to configure it via jsp-groups in web.xml.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=70741&messageID=132632#132632
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org