congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
ViewHandler.getBookmarkableURL
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: primefaces/primefaces

String url = context.getApplication().getViewHandler().getBookmarkableURL(context, toViewId, params, includeViewParams);
url = EscapeUtils.forJavaScript(url);
origin: primefaces/primefaces

url = context.getApplication().getViewHandler().getBookmarkableURL(context, toViewId, params, isIncludeViewParams);
origin: frenchc/jetm

@Override
public String getBookmarkableURL(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) {
 return delegate.getBookmarkableURL(context, viewId, parameters, includeViewParams);
}
origin: org.apache.myfaces.extensions.scripting/extscript-core

@Override
public String getBookmarkableURL(FacesContext facesContext, String s, Map<String, List<String>> stringListMap, boolean b) {
  return super.getBookmarkableURL(facesContext, s, stringListMap, b);
}
origin: org.jboss.seam/jboss-seam

@Override
public String getBookmarkableURL(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams)
{
 try
 {
   source.set(Source.BOOKMARKABLE);
   return viewHandler.getBookmarkableURL(context, viewId, parameters, includeViewParams);
 }
 finally
 {
   source.remove();
 }
}
origin: com.sun.faces/jsf-impl

@Override
public String getBookmarkableURL(FacesContext context,
                 String viewId,
                 Map<String,List<String>> parameters,
                 boolean includeViewParams) {
  return getGroovyDelegate().getBookmarkableURL(context,
                         viewId,
                         parameters,
                         includeViewParams);
}
origin: javax/javaee-web-api

/**
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)
 * @since 2.0
 */
@Override
public String getBookmarkableURL(FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams) {
  return getWrapped().getBookmarkableURL(context, viewId, parameters, includeViewParams);
}
origin: javax.faces/javax.faces-api

/**
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)
 * @since 2.0
 */
@Override
public String getBookmarkableURL(FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams) {
  return getWrapped().getBookmarkableURL(context, viewId, parameters, includeViewParams);
}
origin: org.apache.myfaces.core/myfaces-api

@Override
public String getBookmarkableURL(FacesContext context, String viewId,
    Map<String, List<String>> parameters, boolean includeViewParams)
{
  return getWrapped().getBookmarkableURL(context, viewId, parameters, includeViewParams);
}
origin: jboss/jboss-javaee-specs

/**
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)
 * @since 2.0
 */
@Override
public String getBookmarkableURL(FacesContext context, String viewId, Map<String,List<String>> parameters, boolean includeViewParams) {
  return getWrapped().getBookmarkableURL(context, viewId, parameters, includeViewParams);
}
origin: org.glassfish/javax.faces

/**
 * <p>
 * The default behavior of this method is to call
 * {@link ViewHandler#getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)}
 * on the wrapped {@link ViewHandler} object.
 * </p>
 *
 * @see ViewHandler#getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map,
 *      boolean)
 * @since 2.0
 */
@Override
public String getBookmarkableURL(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) {
  return getWrapped().getBookmarkableURL(context, viewId, parameters, includeViewParams);
}
origin: org.glassfish/jakarta.faces

/**
 * <p>
 * The default behavior of this method is to call
 * {@link ViewHandler#getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)}
 * on the wrapped {@link ViewHandler} object.
 * </p>
 *
 * @see ViewHandler#getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map,
 *      boolean)
 * @since 2.0
 */
@Override
public String getBookmarkableURL(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) {
  return getWrapped().getBookmarkableURL(context, viewId, parameters, includeViewParams);
}
origin: eclipse-ee4j/mojarra

/**
 * <p>
 * The default behavior of this method is to call
 * {@link ViewHandler#getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)}
 * on the wrapped {@link ViewHandler} object.
 * </p>
 *
 * @see ViewHandler#getBookmarkableURL(javax.faces.context.FacesContext, String, java.util.Map,
 *      boolean)
 * @since 2.0
 */
@Override
public String getBookmarkableURL(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) {
  return getWrapped().getBookmarkableURL(context, viewId, parameters, includeViewParams);
}
origin: org.jboss.seam/jboss-seam-ui

