I am queuing event when it is fired after Apply_Request_values phase for
Update_model_value phase but it is fired first time
during(Apply_Request_values) but not after Update_model_Values phase....
public void changeMethod(ValueChangeEvent event)
{
PhaseId phaseId = event.getPhaseId();
String oldValue = (String) event.getOldValue();
String newValue = (String) event.getNewValue();
if (phaseId.equals(PhaseId.ANY_PHASE)){
System.out.println("Called ANY_PHASE");
event.setPhaseId(PhaseId.UPDATE_MODEL_VALUES);
event.queue();
}else if (phaseId.equals(PhaseId.UPDATE_MODEL_VALUES)){
System.out.println("Called after UPDATE MODEL VALUES phase..");
}
}
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029209#4029209
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029209
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user