webtier@glassfish.java.net

ValueChangeListener and parameters

From: <webtier_at_javadesktop.org>
Date: Sat, 11 Jul 2009 01:36:31 PDT

I have a question regarding to valueChangeListeners. Is there a way to access other parameters? I understand that these listeners execute before the update model phase, so i don't have the parameters, except the one that fires the event. I tried the following in mojarra, at the beginning of the listener method, but my parameters are still null:

PhaseId phaseId = evt.getPhaseId();
                if (phaseId.equals(PhaseId.ANY_PHASE)) {
                        evt.setPhaseId(PhaseId.UPDATE_MODEL_VALUES);
                        evt.queue();
                        return;
                }
[Message sent by forum member 'gabox01' (gabox01)]

http://forums.java.net/jive/thread.jspa?messageID=355221