org.apache.myfaces.trinidaddemo
Class SkinDirtyPhaseListener

java.lang.Object
  extended by org.apache.myfaces.trinidaddemo.SkinDirtyPhaseListener
All Implemented Interfaces:
Serializable, EventListener, javax.faces.event.PhaseListener

public class SkinDirtyPhaseListener
extends Object
implements javax.faces.event.PhaseListener

This class is used in panelPageSkinDemo.jspx. It sets the Skin to dirty so that if you change a skin css file it gets picked up immediately without the need to set the web.xml CHECK_FILE_MODIFICATION flag.

See Also:
Serialized Form

Constructor Summary
SkinDirtyPhaseListener()
           
 
Method Summary
 void afterPhase(javax.faces.event.PhaseEvent phaseEvent)
           
 void beforePhase(javax.faces.event.PhaseEvent phaseEvent)
           
 void buttonAction(javax.faces.event.ActionEvent action)
           
 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

SkinDirtyPhaseListener

public SkinDirtyPhaseListener()
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

buttonAction

public void buttonAction(javax.faces.event.ActionEvent action)


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.