org.apache.myfaces.custom.ajax.api
Class AjaxDecodePhaseListener
java.lang.Object
org.apache.myfaces.custom.ajax.api.AjaxDecodePhaseListener
- All Implemented Interfaces:
- java.io.Serializable, java.util.EventListener, javax.faces.event.PhaseListener
public class AjaxDecodePhaseListener
- extends java.lang.Object
- implements javax.faces.event.PhaseListener
This short circuits the life cycle and applies updates to affected components only
User: treeder
Date: Oct 26, 2005
Time: 6:03:21 PM
- See Also:
- Serialized Form
Method Summary |
void |
afterPhase(javax.faces.event.PhaseEvent event)
|
void |
beforePhase(javax.faces.event.PhaseEvent event)
|
javax.faces.event.PhaseId |
getPhaseId()
Some Ajax components might do special decoding at apply request values phase |
static java.lang.Object |
getValueForComponent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
static java.lang.String |
mapToString(java.util.Map map)
spit out each name/value pair
THIS IS IN HASHMAPUTILS, BUT FOR SOME REASON, ISN'T GETTING INTO THE JARS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AjaxDecodePhaseListener
public AjaxDecodePhaseListener()
getPhaseId
public javax.faces.event.PhaseId getPhaseId()
- Some Ajax components might do special decoding at apply request values phase
- Specified by:
getPhaseId
in interface javax.faces.event.PhaseListener
- Returns:
- PhaseId The AJAX decode phase listener will be invoked before apply request values phase.
beforePhase
public void beforePhase(javax.faces.event.PhaseEvent event)
- Specified by:
beforePhase
in interface javax.faces.event.PhaseListener
mapToString
public static java.lang.String mapToString(java.util.Map map)
- spit out each name/value pair
THIS IS IN HASHMAPUTILS, BUT FOR SOME REASON, ISN'T GETTING INTO THE JARS
getValueForComponent
public static java.lang.Object getValueForComponent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
afterPhase
public void afterPhase(javax.faces.event.PhaseEvent event)
- Specified by:
afterPhase
in interface javax.faces.event.PhaseListener
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.