You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Musachy Barroso <mu...@gmail.com> on 2009/07/01 23:58:08 UTC

new parameters population implementation

I have been playing with a new implementation for parameter
population, which is in this xwork branch:

http://svn.opensymphony.com/svn/xwork/branches/parameter-binder/

beta testers wanted. It is hosted here, for your testing pleasure:

http://struts.zones.apache.org/tomcat-5-5-27-java5-struts2-showcase/showcase.action

Although it still uses OGNL as the reflection provider, it doesn't
depend on the ValueStack or OGNL directly. With something like this in
place we could be able to plugin a different EL provider, like MVEL
(hosted on the xwork-mvel branch). It is not backward compatible, as
it only supports basic notation, like:

somefield[10].name (indexed access of maps and arrays)

and:

somefield(10).name (collection)

one side effect of its simplicity is that it will be more secure (for
the expression is no evaluated by OGNL)

feedback is always welcome
musachy
-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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