Codota Logo
ViewHandler.writeState
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain ViewHandler
private void myMethod () {
ViewHandler v =
  • Codota IconFacesContext facesContext;facesContext.getApplication().getViewHandler()
  • Codota IconApplication application;application.getViewHandler()
  • Codota IconApplicationWrapper applicationWrapper;applicationWrapper.getWrapped().getViewHandler()
  • Smart code suggestions by Codota
}
origin: sakaiproject/sakai

  public void writeState(FacesContext arg0) throws IOException
  {
    m_wrapped.writeState(arg0);
  }
}
origin: org.jboss.seam/jboss-seam

@Override
public void writeState(FacesContext ctx) throws IOException
{
 viewHandler.writeState(ctx);
}
origin: com.ocpsoft/prettyfaces-jsf2

@Override
public void writeState(final FacesContext facesContext) throws IOException
{
 parent.writeState(facesContext);
}
origin: org.apache.myfaces.orchestra/myfaces-orchestra-core

public void writeState(FacesContext context)
  throws IOException
{
  original.writeState(context);
}
origin: ocpsoft/rewrite

@Override
public void writeState(final FacesContext facesContext) throws IOException
{
 parent.writeState(facesContext);
}
origin: org.apache.shale/shale-clay

/**
 * <p>Invokes the original view handler's writeState.</p>
 *
 * @param context faces context
 * @exception IOException serializing tree
 */
public void writeState(FacesContext context) throws IOException {
  original.writeState(context);
}
origin: org.apache.shale/shale-tiles

/**
* <p>Pass through to the default view handler.</p>
* 
*/
public void writeState(FacesContext context) throws IOException {
 defaultViewHandler.writeState(context);
}
origin: org.ocpsoft.rewrite/rewrite-integration-faces

@Override
public void writeState(final FacesContext facesContext) throws IOException
{
 parent.writeState(facesContext);
}
origin: javax/javaee-web-api

/**
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#writeState(javax.faces.context.FacesContext)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#writeState(javax.faces.context.FacesContext)
 * @since 1.2
 */
@Override
public void writeState(FacesContext context) throws IOException {
  getWrapped().writeState(context);
}
origin: com.sun.faces/jsf-api

/**
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#writeState(javax.faces.context.FacesContext)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#writeState(javax.faces.context.FacesContext)
 * @since 1.2
 */
@Override
public void writeState(FacesContext context) throws IOException {
getWrapped().writeState(context);
}
origin: org.apache.myfaces.core/myfaces-api

@Override
public void writeState(FacesContext context) throws IOException
{
  getWrapped().writeState(context);
}
origin: javax.faces/javax.faces-api

/**
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#writeState(javax.faces.context.FacesContext)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#writeState(javax.faces.context.FacesContext)
 * @since 1.2
 */
@Override
public void writeState(FacesContext context) throws IOException {
  getWrapped().writeState(context);
}
origin: org.richfaces.ui/richfaces-components-ui

/**
 * Write state saving markers to context, include MyFaces view sequence.
 *
 * @param context
 * @throws IOException
 */
public static void writeState(FacesContext context) throws IOException {
  context.getApplication().getViewHandler().writeState(context);
}
origin: org.jboss.spec.javax.faces/jboss-jsf-api_2.0_spec

/**
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#writeState(javax.faces.context.FacesContext)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#writeState(javax.faces.context.FacesContext)
 * @since 1.2
 */
public void writeState(FacesContext context) throws IOException {
getWrapped().writeState(context);
}
origin: com.github.albfernandez.richfaces/richfaces-a4j

/**
 * Write state saving markers to context, include MyFaces view sequence.
 *
 * @param context
 * @throws IOException
 */
public static void writeState(FacesContext context) throws IOException {
  context.getApplication().getViewHandler().writeState(context);
}
origin: org.richfaces.ui.common/richfaces-ui-common-ui

/**
 * Write state saving markers to context, include MyFaces view sequence.
 *
 * @param context
 * @throws IOException
 */
public static void writeState(FacesContext context) throws IOException {
  context.getApplication().getViewHandler().writeState(context);
}
origin: javax.faces/com.springsource.javax.faces

/**
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#writeState(javax.faces.context.FacesContext)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#writeState(javax.faces.context.FacesContext)
 * @since 1.2
 */
public void writeState(FacesContext context) throws IOException {
getWrapped().writeState(context);
}
origin: org.apache.myfaces.tomahawk/tomahawk

protected void writeFormEnd(ResponseWriter writer,
              FacesContext facesContext)
  throws IOException
{
  //write state marker
  ViewHandler viewHandler = facesContext.getApplication().getViewHandler();
  viewHandler.writeState(facesContext);
  writer.endElement(HTML.FORM_ELEM);
}
origin: frenchc/jetm

 @Override
 public void writeState(FacesContext aFacesContext) throws IOException {
  EtmPoint point = EtmManager.getEtmMonitor().createPoint("Write state");
  try {
   delegate.writeState(aFacesContext);
  } finally {
   point.collect();
  }
 }
}
origin: org.seasar.teeda/teeda-core

protected void encodeHtmlFormEnd(FacesContext context, HtmlForm htmlForm)
    throws IOException {
  context.getApplication().getViewHandler().writeState(context);
  ResponseWriter writer = context.getResponseWriter();
  renderFormSubmitMarker(context, htmlForm, writer);
  renderForCommandLink(context, htmlForm, writer);
  writer.endElement(JsfConstants.FORM_ELEM);
}
javax.faces.applicationViewHandlerwriteState

Javadoc

Take any appropriate action to either immediately write out the current state information (by calling StateManager#writeState, or noting where state information should later be written.

This method must do nothing if the current request is an Ajax request. When responding to Ajax requests, the state is obtained by calling StateManager#getViewState and then written into the Ajax response during final encoding ( javax.faces.context.PartialViewContext#processPartial(javax.faces.event.PhaseId)) .

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.
  • renderView
    Perform whatever actions are required to render the response view to the response object associated
  • initView
    Initialize the view for the request processing lifecycle. This method must be called at the beginni
  • 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

  • Parsing JSON documents to java classes using gson
  • runOnUiThread (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • Menu (java.awt)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now