|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.view.facelets.tag.ui.DebugPhaseListener
public class DebugPhaseListener
PhaseListener to create extended debug information. Installed in FacesConfigurator.configureLifecycle() if ProjectStage is Development.
| Constructor Summary | |
|---|---|
DebugPhaseListener()
|
|
| Method Summary | |
|---|---|
void |
afterPhase(javax.faces.event.PhaseEvent event)
|
void |
beforePhase(javax.faces.event.PhaseEvent event)
|
static void |
createFieldDebugInfo(javax.faces.context.FacesContext facesContext,
java.lang.String field,
java.lang.Object oldValue,
java.lang.Object newValue,
java.lang.String clientId)
Creates the field debug-info for the given field, which changed from oldValue to newValue in the given component. |
static java.util.Map<java.lang.String,java.util.List<java.lang.Object[]>> |
getDebugInfoMap(java.lang.String clientId)
Returns the debug-info Map for the given component. |
static java.util.List<java.lang.Object[]> |
getFieldDebugInfos(java.lang.String field,
java.lang.String clientId)
Returns the field's debug-infos from the component's debug-info Map. |
javax.faces.event.PhaseId |
getPhaseId()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DebugPhaseListener()
| Method Detail |
|---|
public static java.util.Map<java.lang.String,java.util.List<java.lang.Object[]>> getDebugInfoMap(java.lang.String clientId)
clientId -
public static java.util.List<java.lang.Object[]> getFieldDebugInfos(java.lang.String field,
java.lang.String clientId)
field - clientId -
public static void createFieldDebugInfo(javax.faces.context.FacesContext facesContext,
java.lang.String field,
java.lang.Object oldValue,
java.lang.Object newValue,
java.lang.String clientId)
facesContext - field - oldValue - newValue - clientId - public void afterPhase(javax.faces.event.PhaseEvent event)
afterPhase in interface javax.faces.event.PhaseListenerpublic void beforePhase(javax.faces.event.PhaseEvent event)
beforePhase in interface javax.faces.event.PhaseListenerpublic javax.faces.event.PhaseId getPhaseId()
getPhaseId in interface javax.faces.event.PhaseListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||