Class InputAttachedObjectsHandler

java.lang.Object
org.apache.empire.jsf2.controls.InputAttachedObjectsHandler

public class InputAttachedObjectsHandler extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    protected Object
    getTagAttributeValue(javax.faces.component.UIComponent component, String name)
    helper to get a tag attribute value
    protected final String
    getTagAttributeValueString(javax.faces.component.UIComponent component, String name)
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 parent
      context - the faces context
      column - 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 parent
      context - the faces context
      column - the column for which to attach the objects (optional, i.e. may be null)
      inputComponent - the input component created by the InputControl implementation
    • getTagAttributeValue

      protected Object getTagAttributeValue(javax.faces.component.UIComponent component, String name)
      helper to get a tag attribute value
      Parameters:
      component - the CompositeComponent parent
      name - the name of the attribute
      Returns:
      the value of the attribute
    • getTagAttributeValueString

      protected final String getTagAttributeValueString(javax.faces.component.UIComponent component, String name)