public class Components extends Object
|Modifier and Type||Method and Description|
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 evaluated
name- Name of attribute that is to be evaluated
Copyright © 2012–2014 OmniFaces. All rights reserved.