com.liferay.faces.bridge.event
Class RenderRequestPhaseListener

java.lang.Object
  extended by com.liferay.faces.bridge.event.RenderRequestPhaseListenerCompat
      extended by com.liferay.faces.bridge.event.RenderRequestPhaseListener
All Implemented Interfaces:
Serializable, EventListener, javax.faces.event.PhaseListener

public class RenderRequestPhaseListener
extends RenderRequestPhaseListenerCompat
implements javax.faces.event.PhaseListener

Section 5.2.6 of the Spec indicates that the bridge must proactively ensure that only the RESTORE_VIEW phase executes, and Section 6.4 indicates that a PhaseListener must be used.

Author:
Neil Griffin
See Also:
Serialized Form

Field Summary
protected static Boolean VIEW_PARAMETERS_ENABLED
           
 
Constructor Summary
RenderRequestPhaseListener()
           
 
Method Summary
 void afterPhase(javax.faces.event.PhaseEvent phaseEvent)
           
 void beforePhase(javax.faces.event.PhaseEvent phaseEvent)
           
 javax.faces.event.PhaseId getPhaseId()
           
 
Methods inherited from class com.liferay.faces.bridge.event.RenderRequestPhaseListenerCompat
isViewParametersEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VIEW_PARAMETERS_ENABLED

protected static Boolean VIEW_PARAMETERS_ENABLED
Constructor Detail

RenderRequestPhaseListener

public RenderRequestPhaseListener()
Method Detail

afterPhase

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

beforePhase

public void beforePhase(javax.faces.event.PhaseEvent phaseEvent)
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 © 2014 Liferay, Inc.. All Rights Reserved.