+1 -- Ashish Vijaywargiya
Adrian Crum wrote:
Now that the UEL supports logical operator substitution (http://docs.ofbiz.org/display/OFBTECH/Unified+Expression+Language+(JSR-245)+in+OFBiz#UnifiedExpressionLanguage%28JSR-245%29inOFBiz-OperatorSubstitutions) we have the ability to eliminate the clumsy XML escaping in the form widget use-when attribute. The problem is, the form widget evaluates the use-when attribute with BeanShell, not UEL. I would like to change the form widget to use UEL in use-when expression evaluations. The use-when attribute must evaluate to a boolean, and UEL is perfect for that. Plus, expression evaluation using UEL should execute faster than BeanShell. The potential downside is the chance there is a peculiar use-when expression that BeanShell can evaluate, but UEL can't. Those should be easy to find though. What do you think? -Adrian
smime.p7s
Description: S/MIME Cryptographic Signature
