Feature Requests item #680593, was opened at 2003-02-04 19:47
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=354754&aid=680593&group_id=4754

Category: None
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Submitted By: Viktor Szathmary (phraktle)
Assigned to: Nobody/Anonymous (nobody)
Summary: expose parsedExpression in ExpressionBinding

Initial Comment:
I would like to have access to the parsed OGNL
expression in an expression binding.

I wrote a ValidField-like component that introspects
the OGNL expression to determine validation metadata
(w/ jakarta commons attributes) about the bound
property. It would remove some performance overhead, if
I could reuse the parsed expression, instead of
re-parsing it.



----------------------------------------------------------------------

>Comment By: Howard Lewis Ship (hship)
Date: 2003-02-20 11:15

Message:
Logged In: YES 
user_id=26816

Tapestry uses a utility class, OgnlUtils, to parse OGNL 
expressions and cache the result.

Inside ExpressionBinding:

        _parsedExpression = OgnlUtils.getParsedExpression
(_expression);

ExpressionBinding provides an expression property (type 
String).  You can then invoke OgnlUtils.getParsedExpression
() to get the *same* parsed expression used in the binding.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=354754&aid=680593&group_id=4754


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to