Class BaseHTMLActionComponent

java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
All Implemented Interfaces:
Serializable, EventListener, javax.faces.component.ActionSource, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, IBaseComponent, ICCComponentProperties, ICCServerConstants, CLogConstants

public abstract class BaseHTMLActionComponent extends BaseActionComponent implements javax.faces.component.ActionSource, CLogConstants
Is decoding "ID.action" and is invoking the Action accordingly.
See Also:
  • Field Details

    • ACTIONTYPE_NOTNULL

      public static int ACTIONTYPE_NOTNULL
    • ACTIONTYPE_NOTEMPTY

      public static int ACTIONTYPE_NOTEMPTY
    • ACTIONTYPE_NEVER

      public static int ACTIONTYPE_NEVER
    • m_immediate

      protected boolean m_immediate
    • m_actionDelegator

      protected BaseHTMLActionComponent.IDelegateAction m_actionDelegator
  • Constructor Details

    • BaseHTMLActionComponent

      public BaseHTMLActionComponent()
  • Method Details

    • saveState

      public Object saveState(javax.faces.context.FacesContext context)
      Specified by:
      saveState in interface javax.faces.component.StateHolder
      Overrides:
      saveState in class BaseActionComponent
    • restoreState

      public void restoreState(javax.faces.context.FacesContext context, Object state)
      Specified by:
      restoreState in interface javax.faces.component.StateHolder
      Overrides:
      restoreState in class BaseActionComponent
    • getActionDelegator

      public BaseHTMLActionComponent.IDelegateAction getActionDelegator()
    • setActionDelegator

      public void setActionDelegator(BaseHTMLActionComponent.IDelegateAction actionDelegator)
    • encodeBegin

      public void encodeBegin(javax.faces.context.FacesContext context) throws IOException
      Overrides:
      encodeBegin in class BaseComponent
      Throws:
      IOException
    • decode

      public void decode(javax.faces.context.FacesContext context)
      Overrides:
      decode in class BaseActionComponent
    • writeTdAroundControl

      public String writeTdAroundControl(javax.faces.context.ResponseWriter writer, ComponentDump cd, boolean withStyle) throws IOException
      Throws:
      IOException
    • getCurrentEnabled

      public boolean getCurrentEnabled()
    • getCurrentStyleClass

      public String getCurrentStyleClass(String defaultStyle)
    • getCurrentTdStyleClass

      public String getCurrentTdStyleClass()
    • getParentForm

      protected javax.faces.component.UIForm getParentForm()
      Returns the form that this component is living in.
    • getActionType

      protected int getActionType()
    • addCallServerHiddenField

      protected void addCallServerHiddenField(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, String postfix)
    • addInvokeProcessingHiddenField

      protected void addInvokeProcessingHiddenField(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, String postfix)
    • addCallServerJavaScript

      protected void addCallServerJavaScript(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, String event, String postfix)
    • addInvokeProcessingEvent

      protected void addInvokeProcessingEvent(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer)
    • appendToStyle

      protected static void appendToStyle(StringBuffer style, String styleFragment)
    • manageFocus

      protected void manageFocus(javax.faces.context.FacesContext context, String id)
    • manageFocus

      protected void manageFocus(javax.faces.context.FacesContext context, String id, String preStatement, String postStatement)
    • checkIfFocusIsRequested

      protected boolean checkIfFocusIsRequested()