[
https://issues.apache.org/jira/browse/TAPESTRY-906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesse Kuhnert updated TAPESTRY-906:
-----------------------------------
Fix Version/s: (was: 4.1.3)
4.1.4
> Make the
> org.apache.tapestry.services.impl.ExpressionEvaluatorImpl.createContext()
> method public/protected
> ----------------------------------------------------------------------------------------------------------
>
> Key: TAPESTRY-906
> URL: https://issues.apache.org/jira/browse/TAPESTRY-906
> Project: Tapestry
> Issue Type: Improvement
> Components: Framework
> Affects Versions: 4.0.1
> Reporter: B.S.Navin
> Priority: Minor
> Fix For: 4.1.4
>
>
> I have my own OGNL property accessor to handle nulls in my object graph. But
> I have some logic in it, which needs to know if the root ognl operation was a
> set/get.
> OGNL provides a feature called "traceEvaluations" in which we call
> "setTraceEvaluations(true)" on the OgnlContext and the property accessor is
> provided with the evaluation. Using this evaaluation, it is possible to find
> if the root ognl operation was a set/get.
> Tapestry creates the OgnlContext in the
> org.apache.tapestry.services.impl.ExpressionEvaluatorImpl.createContext()
> method. As it is currently private, I had no choice but to duplicate the
> class source in my own class, add the required line and replace it as the
> implementation of the ExpressionEvaluator service.
> It would be good if it is made protected/public. Then I can subclass it /
> intercept the createContext() method and do my stuff.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]