myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RD (JIRA)" <>
Subject [jira] Commented: (TOMAHAWK-514) Method not triggered by s:valueChangeNotifier
Date Wed, 05 Jul 2006 10:19:30 GMT
    [ ] 

RD commented on TOMAHAWK-514:

I have tried to do that yesterday, but as soon as I've set breakpoints on the two methods,
Eclipse (or jboss, I don't know) has begun to operate in a strange manner.

I get the following error messages, whether I use breakpoints or not:

12:10:52,468 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
	at org.apache.myfaces.custom.updateactionlistener.UpdateActionListener.processAction(
	at javax.faces.event.ActionEvent.processListener(
	at javax.faces.component.UIComponentBase.broadcast(
	at javax.faces.component.UICommand.broadcast(
	at org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlCommandNavigationItem.broadcast(
	at javax.faces.component.UIViewRoot._broadcastForPhase(
	at javax.faces.component.UIViewRoot.processDecodes(
	at org.apache.myfaces.lifecycle.LifecycleImpl.applyRequestValues(
	at org.apache.myfaces.lifecycle.LifecycleImpl.execute(
	at javax.faces.webapp.FacesServlet.service(
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
	at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
	at org.apache.catalina.core.StandardWrapperValve.invoke(
	at org.apache.catalina.core.StandardContextValve.invoke(
	at org.apache.catalina.core.StandardHostValve.invoke(
	at org.apache.catalina.valves.ErrorReportValve.invoke(
	at org.apache.catalina.core.StandardEngineValve.invoke(
	at org.apache.catalina.connector.CoyoteAdapter.service(
	at org.apache.coyote.http11.Http11Processor.process(
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(

It seems that my application doesn't run at all.

> Method not triggered by s:valueChangeNotifier
> ---------------------------------------------
>          Key: TOMAHAWK-514
>          URL:
>      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:
For more information on JIRA, see:

View raw message