Codota Logo
com.ocpsoft.pretty.faces.beans
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: ocpsoft/prettyfaces

public void injectParameters(final FacesContext context)
{
 log.trace("Injecting parameters");
 PrettyContext prettyContext = PrettyContext.getCurrentInstance(context);
 URL url = prettyContext.getRequestURL();
 UrlMapping mapping = prettyContext.getCurrentMapping();
 if (mapping != null)
 {
   injectPathParams(context, url, mapping);
   injectQueryParams(context, mapping, prettyContext);
 }
}
origin: ocpsoft/prettyfaces

public void validateParameters(final FacesContext context)
{
 log.trace("Validating parameters.");
 PrettyContext prettyContext = PrettyContext.getCurrentInstance(context);
 URL url = prettyContext.getRequestURL();
 UrlMapping mapping = prettyContext.getCurrentMapping();
 if (mapping != null)
 {
   validatePathParams(context, url, mapping);
   validateQueryParams(context, mapping);
 }
}
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

validator.validateParameters(event.getFacesContext());
injector.injectParameters(event.getFacesContext());
origin: com.ocpsoft/prettyfaces-jsf2

  private void processEvent(final PhaseEvent event)
  {
   FacesContext context = event.getFacesContext();

   PrettyContext prettyContext = PrettyContext.getCurrentInstance(context);
   UrlMapping mapping = prettyContext.getCurrentMapping();
   if (mapping != null)
   {
     executor.executeActions(context, event.getPhaseId(), mapping);
   }
  }
}
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/rewrite

public void validateParameters(final FacesContext context)
{
 log.trace("Validating parameters.");
 PrettyContext prettyContext = PrettyContext.getCurrentInstance(context);
 URL url = prettyContext.getRequestURL();
 UrlMapping mapping = prettyContext.getCurrentMapping();
 if (mapping != null)
 {
   validatePathParams(context, url, mapping);
   validateQueryParams(context, mapping);
 }
}
origin: com.ocpsoft/prettyfaces-jsf2

public void injectParameters(final FacesContext context)
{
 log.trace("Injecting parameters");
 PrettyContext prettyContext = PrettyContext.getCurrentInstance(context);
 URL url = prettyContext.getRequestURL();
 UrlMapping mapping = prettyContext.getCurrentMapping();
 if (mapping != null)
 {
   injectPathParams(context, url, mapping);
   injectQueryParams(context, mapping, prettyContext);
 }
}
origin: com.ocpsoft/prettyfaces-jsf2

validator.validateParameters(event.getFacesContext());
injector.injectParameters(event.getFacesContext());
origin: ocpsoft/prettyfaces

  private void processEvent(final PhaseEvent event)
  {
   FacesContext context = event.getFacesContext();

   PrettyContext prettyContext = PrettyContext.getCurrentInstance(context);
   UrlMapping mapping = prettyContext.getCurrentMapping();
   if (mapping != null)
   {
     executor.executeActions(context, event.getPhaseId(), mapping);
   }
  }
}
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

public void validateParameters(final FacesContext context)
{
 log.trace("Validating parameters.");
 PrettyContext prettyContext = PrettyContext.getCurrentInstance(context);
 URL url = prettyContext.getRequestURL();
 UrlMapping mapping = prettyContext.getCurrentMapping();
 if (mapping != null)
 {
   validatePathParams(context, url, mapping);
   validateQueryParams(context, mapping);
 }
}
origin: ocpsoft/rewrite

public void injectParameters(final FacesContext context)
{
 log.trace("Injecting parameters");
 PrettyContext prettyContext = PrettyContext.getCurrentInstance(context);
 URL url = prettyContext.getRequestURL();
 UrlMapping mapping = prettyContext.getCurrentMapping();
 if (mapping != null)
 {
   injectPathParams(context, url, mapping);
   injectQueryParams(context, mapping, prettyContext);
 }
}
origin: ocpsoft/rewrite

validator.validateParameters(event.getFacesContext());
injector.injectParameters(event.getFacesContext());
origin: ocpsoft/prettyfaces

  private void processEvent(final PhaseEvent event)
  {
   FacesContext context = event.getFacesContext();

   PrettyContext prettyContext = PrettyContext.getCurrentInstance(context);
   UrlMapping mapping = prettyContext.getCurrentMapping();
   if (mapping != null)
   {
     executor.executeActions(context, event.getPhaseId(), mapping);
   }
  }
}
origin: ocpsoft/rewrite

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

public void validateParameters(final FacesContext context)
{
 log.trace("Validating parameters.");
 PrettyContext prettyContext = PrettyContext.getCurrentInstance(context);
 URL url = prettyContext.getRequestURL();
 UrlMapping mapping = prettyContext.getCurrentMapping();
 if (mapping != null)
 {
   validatePathParams(context, url, mapping);
   validateQueryParams(context, mapping);
 }
}
origin: ocpsoft/prettyfaces

public void injectParameters(final FacesContext context)
{
 log.trace("Injecting parameters");
 PrettyContext prettyContext = PrettyContext.getCurrentInstance(context);
 URL url = prettyContext.getRequestURL();
 UrlMapping mapping = prettyContext.getCurrentMapping();
 if (mapping != null)
 {
   injectPathParams(context, url, mapping);
   injectQueryParams(context, mapping, prettyContext);
 }
}
origin: ocpsoft/prettyfaces

validator.validateParameters(event.getFacesContext());
injector.injectParameters(event.getFacesContext());
origin: ocpsoft/rewrite

  private void processEvent(final PhaseEvent event)
  {
   FacesContext context = event.getFacesContext();

   PrettyContext prettyContext = PrettyContext.getCurrentInstance(context);
   UrlMapping mapping = prettyContext.getCurrentMapping();
   if (mapping != null)
   {
     executor.executeActions(context, event.getPhaseId(), mapping);
   }
  }
}
com.ocpsoft.pretty.faces.beans

Most used classes

  • ActionExecutor
  • ExtractedValuesURLBuilder
  • ParameterInjector
  • ParameterValidator
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