private ClientBehavior createBehavior(FacesContext context) { Application application = context.getApplication(); // Re-create the instance via the Application AjaxBehavior behavior = (AjaxBehavior)application.createBehavior( AjaxBehavior.BEHAVIOR_ID); // And re-initialize its state behavior.restoreState(context, behaviorState); return behavior; }
private ClientBehavior createBehavior(FacesContext context) { Application application = context.getApplication(); // Re-create the instance via the Application AjaxBehavior behavior = (AjaxBehavior)application.createBehavior( AjaxBehavior.BEHAVIOR_ID); // And re-initialize its state behavior.restoreState(context, behaviorState); return behavior; }
private ClientBehavior createBehavior(FacesContext context) { Application application = context.getApplication(); // Re-create the instance via the Application AjaxBehavior behavior = (AjaxBehavior)application.createBehavior( AjaxBehavior.BEHAVIOR_ID); // And re-initialize its state behavior.restoreState(context, behaviorState); return behavior; }
private ClientBehavior createBehavior(FacesContext context) { Application application = context.getApplication(); // Re-create the instance via the Application AjaxBehavior behavior = (AjaxBehavior)application.createBehavior( AjaxBehavior.BEHAVIOR_ID); // And re-initialize its state behavior.restoreState(context, behaviorState); return behavior; }
@Override public void restoreState(FacesContext context, Object state) { getWrapped().restoreState(context, state); }
@Override public void restoreState(FacesContext context, Object state) { getWrapped().restoreState(context, state); }
@Override public void restoreState(FacesContext context, Object state) { getWrapped().restoreState(context, state); }
@Override public void restoreState(FacesContext context, Object state) { getWrapped().restoreState(context, state); }
@Override public void restoreState(FacesContext context, Object state) { getWrapped().restoreState(context, state); }