/** * Call the default implementation of {@link javax.faces.application.ViewHandler#initView(javax.faces.context.FacesContext)} * * @see javax.faces.application.ViewHandler#initView(javax.faces.context.FacesContext) */ @Override public void initView(FacesContext context) throws FacesException { super.initView(context); }
@Override public void initView(FacesContext context) throws FacesException { viewHandler.initView(context); }
/** * Call the default implementation of {@link javax.faces.application.ViewHandler#initView(javax.faces.context.FacesContext)} * * @see javax.faces.application.ViewHandler#initView(javax.faces.context.FacesContext) */ @Override public void initView(FacesContext context) throws FacesException { super.initView(context); }
/** * Call the default implementation of {@link javax.faces.application.ViewHandler#initView(javax.faces.context.FacesContext)} * * @see javax.faces.application.ViewHandler#initView(javax.faces.context.FacesContext) */ @Override public void initView(FacesContext context) throws FacesException { super.initView(context); }
@Override public void initView(final FacesContext context) throws FacesException { parent.initView(context); }
@Override public void initView(final FacesContext context) throws FacesException { parent.initView(context); } }
@Override public void initView(FacesContext context) throws FacesException { getWrapped().initView(context); }
/** * <p>The default behavior of this method is to * call {@link ViewHandler#initView} * on the wrapped {@link ViewHandler} object.</p> * * @see ViewHandler#initView * @since 1.2 */ @Override public void initView(FacesContext context) throws FacesException { getWrapped().initView(context); }
/** * <p>The default behavior of this method is to * call {@link ViewHandler#initView} * on the wrapped {@link ViewHandler} object.</p> * * @see ViewHandler#initView * @since 1.2 */ @Override public void initView(FacesContext context) throws FacesException { getWrapped().initView(context); }
private ViewHandler getViewHandler(FacesContext facesContext) { ViewHandler viewHandler = facesContext.getApplication().getViewHandler(); viewHandler.initView(facesContext); return viewHandler; }
@Override public void doPrePhaseActions(FacesContext facesContext) { // Call initView() on the ViewHandler. // This will set the character encoding properly for this request. // Note that we are doing this here, because we need the character encoding // to be set as early as possible (before any PhaseListener is executed). facesContext.getApplication().getViewHandler().initView(facesContext); }
/** * <p>The default behavior of this method is to * call {@link ViewHandler#initView} * on the wrapped {@link ViewHandler} object.</p> * * @see ViewHandler#initView * @since 1.2 */ @Override public void initView(FacesContext context) throws FacesException { getWrapped().initView(context); }
/** * Do not call the default implementation of {@link ViewHandler#initView(javax.faces.context.FacesContext)} * if the {@link javax.faces.context.ExternalContext#getRequestCharacterEncoding()} returns a * <code>non-null</code> result. * * @see ViewHandler#initView(javax.faces.context.FacesContext) */ @Override public void initView(FacesContext context) throws FacesException { if (context.getExternalContext().getRequestCharacterEncoding() == null) { super.initView(context); } }
/** * <p>The default behavior of this method is to * call {@link ViewHandler#initView} * on the wrapped {@link ViewHandler} object.</p> * * @see ViewHandler#initView * @since 1.2 */ @Override public void initView(FacesContext context) throws FacesException { getWrapped().initView(context); }
private ViewHandler getViewHandler(FacesContext facesContext) { ViewHandler viewHandler = facesContext.getApplication().getViewHandler(); viewHandler.initView(facesContext); return viewHandler; }
/** * <p>The default behavior of this method is to * call {@link ViewHandler#initView} * on the wrapped {@link ViewHandler} object.</p> * * @see ViewHandler#initView * @since 1.2 */ public void initView(FacesContext context) throws FacesException { getWrapped().initView(context); }
@Override public void doPrePhaseActions(FacesContext facesContext) { // Call initView() on the ViewHandler. // This will set the character encoding properly for this request. // Note that we are doing this here, because we need the character encoding // to be set as early as possible (before any PhaseListener is executed). facesContext.getApplication().getViewHandler().initView(facesContext); }
@Override public void doPhase(FacesContext context, Lifecycle lifecycle, ListIterator<PhaseListener> listeners) { Util.getViewHandler(context).initView(context); super.doPhase(context, lifecycle, listeners); // Notify View Root after phase listener (if registered) notifyAfter(context, lifecycle); }
public void doPhase(FacesContext context, Lifecycle lifecycle, ListIterator<PhaseListener> listeners) { Util.getViewHandler(context).initView(context); super.doPhase(context, lifecycle, listeners); // Notify View Root after phase listener (if registered) notifyAfter(context, lifecycle); }
@Override public void doPhase(FacesContext context, Lifecycle lifecycle, ListIterator<PhaseListener> listeners) { Util.getViewHandler(context).initView(context); super.doPhase(context, lifecycle, listeners); // Notify View Root after phase listener (if registered) notifyAfter(context, lifecycle); }