Working with ActionListener
i am working with a complex structured application where i have to invoke the ActionListener.processAction() before the PROCESS_VALIDATIONS phase.
i have a set of code which is
publicclass MyActionListenerimplements ActionListener{
public PhaseId getPhaseId(){
return PhaseId.PROCESS_VALIDATIONS;
}
publicvoid processAction(ActionEvent arg0)throws AbortProcessingException{
// TODO Auto-generated method stub
log.info("-- processAction --");
}
}
<h:commandButton id="btnSubmit"
action="#{bean.action}">
<f:actionListener type="mypack.listener.MyActionListener" />
</h:commandButton>
but the processAction is called in INVOKE_APPLICATION phase.
kindly help me to know how to invoke the listener before the Validation phase
thanks in advance
Subbhu

