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

How to use
FacesElUtils
in
com.ocpsoft.pretty.faces.util

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

origin: ocpsoft/prettyfaces

if ((onError != null) && !"".equals(onError.trim()))
  if (elUtils.isEl(onError))
   Object result = elUtils.invokeMethod(context, onError);
   if (result == null)
origin: com.ocpsoft/prettyfaces-jsf2

   String el = param.getExpression().getELExpression();
   if (elUtils.getExpectedType(context, el).isArray())
      Object coerced = elUtils.coerceToType(context, el, values);
      for (String id : param.getValidatorIdList())
       elUtils.invokeMethod(context, param.getValidatorExpression().getELExpression(),
            new Class<?>[] { FacesContext.class, UIComponent.class, Object.class },
            new Object[] { context, new NullComponent(), coerced });
    if (value != null)
      Object coerced = elUtils.coerceToType(context, el, value);
      for (String id : param.getValidatorIdList())
       elUtils.invokeMethod(context, param.getValidatorExpression().getELExpression(),
            new Class<?>[] { FacesContext.class, UIComponent.class, Object.class },
            new Object[] { context, new NullComponent(), coerced });
    + elUtils.getExpectedType(context, currentParameter.getExpression().getELExpression()) + "]");
handleValidationFailure(context, message, currentParameter.getOnError());
origin: ocpsoft/prettyfaces

if (elUtils.getExpectedType(context, el).isArray())
  elUtils.setValue(context, el, values);
  Class<?> expectedType = elUtils.getExpectedType(context, el);
  Converter converter = context.getApplication().createConverter(expectedType);
   elUtils.setValue(context, el, convertedValue);
   elUtils.setValue(context, el, valueAsString);
origin: ocpsoft/prettyfaces

Object coerced = elUtils.coerceToType(context, param.getExpression().getELExpression(), value);
for (PathValidator pv : validators)
   elUtils.invokeMethod(context, pv.getValidatorExpression().getELExpression(),
       new Class<?>[] { FacesContext.class, UIComponent.class, Object.class },
       new Object[] { context, new NullComponent(), coerced });
origin: ocpsoft/prettyfaces

public Object invokeMethod(final FacesContext context, final String expression) throws ELException
{
 return invokeMethod(context, expression, new Class[] {}, null);
}
origin: com.ocpsoft/prettyfaces-jsf2

value = elUtils.getValue(context, expression);
origin: com.ocpsoft/prettyfaces-jsf2

param.setName(p.getName());
ValueExpression ve = elUtils.createValueExpression(context, p.getExpression().getELExpression());
param.setValueExpression("value", ve);
param.setImmediate(true);
param.setName(q.getName());
ValueExpression ve = elUtils.createValueExpression(context, q.getExpression().getELExpression());
param.setValueExpression("value", ve);
param.setImmediate(true);
origin: ocpsoft/prettyfaces

   String el = param.getExpression().getELExpression();
   if (elUtils.getExpectedType(context, el).isArray())
      Object coerced = elUtils.coerceToType(context, el, values);
      for (String id : param.getValidatorIdList())
       elUtils.invokeMethod(context, param.getValidatorExpression().getELExpression(),
            new Class<?>[] { FacesContext.class, UIComponent.class, Object.class },
            new Object[] { context, new NullComponent(), coerced });
    if (value != null)
      Object coerced = elUtils.coerceToType(context, el, value);
      for (String id : param.getValidatorIdList())
       elUtils.invokeMethod(context, param.getValidatorExpression().getELExpression(),
            new Class<?>[] { FacesContext.class, UIComponent.class, Object.class },
            new Object[] { context, new NullComponent(), coerced });
    + elUtils.getExpectedType(context, currentParameter.getExpression().getELExpression()) + "]");
handleValidationFailure(context, message, currentParameter.getOnError());
origin: ocpsoft/prettyfaces

if (elUtils.getExpectedType(context, el).isArray())
  elUtils.setValue(context, el, values);
  Class<?> expectedType = elUtils.getExpectedType(context, el);
  Converter converter = context.getApplication().createConverter(expectedType);
   elUtils.setValue(context, el, convertedValue);
   elUtils.setValue(context, el, valueAsString);
origin: com.ocpsoft/prettyfaces-jsf2

Object coerced = elUtils.coerceToType(context, param.getExpression().getELExpression(), value);
for (PathValidator pv : validators)
   elUtils.invokeMethod(context, pv.getValidatorExpression().getELExpression(),
       new Class<?>[] { FacesContext.class, UIComponent.class, Object.class },
       new Object[] { context, new NullComponent(), coerced });
