listeners
Class RaceScoringListener

java.lang.Object
  extended by listeners.RaceScoringListener
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.faces.event.PhaseListener

public class RaceScoringListener
extends java.lang.Object
implements javax.faces.event.PhaseListener

This listener is here for the sole purpose of being able to process the Row/PenaltyRow datatables AFTER the values have been applied to rows. This is very frustrating that JSF forces me to do this, but I cannot figure out a better way to ensure that I am editing the objects ONLY AFTER they have their new values applied.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
RaceScoringListener()
           
 
Method Summary
 void afterPhase(javax.faces.event.PhaseEvent event)
           
 void beforePhase(javax.faces.event.PhaseEvent event)
           
 javax.faces.event.PhaseId getPhaseId()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

RaceScoringListener

public RaceScoringListener()
Method Detail

afterPhase

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

beforePhase

public void beforePhase(javax.faces.event.PhaseEvent event)
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