congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ViewHandler.calculateRenderKitId
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.jboss.seam/jboss-seam

@Override
public String calculateRenderKitId(FacesContext ctx)
{
 return viewHandler.calculateRenderKitId(ctx);
}
origin: ocpsoft/rewrite

@Override
public String calculateRenderKitId(final FacesContext facesContext)
{
 return parent.calculateRenderKitId(facesContext);
}
origin: org.ocpsoft.rewrite/rewrite-integration-faces

@Override
public String calculateRenderKitId(final FacesContext facesContext)
{
 return parent.calculateRenderKitId(facesContext);
}
origin: com.ocpsoft/prettyfaces-jsf2

@Override
public String calculateRenderKitId(final FacesContext facesContext)
{
 return parent.calculateRenderKitId(facesContext);
}
origin: org.apache.myfaces.orchestra/myfaces-orchestra-core

public String calculateRenderKitId(FacesContext context)
{
  return original.calculateRenderKitId(context);
}
origin: org.apache.shale/shale-clay

/**
 * @param context faces context
 * @return render kit id calculated from the original handler
 */
public String calculateRenderKitId(FacesContext context) {
  return original.calculateRenderKitId(context);
}
origin: org.apache.myfaces.core/myfaces-api

@Override
public String calculateRenderKitId(FacesContext context)
{
  return getWrapped().calculateRenderKitId(context);
}
origin: javax.faces/javax.faces-api

/**
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#calculateRenderKitId(javax.faces.context.FacesContext)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#calculateRenderKitId(javax.faces.context.FacesContext)
 * @since 1.2
 */
@Override
public String calculateRenderKitId(FacesContext context) {
  return getWrapped().calculateRenderKitId(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#calculateRenderKitId(javax.faces.context.FacesContext)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#calculateRenderKitId(javax.faces.context.FacesContext)
 * @since 1.2
 */
public String calculateRenderKitId(FacesContext context) {
  return getWrapped().calculateRenderKitId(context);
}
origin: sakaiproject/sakai

public String calculateRenderKitId(FacesContext arg0)
{
  return getWrapped().calculateRenderKitId(arg0);
}

origin: javax/javaee-web-api

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

/**
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#calculateRenderKitId(javax.faces.context.FacesContext)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#calculateRenderKitId(javax.faces.context.FacesContext)
 * @since 1.2
 */
@Override
public String calculateRenderKitId(FacesContext context) {
  return getWrapped().calculateRenderKitId(context);
}
origin: javax.faces/com.springsource.javax.faces

/**
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#calculateRenderKitId(javax.faces.context.FacesContext)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#calculateRenderKitId(javax.faces.context.FacesContext)
 * @since 1.2
 */
public String calculateRenderKitId(FacesContext context) {
  return getWrapped().calculateRenderKitId(context);
}
origin: jboss/jboss-javaee-specs

/**
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#calculateRenderKitId(javax.faces.context.FacesContext)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#calculateRenderKitId(javax.faces.context.FacesContext)
 * @since 1.2
 */
@Override
public String calculateRenderKitId(FacesContext context) {
  return getWrapped().calculateRenderKitId(context);
}
origin: org.apache.myfaces/com.springsource.org.apache.myfaces

  public boolean isPostback(FacesContext facesContext)
  {
    ViewHandler viewHandler = facesContext.getApplication().getViewHandler();
    String renderkitId = viewHandler.calculateRenderKitId(facesContext);
    ResponseStateManager rsm = RendererUtils.getResponseStateManager(facesContext, renderkitId);
    return rsm.isPostback(facesContext);
  }
}
origin: org.apache.myfaces.core/myfaces-shaded-impl

public boolean isPostback(FacesContext facesContext)
{
  ViewHandler viewHandler = facesContext.getApplication().getViewHandler();
  String renderkitId = viewHandler.calculateRenderKitId(facesContext);
  ResponseStateManager rsm = RendererUtils.getResponseStateManager(facesContext, renderkitId);
  return rsm.isPostback(facesContext);
}
  
origin: org.apache.myfaces.core/myfaces-impl

public boolean isPostback(FacesContext facesContext)
{
  ViewHandler viewHandler = facesContext.getApplication().getViewHandler();
  String renderkitId = viewHandler.calculateRenderKitId(facesContext);
  ResponseStateManager rsm
      = getRenderKitFactory().getRenderKit(facesContext, renderkitId).getResponseStateManager();
  return rsm.isPostback(facesContext);
}

origin: org.apache.myfaces/com.springsource.org.apache.myfaces

/**
 * Just invoke StateManager.restoreView.
 */
public UIViewRoot restoreView(FacesContext facesContext, String viewId)
{
  Application application = facesContext.getApplication();
  ViewHandler applicationViewHandler = application.getViewHandler();
  String renderKitId = applicationViewHandler.calculateRenderKitId(facesContext);
  String calculatedViewId = getViewHandlerSupport().calculateViewId(facesContext, viewId);
  UIViewRoot viewRoot = application.getStateManager().restoreView(facesContext, calculatedViewId, renderKitId);
  return viewRoot;
}
origin: org.jboss.seam/jboss-seam

public MockFacesContext createViewRoot()
{
 viewRoot = new UIViewRoot();
 viewRoot.setRenderKitId(getApplication().getViewHandler().calculateRenderKitId(this));
 return this;
}
origin: org.jboss.test-jsf/jsf-mock

public StubFacesContext createViewRoot()
{
 viewRoot = new UIViewRoot();
 viewRoot.setRenderKitId(getApplication().getViewHandler().calculateRenderKitId(this));
 return this;
}
javax.faces.applicationViewHandlercalculateRenderKitId

Javadoc

Return an appropriate renderKitId for this and subsequent requests from the current client. It is an error for this method to return null.

The default return value is javax.faces.render.RenderKitFactory#HTML_BASIC_RENDER_KIT.

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
  • 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
  • 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

  • Making http requests using okhttp
  • putExtra (Intent)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setContentView (Activity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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