Hi Guys Thanks a lot, I enjoyed your replies! This worked for me. I will try out the other hints you are talking about, too.
Thanks for the help, once more :) Remo ________________________________________ From: Cagatay Civici [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 1. Juni 2006 15:58 To: MyFaces Discussion Subject: Re: JSF Livecycle Problem - Events before setters! Hi, As I mentioned the only reason the setter is called after event handler is that you are using value change event. If I'm not mistaken myfaces has a feature that enables valuechange events behave like action events(button). Also you can set the value manually at valuechangelistener yourself like; public void kpiGroupChanged(ValueChangeEvent event) { KPIBrowserBean.setCurrentKpiGroup(event.getNewValue()); //Execute the event... } Cagatay, On 6/1/06, Remo Liechti <[EMAIL PROTECTED]> wrote: Hi Cagatay, If you take a look at: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/images/jsfIntro-lifecycle .gif I thought the setters are called in "Apply Request Values" and not in "Update model values". Thanks for your clarification. I tried the hint with the immediate tag: <h:selectOneMenu id="selectedKpiGroup" value="#{flowScope.KPIBrowserBean.currentKpiGroup}" immediate="true" valueChangeListener="#{ flowScope.KPIBrowserBean.kpiGroupChanged}" onchange="submit()"> <f:selectItems value="#{flowScope.KPIBrowserBean.kpiGroups}" /> </h:selectOneMenu> This did not work, still: UPDATER(event) currentKpiGroup: 2 SETTER currentKpiGroup grp: 3 My question is, how do I get the setter set before the event is processed? Remo ________________________________________ From: Cagatay Civici [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 1. Juni 2006 15:29 To: MyFaces Discussion Subject: Re: JSF Livecycle Problem - Events before setters! Hi, Setters are called at update model actually, not at apply request phase. I don't see anything wrong about the console print out because value change events are not like button action events. They are called after process validations(before setter) phase whereas button action events are called at invoke application(after setter). They are different. Cagatay,

