You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Ralph Jacobs (Created) (JIRA)" <de...@myfaces.apache.org> on 2011/11/30 16:17:40 UTC
[jira] [Created] (TOBAGO-1063) tc:sheet's stateChangeListener
method is not found
tc:sheet's stateChangeListener method is not found
--------------------------------------------------
Key: TOBAGO-1063
URL: https://issues.apache.org/jira/browse/TOBAGO-1063
Project: MyFaces Tobago
Issue Type: Bug
Components: Core
Affects Versions: 1.5.0-beta-2
Environment: Tobago 1.5 including compat-library
Reporter: Ralph Jacobs
1. Documentation of tc:sheet/stateChangeListener of Tobago 1.5 is ambiguous: 1.0 requests a method
void stateChangeListener(SheetStateChangeEvent)
1.5 requests both the
void stateChangeListener(SheetStateChangeEvent)
an a method
void stateChangeListener(ActionEvent)
2. Clicking for paging shall call the listener method, but the method is not found, neither SheetStateChangeEvent nor ActionEvent.
Error message is as follows:
javax.faces.el.MethodNotFoundException: /faces/gui/table.xhtml @45,63 stateChangeListener="#{table11Data.stateChangeListener}": Method not found: de.nordlbit.baseone.jsf.model.LargeDataTable@a39579.stateChangeListener(javax.faces.event.ActionEvent)
at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:71)
at org.apache.myfaces.tobago.compat.FacesUtils.invokeMethodBinding(FacesUtils.java:110)
at org.apache.myfaces.tobago.internal.component.AbstractUISheet.broadcast(AbstractUISheet.java:341)
at org.apache.myfaces.tobago.component.UIViewRoot.broadcastForPhase(UIViewRoot.java:156)
at org.apache.myfaces.tobago.component.UIViewRoot.processApplication(UIViewRoot.java:310)
at org.apache.myfaces.tobago.internal.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:30)
at org.apache.myfaces.tobago.internal.lifecycle.TobagoLifecycle.executePhase(TobagoLifecycle.java:100)
at org.apache.myfaces.tobago.internal.lifecycle.TobagoLifecycle.execute(TobagoLifecycle.java:75)
at org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrapper.execute(CodiLifecycleWrapper.java:97)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TOBAGO-1063) tc:sheet's stateChangeListener
method is not found
Posted by "Udo Schnurpfeil (Commented) (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOBAGO-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161513#comment-13161513 ]
Udo Schnurpfeil commented on TOBAGO-1063:
-----------------------------------------
Hi Ralph,
I've tested it, and I see the problem with the SheetStateChangeEvent method signature.
But when I use javax.faces.event.ActionEvent it looks fine.
Can you recheck this workaround?
> tc:sheet's stateChangeListener method is not found
> --------------------------------------------------
>
> Key: TOBAGO-1063
> URL: https://issues.apache.org/jira/browse/TOBAGO-1063
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.5.0-beta-2
> Environment: Tobago 1.5 including compat-library
> Reporter: Ralph Jacobs
>
> 1. Documentation of tc:sheet/stateChangeListener of Tobago 1.5 is ambiguous: 1.0 requests a method
> void stateChangeListener(SheetStateChangeEvent)
> 1.5 requests both the
> void stateChangeListener(SheetStateChangeEvent)
> an a method
> void stateChangeListener(ActionEvent)
> 2. Clicking for paging shall call the listener method, but the method is not found, neither SheetStateChangeEvent nor ActionEvent.
> Error message is as follows:
> javax.faces.el.MethodNotFoundException: /faces/gui/table.xhtml @45,63 stateChangeListener="#{table11Data.stateChangeListener}": Method not found: de.nordlbit.baseone.jsf.model.LargeDataTable@a39579.stateChangeListener(javax.faces.event.ActionEvent)
> at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:71)
> at org.apache.myfaces.tobago.compat.FacesUtils.invokeMethodBinding(FacesUtils.java:110)
> at org.apache.myfaces.tobago.internal.component.AbstractUISheet.broadcast(AbstractUISheet.java:341)
> at org.apache.myfaces.tobago.component.UIViewRoot.broadcastForPhase(UIViewRoot.java:156)
> at org.apache.myfaces.tobago.component.UIViewRoot.processApplication(UIViewRoot.java:310)
> at org.apache.myfaces.tobago.internal.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:30)
> at org.apache.myfaces.tobago.internal.lifecycle.TobagoLifecycle.executePhase(TobagoLifecycle.java:100)
> at org.apache.myfaces.tobago.internal.lifecycle.TobagoLifecycle.execute(TobagoLifecycle.java:75)
> at org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrapper.execute(CodiLifecycleWrapper.java:97)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Reopened] (TOBAGO-1063) tc:sheet's stateChangeListener
method is not found
Posted by "Udo Schnurpfeil (Reopened) (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOBAGO-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Udo Schnurpfeil reopened TOBAGO-1063:
-------------------------------------
Assignee: Bernd Bohmann
Hi, Bernd,
can you check, if there is a solution to support both signatures?
> tc:sheet's stateChangeListener method is not found
> --------------------------------------------------
>
> Key: TOBAGO-1063
> URL: https://issues.apache.org/jira/browse/TOBAGO-1063
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.5.0-beta-2
> Environment: Tobago 1.5 including compat-library
> Reporter: Ralph Jacobs
> Assignee: Bernd Bohmann
>
> 1. Documentation of tc:sheet/stateChangeListener of Tobago 1.5 is ambiguous: 1.0 requests a method
> void stateChangeListener(SheetStateChangeEvent)
> 1.5 requests both the
> void stateChangeListener(SheetStateChangeEvent)
> an a method
> void stateChangeListener(ActionEvent)
> 2. Clicking for paging shall call the listener method, but the method is not found, neither SheetStateChangeEvent nor ActionEvent.
> Error message is as follows:
> javax.faces.el.MethodNotFoundException: /faces/gui/table.xhtml @45,63 stateChangeListener="#{table11Data.stateChangeListener}": Method not found: de.nordlbit.baseone.jsf.model.LargeDataTable@a39579.stateChangeListener(javax.faces.event.ActionEvent)
> at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:71)
> at org.apache.myfaces.tobago.compat.FacesUtils.invokeMethodBinding(FacesUtils.java:110)
> at org.apache.myfaces.tobago.internal.component.AbstractUISheet.broadcast(AbstractUISheet.java:341)
> at org.apache.myfaces.tobago.component.UIViewRoot.broadcastForPhase(UIViewRoot.java:156)
> at org.apache.myfaces.tobago.component.UIViewRoot.processApplication(UIViewRoot.java:310)
> at org.apache.myfaces.tobago.internal.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:30)
> at org.apache.myfaces.tobago.internal.lifecycle.TobagoLifecycle.executePhase(TobagoLifecycle.java:100)
> at org.apache.myfaces.tobago.internal.lifecycle.TobagoLifecycle.execute(TobagoLifecycle.java:75)
> at org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrapper.execute(CodiLifecycleWrapper.java:97)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira