Re: HtmlSelectOneMenu value is not set during ValueChangeListenerexecution

2006-06-05 Thread Tonio Caputo
Mario, Not a all, but it will be of great help. I'm just beginning to use myfaces features, for now I'm just adapting my application to work as it is (using sun's implementation). Thank you very much tonio On Sat, 2006-06-03 at 08:56 +0200, Mario Ivankovits wrote: Hi Tonio, You are

Re: HtmlSelectOneMenu value is not set during ValueChangeListenerexecution

2006-06-03 Thread Mario Ivankovits
Hi Tonio, You are aware about our s:valueChangeNotifier which behaves like ValueChangeListener with the difference that it will fire AFTER the updateModel phase? Ciao, Mario ValueChangeListeners are called after Process Validators Phase, and the model (Components values) is only

RE: HtmlSelectOneMenu value is not set during ValueChangeListenerexecution

2006-06-02 Thread Julian Ray
Hmmm, I always thought that the model had not been updated when the ValueChangeListener event is sent in which case the value would be the old value and the new value is only available via event.getNewvalue(). If you call renderResponse() from the value change listener it bypasses all model

RE: HtmlSelectOneMenu value is not set during ValueChangeListenerexecution

2006-06-02 Thread Tonio Caputo
Thanks Julian, You made me reread faces docs, you are right. ValueChangeListeners are called after Process Validators Phase, and the model (Components values) is only updated (in the Update Model Values Phase) after processing the ValueChange events. Well I must correct my code,