public final class Components extends Object
Modifier and Type | Method and Description |
---|---|
static Object |
evalAttribute(UIComponent component,
String name)
Evaluates an attribute of a component by first checking if there's a value expression associated with it, and only if there isn't one
look at a component property with that name.
|
public static Object evalAttribute(UIComponent component, String name)
The regular attribute collection (UIComponent.getAttributes()
) does exactly the reverse; it looks at a component property
first, then at the attribute collection and only looks at a value binding as the last option.
component
- The component for which the attribute is to be evaluatedname
- Name of attribute that is to be evaluatedCopyright © 2012–2016 OmniFaces. All rights reserved.