@Override
public String getEncodedUrl() 
{
  FacesContext facesContext = FacesContext.getCurrentInstance();
  return facesContext.getApplication().getViewHandler().getBookmarkableURL(facesContext, this.viewId, getParametersAsMap(getParameters()), false);
}
origin: com.ocpsoft/prettyfaces-jsf2

@Override
public String getBookmarkableURL(final FacesContext context, final String viewId,
    final Map<String, List<String>> parameters, final boolean includeViewParams)
{
 /*
  * When this method is called for <h:link> tags, getActionURL is called as part of the parent call
  */
 setBookmarkable(true);
 String result = parent.getBookmarkableURL(context, viewId, parameters, includeViewParams);
 setBookmarkable(false);
 return result;
}
origin: org.ocpsoft.rewrite/rewrite-integration-faces

@Override
public String getBookmarkableURL(final FacesContext context, final String viewId,
    final Map<String, List<String>> parameters, final boolean includeViewParams)
{
 /*
  * When this method is called for <h:link> tags, getActionURL is called as part of the parent call
  */
 setBookmarkable(true);
 String result = parent.getBookmarkableURL(context, viewId, parameters, includeViewParams);
 setBookmarkable(false);
 return result;
}
origin: ocpsoft/rewrite

@Override
public String getBookmarkableURL(final FacesContext context, final String viewId,
    final Map<String, List<String>> parameters, final boolean includeViewParams)
{
 /*
  * When this method is called for <h:link> tags, getActionURL is called as part of the parent call
  */
 setBookmarkable(true);
 String result = parent.getBookmarkableURL(context, viewId, parameters, includeViewParams);
 setBookmarkable(false);
 return result;
}
origin: omnifaces/omnifaces

/**
 * @see Faces#getBookmarkableURL(String, Collection, boolean)
 */
public static String getBookmarkableURL
  (FacesContext context, String viewId, Collection<? extends ParamHolder<?>> params, boolean includeViewParams)
{
  Map<String, List<String>> map = new HashMap<>();
  if (params != null) {
    for (ParamHolder<?> param : params) {
      addParamToMapIfNecessary(map, param.getName(), param.getValue());
    }
  }
  return context.getApplication().getViewHandler().getBookmarkableURL(context, viewId, map, includeViewParams);
}
origin: org.omnifaces/omnifaces

/**
 * @see Faces#getBookmarkableURL(String, Collection, boolean)
 */
public static String getBookmarkableURL
  (FacesContext context, String viewId, Collection<? extends ParamHolder<?>> params, boolean includeViewParams)
{
  Map<String, List<String>> map = new HashMap<>();
  if (params != null) {
    for (ParamHolder<?> param : params) {
      addParamToMapIfNecessary(map, param.getName(), param.getValue());
    }
  }
  return context.getApplication().getViewHandler().getBookmarkableURL(context, viewId, map, includeViewParams);
}
origin: org.apache.myfaces.core/myfaces-api

public URL getBookmarkableURL(FacesContext context) throws MalformedURLException
{
  ExternalContext externalContext = context.getExternalContext();
  return new URL(externalContext.getRequestScheme(),
      externalContext.getRequestServerName(),
      externalContext.getRequestServerPort(),
      context.getApplication().getViewHandler().getBookmarkableURL(context, getToViewId(context), 
          _NavigationUtils.getEvaluatedNavigationParameters(context,
             getParameters()), isIncludeViewParams()));
}
javax.faces.applicationViewHandlergetBookmarkableURL

Javadoc

Return a JSF action URL derived from the viewId argument that is suitable to be used as the target of a link in a JSF response. Compiliant implementations must implement this method as specified in section JSF.7.6.2. The default implementation simply calls through to #getActionURL, passing the arguments context and viewId.

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
  • initView
    Initialize the view for the request processing lifecycle. This method must be called at the beginni
  • 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
  • scheduleAtFixedRate (Timer)
  • getSupportFragmentManager (FragmentActivity)
  • setRequestProperty (URLConnection)
  • Menu (java.awt)
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • JFileChooser (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
  • 21 Best IntelliJ Plugins
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