Codota Logo
ViewHandler.calculateRenderKitId
Code IndexAdd Codota 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)

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

  • Reactive rest calls using spring rest template
  • startActivity (Activity)
  • onRequestPermissionsResult (Fragment)
  • orElseThrow (Optional)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • JPanel (javax.swing)
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