origin: ocpsoft/prettyfaces

public Object invokeMethod(final FacesContext context, final String expression) throws ELException
{
 return invokeMethod(context, expression, new Class[] {}, null);
}
origin: ocpsoft/rewrite

value = elUtils.getValue(context, expression);
origin: ocpsoft/prettyfaces

   String el = param.getExpression().getELExpression();
   if (elUtils.getExpectedType(context, el).isArray())
      Object coerced = elUtils.coerceToType(context, el, values);
      for (String id : param.getValidatorIdList())
       elUtils.invokeMethod(context, param.getValidatorExpression().getELExpression(),
            new Class<?>[] { FacesContext.class, UIComponent.class, Object.class },
            new Object[] { context, new NullComponent(), coerced });
    if (value != null)
      Object coerced = elUtils.coerceToType(context, el, value);
      for (String id : param.getValidatorIdList())
       elUtils.invokeMethod(context, param.getValidatorExpression().getELExpression(),
            new Class<?>[] { FacesContext.class, UIComponent.class, Object.class },
            new Object[] { context, new NullComponent(), coerced });
    + elUtils.getExpectedType(context, currentParameter.getExpression().getELExpression()) + "]");
handleValidationFailure(context, message, currentParameter.getOnError());
origin: com.ocpsoft/prettyfaces-jsf2

if (elUtils.getExpectedType(context, el).isArray())
  elUtils.setValue(context, el, values);
  Class<?> expectedType = elUtils.getExpectedType(context, el);
  Converter converter = context.getApplication().createConverter(expectedType);
   elUtils.setValue(context, el, convertedValue);
   elUtils.setValue(context, el, valueAsString);
origin: com.ocpsoft/prettyfaces-jsf2

if ((onError != null) && !"".equals(onError.trim()))
  if (elUtils.isEl(onError))
   Object result = elUtils.invokeMethod(context, onError);
   if (result == null)
origin: ocpsoft/rewrite

Object coerced = elUtils.coerceToType(context, param.getExpression().getELExpression(), value);
for (PathValidator pv : validators)
   elUtils.invokeMethod(context, pv.getValidatorExpression().getELExpression(),
       new Class<?>[] { FacesContext.class, UIComponent.class, Object.class },
       new Object[] { context, new NullComponent(), coerced });
origin: com.ocpsoft/prettyfaces-jsf2

public Object invokeMethod(final FacesContext context, final String expression) throws ELException
{
 return invokeMethod(context, expression, new Class[] {}, null);
}
origin: ocpsoft/prettyfaces

value = elUtils.getValue(context, expression);
origin: ocpsoft/rewrite

   String el = param.getExpression().getELExpression();
   if (elUtils.getExpectedType(context, el).isArray())
      Object coerced = elUtils.coerceToType(context, el, values);
      for (String id : param.getValidatorIdList())
       elUtils.invokeMethod(context, param.getValidatorExpression().getELExpression(),
            new Class<?>[] { FacesContext.class, UIComponent.class, Object.class },
            new Object[] { context, new NullComponent(), coerced });
    if (value != null)
      Object coerced = elUtils.coerceToType(context, el, value);
      for (String id : param.getValidatorIdList())
       elUtils.invokeMethod(context, param.getValidatorExpression().getELExpression(),
            new Class<?>[] { FacesContext.class, UIComponent.class, Object.class },
            new Object[] { context, new NullComponent(), coerced });
    + elUtils.getExpectedType(context, currentParameter.getExpression().getELExpression()) + "]");
handleValidationFailure(context, message, currentParameter.getOnError());
origin: ocpsoft/rewrite

if (elUtils.getExpectedType(context, el).isArray())
  elUtils.setValue(context, el, values);
  Class<?> expectedType = elUtils.getExpectedType(context, el);
  Converter converter = context.getApplication().createConverter(expectedType);
   elUtils.setValue(context, el, convertedValue);
   elUtils.setValue(context, el, valueAsString);
com.ocpsoft.pretty.faces.utilFacesElUtils

Most used methods

  • coerceToType
  • getExpectedType
  • getValue
  • invokeMethod
  • isEl
  • setValue
  • createValueExpression

Popular in Java

  • Creating JSON documents from java classes using gson
  • onRequestPermissionsResult (Fragment)
  • requestLocationUpdates (LocationManager)
  • startActivity (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • JFileChooser (javax.swing)
  • JList (javax.swing)
  • Best plugins for Eclipse
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