/** * Return whether or not this Mapping requires DynaView capabilities * * @return True if using DynaView, false if not */ public boolean isDynaView() { return Expressions.isEL(viewId); }
/** * Return whether or not this Mapping requires DynaView capabilities * * @return True if using DynaView, false if not */ public boolean isDynaView() { return Expressions.isEL(viewId); }
/** * Return whether or not this Mapping requires DynaView capabilities * * @return True if using DynaView, false if not */ public boolean isDynaView() { return Expressions.isEL(viewId); }
/** * Return whether or not this Mapping requires DynaView capabilities * * @return True if using DynaView, false if not */ public boolean isDynaView() { return Expressions.isEL(viewId); }
protected void setAttributeProperites(final UIComponent component, final String attributeName, final String attribute) { if (attribute != null) { if (Expressions.isEL(attribute)) { FacesContext context = FacesContext.getCurrentInstance(); Application app = context.getApplication(); ExpressionFactory expressionFactory = app.getExpressionFactory(); ValueExpression ve = expressionFactory.createValueExpression(attribute, Object.class); component.setValueExpression(attributeName, ve); } else { component.getAttributes().put(attributeName, attribute); } } } }
protected void setAttributeProperites(final UIComponent component, final String attributeName, final String attribute) { if (attribute != null) { if (Expressions.isEL(attribute)) { FacesContext context = FacesContext.getCurrentInstance(); Application app = context.getApplication(); ExpressionFactory expressionFactory = app.getExpressionFactory(); ValueExpression ve = expressionFactory.createValueExpression(attribute, Object.class); component.setValueExpression(attributeName, ve); } else { component.getAttributes().put(attributeName, attribute); } } } }
protected void setAttributeProperites(final UIComponent component, final String attributeName, final String attribute) { if (attribute != null) { if (Expressions.isEL(attribute)) { FacesContext context = FacesContext.getCurrentInstance(); Application app = context.getApplication(); ExpressionFactory expressionFactory = app.getExpressionFactory(); ValueExpression ve = expressionFactory.createValueExpression(attribute, Object.class); component.setValueExpression(attributeName, ve); } else { component.getAttributes().put(attributeName, attribute); } } } }
protected void setAttributeProperites(final UIComponent component, final String attributeName, final String attribute) { if (attribute != null) { if (Expressions.isEL(attribute)) { FacesContext context = FacesContext.getCurrentInstance(); Application app = context.getApplication(); ExpressionFactory expressionFactory = app.getExpressionFactory(); ValueExpression ve = expressionFactory.createValueExpression(attribute, Object.class); component.setValueExpression(attributeName, ve); } else { component.getAttributes().put(attributeName, attribute); } } } }