| java.lang.Object org.andromda.cartridges.jsf.utils.ComponentUtils
ComponentUtils | public class ComponentUtils (Code) | | Utilities for dealing with the JSF components.
author: Chad Brandon |
Method Summary | |
public static void | setBooleanProperty(String name, FacesContext context, UIComponent component, String value) Sets the boolean value of property with the given name of a component. | public static void | setStringProperty(String name, FacesContext context, UIComponent component, String value) Sets the property with the given name of a component. | public static void | setValueProperty(FacesContext context, UIComponent component, String value) Sets the value property of a component. |
setBooleanProperty | public static void setBooleanProperty(String name, FacesContext context, UIComponent component, String value)(Code) | | Sets the boolean value of property with the given name of a component.
Parameters: name - the name of the component to set. Parameters: context - the current faces context. Parameters: component - the component. Parameters: value - the value to set. |
setStringProperty | public static void setStringProperty(String name, FacesContext context, UIComponent component, String value)(Code) | | Sets the property with the given name of a component.
Parameters: name - the name of the component to set. Parameters: context - the current faces context. Parameters: component - the component. Parameters: value - the value to set. |
setValueProperty | public static void setValueProperty(FacesContext context, UIComponent component, String value)(Code) | | Sets the value property of a component.
Parameters: context - the current faces context. Parameters: component - the component. Parameters: value - the value to set. |
|
|