| java.lang.Object com.flexive.faces.FxJsfComponentUtils
FxJsfComponentUtils | public class FxJsfComponentUtils (Code) | | Utility functions for JSF/Facelets components.
author: Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) version: $Rev: 29 $ |
Method Summary | |
public static Boolean | getBooleanValue(UIComponent component, String attributeName) Evaluate the boolean attribute of a component.
Parameters: component - a JSF component Parameters: attributeName - the attribute name to be evaluated, e.g. | public static boolean | getBooleanValue(UIComponent component, String attributeName, boolean defaultValue) Evaluate the boolean attribute of a component.
Parameters: component - a JSF component Parameters: attributeName - the attribute name to be evaluated, e.g. | public static Integer | getIntegerValue(UIComponent component, String attributeName) Evaluate the integer attribute of a component.
Parameters: component - a JSF component Parameters: attributeName - the attribute name to be evaluated, e.g. | public static int | getLongValue(UIComponent component, String attributeName, int defaultValue) Evaluate the long attribute of a component.
Parameters: component - a JSF component Parameters: attributeName - the attribute name to be evaluated, e.g. | public static Long | getLongValue(UIComponent component, String attributeName) Evaluate the long attribute of a component.
Parameters: component - a JSF component Parameters: attributeName - the attribute name to be evaluated, e.g. | public static long | getLongValue(UIComponent component, String attributeName, long defaultValue) Evaluate the long attribute of a component.
Parameters: component - a JSF component Parameters: attributeName - the attribute name to be evaluated, e.g. | public static String | getStringValue(UIComponent component, String attributeName) Evaluate the string attribute of a component.
Parameters: component - a JSF component Parameters: attributeName - the attribute name to be evaluated, e.g. | public static Object | getValue(UIComponent component, String attributeName) |
getBooleanValue | public static Boolean getBooleanValue(UIComponent component, String attributeName)(Code) | | Evaluate the boolean attribute of a component.
Parameters: component - a JSF component Parameters: attributeName - the attribute name to be evaluated, e.g. "title" the bound value, or null if no value is bound |
getBooleanValue | public static boolean getBooleanValue(UIComponent component, String attributeName, boolean defaultValue)(Code) | | Evaluate the boolean attribute of a component.
Parameters: component - a JSF component Parameters: attributeName - the attribute name to be evaluated, e.g. "title" Parameters: defaultValue - the default value to be used when the attribute is null the bound value, or null if no value is bound |
getIntegerValue | public static Integer getIntegerValue(UIComponent component, String attributeName)(Code) | | Evaluate the integer attribute of a component.
Parameters: component - a JSF component Parameters: attributeName - the attribute name to be evaluated, e.g. "title" the bound value, or null if no value is bound |
getLongValue | public static int getLongValue(UIComponent component, String attributeName, int defaultValue)(Code) | | Evaluate the long attribute of a component.
Parameters: component - a JSF component Parameters: attributeName - the attribute name to be evaluated, e.g. "title" Parameters: defaultValue - the default value to be used if no value is bound the bound value, or defaultValue if no value is bound |
getLongValue | public static Long getLongValue(UIComponent component, String attributeName)(Code) | | Evaluate the long attribute of a component.
Parameters: component - a JSF component Parameters: attributeName - the attribute name to be evaluated, e.g. "title" the bound value, or null if no value is bound |
getLongValue | public static long getLongValue(UIComponent component, String attributeName, long defaultValue)(Code) | | Evaluate the long attribute of a component.
Parameters: component - a JSF component Parameters: attributeName - the attribute name to be evaluated, e.g. "title" Parameters: defaultValue - the default value to be used if no value is bound the bound value, or defaultValue if no value is bound |
getStringValue | public static String getStringValue(UIComponent component, String attributeName)(Code) | | Evaluate the string attribute of a component.
Parameters: component - a JSF component Parameters: attributeName - the attribute name to be evaluated, e.g. "title" the bound value, or null if no value is bound |
|
|