Class DebugPhaseListener
java.lang.Object
org.apache.myfaces.view.facelets.tag.ui.DebugPhaseListener
- All Implemented Interfaces:
- PhaseListener,- Serializable,- EventListener
PhaseListener to create extended debug information.
 Installed in FacesConfigurator.configureLifecycle() if ProjectStage is Development.
- Version:
- $Revision$ $Date$
- Author:
- Jakob Korherr (latest modification by $Author$)
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidafterPhase(PhaseEvent event) voidbeforePhase(PhaseEvent event) static voidcreateFieldDebugInfo(FacesContext facesContext, String field, Object oldValue, Object newValue, String clientId) Creates the field debug-info for the given field, which changed from oldValue to newValue in the given component.getDebugInfoMap(String clientId) Returns the debug-info Map for the given component.getFieldDebugInfos(String field, String clientId) Returns the field's debug-infos from the component's debug-info Map.
- 
Constructor Details- 
DebugPhaseListenerpublic DebugPhaseListener()
 
- 
- 
Method Details- 
getDebugInfoMapReturns the debug-info Map for the given component. ATTENTION: this method is duplicate in UIInput.- Parameters:
- clientId-
- Returns:
 
- 
getFieldDebugInfosReturns the field's debug-infos from the component's debug-info Map. ATTENTION: this method is duplicate in UIInput.- Parameters:
- field-
- clientId-
- Returns:
 
- 
createFieldDebugInfopublic static void createFieldDebugInfo(FacesContext facesContext, String field, Object oldValue, Object newValue, String clientId) Creates the field debug-info for the given field, which changed from oldValue to newValue in the given component. ATTENTION: this method is duplicate in UIInput.- Parameters:
- facesContext-
- field-
- oldValue-
- newValue-
- clientId-
 
- 
afterPhase- Specified by:
- afterPhasein interface- PhaseListener
 
- 
beforePhase- Specified by:
- beforePhasein interface- PhaseListener
 
- 
getPhaseId- Specified by:
- getPhaseIdin interface- PhaseListener
 
 
-