This looks pretty cool. The "${bsh:" stuff may need to be pre-filtered.

Also, I noticed that a pre-parse or cache plugin feature is supported, and for something like this it would make a big difference.

-David


On Dec 4, 2008, at 12:08 PM, Adrian Crum wrote:

I'm considering integrating JUEL (http://juel.sourceforge.net) into the FlexibleStringExpander class and maybe the FlexibleMapAccessor class. Jacopo had expressed a desire to integrate Apache Commons EL in this manner (http://docs.ofbiz.org/display/OFBADMIN/New+Features+Roadmap+-+Living+Document ), but the Commons EL project is based on an older EL specification.

Making this change would allow expressions like:

"Order balance: ${order.amount - payment.amount}"

anywhere the FlexibleStringExpander is used (simple methods, screen widgets).

What do you think?

-Adrian

Reply via email to