There is one problem with using other ELs - conversion. For example:

"{1,2,3}"

such a statement will be evaluated by MVEL to: new Object[]{Integer,
Integer, Integer}
but with Ognl it will be: new List{Integer, Integer, Integer}

and then Struts2/Xwork built-in conversion logic will convert just the
first element of MVEL result, so the result will be: [1] :\

I can extend converters to support that case, I can replace the whole
conversion logic with all the extension points or stick with what
given EL provides - and just add users converters.

I think the third option is the best - it will allow remove many
strange code inside built-in converters.


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

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

Reply via email to