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, PhaseListener

public class AjaxPhaseListener
extends java.lang.Object
implements 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(PhaseEvent event)
           
 void beforePhase(PhaseEvent event)
           
 PhaseId getPhaseId()
           
static java.lang.Object getValueForComponent(FacesContext facesContext, 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(FacesContext facesContext,
                                                    UIComponent component)

afterPhase

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

beforePhase

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

getPhaseId

public PhaseId getPhaseId()
Specified by:
getPhaseId in interface PhaseListener


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