[ http://issues.apache.org/jira/browse/TOMAHAWK-514?page=comments#action_12419467 ]
Mario Ivankovits commented on TOMAHAWK-514: ------------------------------------------- Please check if ValueChangePhaseListener.afterPhase gets called. Do you use the MyFaces JSF impl or Suns JSF RI? In case of MyFaces JSF you can check if PhaseListenerManager.informPhaseListenersAfter gets called and if a) the ValueChangePhaseListener is in the phaseListeners list b) it reach the ValueChangePhaseListener Happy debugging ;-) > Method not triggered by s:valueChangeNotifier > --------------------------------------------- > > Key: TOMAHAWK-514 > URL: http://issues.apache.org/jira/browse/TOMAHAWK-514 > Project: MyFaces Tomahawk > Type: Bug > Versions: 1.1.5-SNAPSHOT > Environment: JBoss 4.0.4.GA > MyFaces 1.1.3 > Tomahawk+Sandbox 1.1.5 snapshot > Reporter: RD > > This is a snippet from my JSF page: > <h:selectOneMenu id="vertragid" required="true" > value="#{rufnummerEditBean.vertragid}" > disabled="#{!(rufnummerEditBean.editable)}" > onchange="submit()" immediate="true"> > <s:valueChangeNotifier > method="#{rufnummerEditBean.changeVertragid}"/> > <f:selectItems > value="#{rufnummerEditBean.vertragidList}"/> > </h:selectOneMenu> > This is the associated piece of code: > public void changeVertragid(ValueChangeEvent event) { > Integer newval=(Integer)(event.getNewValue()); > if(debugInfo) System.out.println("changeVertragid "+newval); > setVertragid(newval); > List<SelectItem> listTarifs=getTarifidList(); > if(listTarifs.isEmpty()) setTarifid2(null); > else setTarifid2((Integer)(listTarifs.get(0).getValue())); > } > When selecting some value in the combo box Vertragid, the method > changeVertragid is not called (or else I would have seen the output of > System.out.println in the log). > I have also tried with immediate="false", but there is no difference. > What should I do to fix this? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
