struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Tiles & I18N
Date Thu, 08 Sep 2016 06:46:04 GMT
2016-09-07 21:47 GMT+02:00 Ken McWilliams <ken.mcwilliams@gmail.com>:
> @Lukasz I'm not sure about the OGNL access... I'm pretty confident that it
> worked without any input on my part. But I probably was only accessing
> simply properties on the actions. So while I did apply the OGNL prefix, it
> might have been getting the values from the JSP wrapper (probably wrong
> term), like using plain EL in a JSP? I think the OGNL in tiles has it's own
> implementation/engine, so while OGNL expression would work maybe it wasn't
> getting the data from where I thought... in any case it did work at the
> time ;)

It's the same OGNL and the same engine, problem is OgnlContext which
is used as a sandbox to run OGNL expressions. In Tiles the root is set
to JspRequest but OGNL searches down the tree to find a value, so
maybe that's why it worked for you.


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message