This is my listener method
value is an instance variable in my backing bean.
public void changeValue(ValueChangeEvent event) {
value = (
String) event.getNewValue();
FacesContext.getCurrentInstance().renderResponse();
}
in my xhtml page,
<h:selectOneMenu valueChangeListener="#{mybean.changeValue}" immediate="true" onchange="submit();"
value="#{mybean.value}">
<f:selectItems value="#{mybean.options}"/>
</h:selectOneMenu>
<ui:include src="mypage.xhtml"/>
My problem here is before the value change listener is getting invoked the getter property which is referred in mypage.xhtml is getting invoked before the value change listener.
can anyone assist?
Thanks
Kumar
[ November 14, 2007: Message edited by: Kumar Saravanan ]