Package org.apache.empire.jsf2.controls
Class InputAttachedObjectsHandler
java.lang.Object
org.apache.empire.jsf2.controls.InputAttachedObjectsHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttachedObjects(javax.faces.component.UIComponent parent, javax.faces.context.FacesContext context, Column column, javax.faces.component.UIComponentBase inputComponent) Allows to add objects such as events, validators, etc to the dynamically created input componentsprotected ObjectgetTagAttributeValue(javax.faces.component.UIComponent component, String name) helper to get a tag attribute valueprotected final StringgetTagAttributeValueString(javax.faces.component.UIComponent component, String name) voidupdateAttachedObjects(javax.faces.component.UIComponent parent, javax.faces.context.FacesContext context, Column column, javax.faces.component.UIComponentBase inputComponent) updates objects such as events, validators, etc on dynamically created input components
-
Constructor Details
-
InputAttachedObjectsHandler
public InputAttachedObjectsHandler()
-
-
Method Details
-
addAttachedObjects
public void addAttachedObjects(javax.faces.component.UIComponent parent, javax.faces.context.FacesContext context, Column column, javax.faces.component.UIComponentBase inputComponent) Allows to add objects such as events, validators, etc to the dynamically created input components- Parameters:
parent- the CompositeComponent parentcontext- the faces contextcolumn- the column for which to attach the objects (optional, i.e. may be null)inputComponent- the input component created by the InputControl implementation
-
updateAttachedObjects
public void updateAttachedObjects(javax.faces.component.UIComponent parent, javax.faces.context.FacesContext context, Column column, javax.faces.component.UIComponentBase inputComponent) updates objects such as events, validators, etc on dynamically created input components- Parameters:
parent- the CompositeComponent parentcontext- the faces contextcolumn- the column for which to attach the objects (optional, i.e. may be null)inputComponent- the input component created by the InputControl implementation
-
getTagAttributeValue
helper to get a tag attribute value- Parameters:
component- the CompositeComponent parentname- the name of the attribute- Returns:
- the value of the attribute
-
getTagAttributeValueString
-