Hi,
IMethodBindingListener allows to centrally register objects that are notified with every roundtrip, that an action listener was called.
We now want to extend the usage of this interface, so that when processing an action event, the whole "expression-stack" is checked for objects support IMethodBindingListener.
Example:
Code:
When the expression #{d.d_1.XYZUI.onXyz} is called then the following objects are checked if they support IMethodBindingListener:
#{d.d_1.XYZUI}
#{d.d_1}
#{d}
If the object(s) support IMethodBindingListener then they are called correspondingly. IMethodBindingListener contains:
Code:
public interface IMethodBindingListener
{
public boolean reactOnActionListenerInvokeBefore(MethodBinding mb, ActionEvent event);
public void reactOnActionListenerInvokeAfter(MethodBinding mb, ActionEvent event);
}
Now, introducing this automated expression-stack-calling could potencially conflict with objects that you so far registered centrally.
Example: if you registered the #{d} object with the exisiting central registration, then #{d} is called twice.
Could you please check if this is the case? If yes, then we would define an additional interface. But maybe we can use the same one and reduce the amount of interfaces...
Thanks! Björn