congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ViewHandler.initView
Code IndexAdd Tabnine to your IDE (free)

How to use
initView
method
in
javax.faces.application.ViewHandler

Best Java code snippets using javax.faces.application.ViewHandler.initView (Showing top 20 results out of 315)

origin: com.sun.faces/jsf-impl

/**
 * 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);
}
origin: org.jboss.seam/jboss-seam

@Override
public void initView(FacesContext context) throws FacesException
{
 viewHandler.initView(context);
}
origin: org.glassfish/jakarta.faces

/**
 * 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);
}
origin: org.glassfish/javax.faces

/**
 * 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);
}
origin: com.ocpsoft/prettyfaces-jsf2

@Override
public void initView(final FacesContext context) throws FacesException
{
 parent.initView(context);
}
origin: org.ocpsoft.rewrite/rewrite-integration-faces

  @Override
  public void initView(final FacesContext context) throws FacesException
  {
   parent.initView(context);
  }
}
origin: org.apache.myfaces.core/myfaces-api

@Override
public void initView(FacesContext context) throws FacesException
{
  getWrapped().initView(context);
}
origin: javax/javaee-web-api

/**
 * <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);
}
origin: com.sun.faces/jsf-api

/**
 * <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);
}

origin: org.springframework.webflow/spring-faces

private ViewHandler getViewHandler(FacesContext facesContext) {
  ViewHandler viewHandler = facesContext.getApplication().getViewHandler();
  viewHandler.initView(facesContext);
  return viewHandler;
}
origin: org.apache.myfaces.core.internal/myfaces-shaded-impl

@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);
}
origin: jboss/jboss-javaee-specs

/**
 * <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);
}
origin: com.sun.faces/jsf-impl

/**
 * 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);
  }
  
}
origin: javax.faces/javax.faces-api

/**
 * <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);
}
origin: spring-projects/spring-webflow

private ViewHandler getViewHandler(FacesContext facesContext) {
  ViewHandler viewHandler = facesContext.getApplication().getViewHandler();
  viewHandler.initView(facesContext);
  return viewHandler;
}
origin: org.jboss.spec.javax.faces/jboss-jsf-api_2.0_spec

/**
 * <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);
}

origin: org.apache.myfaces.core/myfaces-shaded-impl

@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);
}
origin: org.glassfish/javax.faces

@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);
}
origin: com.sun.faces/jsf-impl

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);
}
origin: eclipse-ee4j/mojarra

@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);
}
javax.faces.applicationViewHandlerinitView

Javadoc

Initialize the view for the request processing lifecycle.

This method must be called at the beginning of the Restore View Phase of the Request Processing Lifecycle. It is responsible for performing any per-request initialization necessary to the operation of the lifycecle.

The default implementation must perform the following actions. If ExternalContext#getRequestCharacterEncoding returns null, call #calculateCharacterEncoding and pass the result, if non-null, into the ExternalContext#setRequestCharacterEncoding method. If ExternalContext#getRequestCharacterEncoding returns non-null take no action.

Popular methods of ViewHandler

  • getActionURL
    If the value returned from this method is used as the file argument to the four-argument constructor
  • createView
    Create and return a new UIViewRoot instance initialized with information from the argument FacesCont
  • getResourceURL
    If the value returned from this method is used as the file argument to the four-argument constructor
  • restoreView
    Perform whatever actions are required to restore the view associated with the specified FacesContext
  • calculateRenderKitId
    Return an appropriate renderKitId for this and subsequent requests from the current client. It is an
  • calculateLocale
    Returns an appropriate Locale to use for this and subsequent requests for the current client.
  • writeState
    Take any appropriate action to either immediately write out the current state information (by callin
  • renderView
    Perform whatever actions are required to render the response view to the response object associated
  • getBookmarkableURL
    Return a JSF action URL derived from the viewId argument that is suitable to be used as the target
  • getViewDeclarationLanguage
    Return the ViewDeclarationLanguage instance used for this ViewHandler instance. The default impleme
  • getRedirectURL
    Return a JSF action URL derived from the viewId argument that is suitable to be used by the Navigat
  • calculateCharacterEncoding
    Returns the correct character encoding to be used for this request. The following algorithm is empl
  • getRedirectURL,
  • calculateCharacterEncoding,
  • deriveViewId,
  • deriveLogicalViewId,
  • getProtectedViewsUnmodifiable,
  • addProtectedView,
  • getViews,
  • getWebsocketURL,
  • removeProtectedView

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JLabel (javax.swing)
  • JPanel (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now