org.apache.myfaces.tobago.ajax.api
Class AjaxPhaseListener

java.lang.Object
  extended by org.apache.myfaces.tobago.ajax.api.AjaxPhaseListener
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.faces.event.PhaseListener

public class AjaxPhaseListener
extends java.lang.Object
implements javax.faces.event.PhaseListener

!! adapted copy of sandbox org.apache.myfaces.custom.ajax.api.AjaxPhaseListener !!

See Also:
Serialized Form

Field Summary
static java.lang.String AJAX_COMPONENT_ID
           
static java.lang.String CODE_NOT_MODIFIED
           
static java.lang.String CODE_RELOAD_REQUIRED
           
static java.lang.String CODE_SUCCESS
           
static java.lang.String TOBAGO_AJAX_STATUS_CODE
           
 
Constructor Summary
AjaxPhaseListener()
           
 
Method Summary
 void afterPhase(javax.faces.event.PhaseEvent event)
           
 void beforePhase(javax.faces.event.PhaseEvent event)
           
 javax.faces.event.PhaseId getPhaseId()
           
static java.lang.Object getValueForComponent(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AJAX_COMPONENT_ID

public static final java.lang.String AJAX_COMPONENT_ID
See Also:
Constant Field Values

CODE_SUCCESS

public static final java.lang.String CODE_SUCCESS
See Also:
Constant Field Values

CODE_NOT_MODIFIED

public static final java.lang.String CODE_NOT_MODIFIED
See Also:
Constant Field Values

CODE_RELOAD_REQUIRED

public static final java.lang.String CODE_RELOAD_REQUIRED
See Also:
Constant Field Values

TOBAGO_AJAX_STATUS_CODE

public static final java.lang.String TOBAGO_AJAX_STATUS_CODE
See Also:
Constant Field Values
Constructor Detail

AjaxPhaseListener

public AjaxPhaseListener()
Method Detail

getValueForComponent

public static java.lang.Object getValueForComponent(javax.faces.context.FacesContext facesContext,
                                                    javax.faces.component.UIComponent component)

afterPhase

public void afterPhase(javax.faces.event.PhaseEvent event)
Specified by:
afterPhase in interface javax.faces.event.PhaseListener

beforePhase

public void beforePhase(javax.faces.event.PhaseEvent event)
Specified by:
beforePhase in interface javax.faces.event.PhaseListener

getPhaseId

public javax.faces.event.PhaseId getPhaseId()
Specified by:
getPhaseId in interface javax.faces.event.PhaseListener


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.