Tabnine Logo
ExtractedValuesURLBuilder
Code IndexAdd Tabnine to your IDE (free)

How to use
ExtractedValuesURLBuilder
in
com.ocpsoft.pretty.faces.beans

Best Java code snippets using com.ocpsoft.pretty.faces.beans.ExtractedValuesURLBuilder (Showing top 12 results out of 315)

origin: ocpsoft/rewrite

public String _getActionURL(final FacesContext context, final String viewId)
{
 PrettyContext prettyContext = PrettyContext.getCurrentInstance(context);
 String result = null;
 if (prettyContext.isPrettyRequest() && (viewId != null)
      && viewId.equals(context.getViewRoot().getViewId()))
 {
   ExtractedValuesURLBuilder builder = new ExtractedValuesURLBuilder();
   UrlMapping mapping = prettyContext.getCurrentMapping();
   result = prettyContext.getContextPath() + builder.buildURL(mapping) + builder.buildQueryString(mapping);
 }
 return result;
}
origin: ocpsoft/prettyfaces

if (mapping != null)
  String target = contextPath + builder.buildURL(mapping).encode()
      + builder.buildQueryString(mapping);
  log.trace("Redirecting to mappingId [" + mapping.getId() + "], [" + target + "]");
  encodeURL(externalContext, config, target);
origin: ocpsoft/rewrite

if (mapping != null)
  String target = contextPath + builder.buildURL(mapping).encode()
      + builder.buildQueryString(mapping);
  log.trace("Redirecting to mappingId [" + mapping.getId() + "], [" + target + "]");
  encodeURL(externalContext, config, target);
origin: com.ocpsoft/prettyfaces-jsf2

@Override
public String getActionURL(final FacesContext context, final String viewId)
{
 /*
  * When this method is called for forms, getBookmarkableURL is NOT called; therefore, we have a way to distinguish
  * the two.
  */
 String result = parent.getActionURL(context, viewId);
 PrettyContext prettyContext = PrettyContext.getCurrentInstance(context);
 if (!isBookmarkable() && prettyContext.isPrettyRequest() && !prettyContext.isInNavigation() && (viewId != null)
      && viewId.equals(context.getViewRoot().getViewId()))
 {
   ExtractedValuesURLBuilder builder = new ExtractedValuesURLBuilder();
   UrlMapping mapping = prettyContext.getCurrentMapping();
   result = prettyContext.getContextPath() + builder.buildURL(mapping) + builder.buildQueryString(mapping);
 }
 return result;
}
origin: ocpsoft/prettyfaces

if (mapping != null)
  String target = contextPath + builder.buildURL(mapping).encode()
      + builder.buildQueryString(mapping);
  log.trace("Redirecting to mappingId [" + mapping.getId() + "], [" + target + "]");
  encodeURL(externalContext, config, target);
origin: com.ocpsoft/prettyfaces-jsf2

ExtractedValuesURLBuilder builder = new ExtractedValuesURLBuilder();
String contextPath = prettyContext.getContextPath();
String path = contextPath + builder.buildURL(mapping) + builder.buildQueryString(mapping);
origin: com.ocpsoft/prettyfaces-jsf2

if (mapping != null)
  String target = contextPath + builder.buildURL(mapping).encode()
      + builder.buildQueryString(mapping);
  log.trace("Redirecting to mappingId [" + mapping.getId() + "], [" + target + "]");
  encodeURL(externalContext, config, target);
origin: ocpsoft/rewrite

ExtractedValuesURLBuilder builder = new ExtractedValuesURLBuilder();
String contextPath = prettyContext.getContextPath();
String path = contextPath + builder.buildURL(mapping) + builder.buildQueryString(mapping);
origin: ocpsoft/prettyfaces

ExtractedValuesURLBuilder builder = new ExtractedValuesURLBuilder();
result = context.getContextPath() + builder.buildURL(urlMapping).encode()
     + builder.buildQueryString(urlMapping);
origin: com.ocpsoft/prettyfaces-jsf2

ExtractedValuesURLBuilder builder = new ExtractedValuesURLBuilder();
result = context.getContextPath() + builder.buildURL(urlMapping).encode()
     + builder.buildQueryString(urlMapping);
origin: ocpsoft/rewrite

ExtractedValuesURLBuilder builder = new ExtractedValuesURLBuilder();
result = context.getContextPath() + builder.buildURL(urlMapping).encode()
     + builder.buildQueryString(urlMapping);
origin: ocpsoft/prettyfaces

ExtractedValuesURLBuilder builder = new ExtractedValuesURLBuilder();
result = context.getContextPath() + builder.buildURL(urlMapping).encode()
     + builder.buildQueryString(urlMapping);
com.ocpsoft.pretty.faces.beansExtractedValuesURLBuilder

Most used methods

  • <init>
  • buildQueryString
  • buildURL
    For all required values of the given PrettyUrlMapping, extract values from their mapped backing bean

Popular in Java

  • Creating JSON documents from java classes using gson
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (Timer)
  • setContentView (Activity)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Path (java.nio.file)
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • CodeWhisperer alternatives
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