Class CascadingValueBindingListener

java.lang.Object
org.eclnt.jsfserver.util.CascadingValueBindingListener
All Implemented Interfaces:
IValueBindingListener

public class CascadingValueBindingListener extends Object implements IValueBindingListener
Implementation if @link IValueBindingListener that notifies each level of a value binding expression that a property was set.

Example: if the expression of the value that is set is "#{d.d_1.ArticleUI.weight.value}" then a corresponding notification is sent to all objects:
"#{d.d_1.ArticleUI.weight}"
"#{d.d_1.ArticleUI}"
"#{d.d_1}"
"#{d}"


The notification is sent if the corresponding object supports interface ICascadingValueBindingListener.

Please pay attention: the notification is executed during the JSF set phase. I.e. during the set phase you are in the middle of a all set processing and may have an inconsistent data situation: some data already was set, some other properties are not set yet. In case you launch operations, that depend on a consistent data status: use PhaseManager to postpone the operation to a later point of time, e.g. end of set-phase, or begin of invoke-phase.
  • Constructor Details

    • CascadingValueBindingListener

      public CascadingValueBindingListener()
  • Method Details

    • reactoOnValueExpressionSet

      public void reactoOnValueExpressionSet(String expressionString, Object value)
      This method is called by the CaptainCasa value-set-processing. Internal usage only.
      Specified by:
      reactoOnValueExpressionSet in interface IValueBindingListener
      value - The value that was set.