Hi All,

I saw from the Trinidad 1.2.8.1 branch UIXCommand.queueEvent the code looks like this:

 /**
  * <p>Intercept <code>queueEvent</code> and mark the phaseId for the
  * event to be <code>PhaseId.APPLY_REQUEST_VALUES</code> if the
  * <code>immediate</code> flag is true,
  * <code>PhaseId.INVOKE_APPLICATION</code> otherwise.</p>
  */
 @Override
 public void queueEvent(FacesEvent e)
 {
if (this == e.getComponent() && ((e instanceof ActionEvent) || (e instanceof ReturnEvent)))
   {
     if (isImmediate())
     {
       e.setPhaseId(PhaseId.ANY_PHASE);
     }
     else
     {
       e.setPhaseId(PhaseId.INVOKE_APPLICATION);
     }
   }

   super.queueEvent(e);
 }

Based on JSF spec shouldnt be that for isImmediate() equals to true, the phaseId be set to APPLY_REQUEST_VALUES rather than ANY_PHASE?

Thanks,

Henry

Reply via email to