You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Jason Carreira <fo...@opensymphony.com> on 2006/10/01 04:26:40 UTC

Re: Abstracting Ognl from XWork and Struts 2?

> 
> IMO, this is doable. But I think it may require yet
> another
> abstraction: an expression converter, as the engines
> you are
> mentioning are using different types of syntax. Or,
> if this is
> something that comes in the XValueStack
> implementation than I guess it
> may work too.
> 
> ./alex
> --

Why do we need to convert the syntax? The value stack and OgnlUtil just take a string for the expression. If you're using a different EL you need to know that and write your expressions using that EL syntax.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=44645&messageID=90552#90552


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