[JBoss JIRA] (RF-13472) Action listener: binding doesn't work
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13472?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč edited comment on RF-13472 at 1/27/14 7:28 AM:
----------------------------------------------------------
By de-compiling ActionListenerHandler source from class-file, I have found following difference:
{code:title=pre-upgrade}
FaceletContext ctx =
(FaceletContext)context.getAttributes().get("com.sun.faces.facelets.FACELET_CONTEXT");
{code}
{code:title=post-upgrade}
FaceletContext ctx =
(FaceletContext)context.getAttributes().get("javax.faces.FACELET_CONTEXT");
{code}
Seems that the compiler is inlining a reference to {{FaceletContext.FACELET_CONTEXT_KEY}}, which is different in each JSF API artifact.
was (Author: lfryc):
By de-compliting ActionListenerHandler source from class-file, I have found following difference:
{code:title=pre-upgrade}
FaceletContext ctx =
(FaceletContext)context.getAttributes().get("com.sun.faces.facelets.FACELET_CONTEXT");
{code}
{code:title=post-upgrade}
FaceletContext ctx =
(FaceletContext)context.getAttributes().get("javax.faces.FACELET_CONTEXT");
{code}
Seems that the compiler is inlining a reference to {{FaceletContext.FACELET_CONTEXT_KEY}}, which is different in each JSF API artifact.
> Action listener: binding doesn't work
> -------------------------------------
>
> Key: RF-13472
> URL: https://issues.jboss.org/browse/RF-13472
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core, regression
> Affects Versions: 4.5.0.Alpha2, 5.0.0.Alpha3
> Environment: RichFaces 4.5.0-SNAPSHOT, 5.0.0-SNAPSHOT
> Showcase, Metamer
> all browsers
> all application servers
> Reporter: Pavol Pitonak
> Assignee: Lukáš Fryč
> Priority: Blocker
> Labels: regression
> Fix For: 5.0.0.Alpha3
>
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/a4jActionListener/all.xhtml
> or
> # deploy Showcase and open http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=action...
> result:
> * in Showcase this stack trace is displayed instead of page (Metamer is similar)
> {code}
> javax.faces.view.facelets.TagAttributeException: /richfaces/actionListener/samples/actionListener-sample.xhtml @30,88 listener="#{actionListenerBean.handleActionMethod}" null
> com.sun.faces.facelets.tag.TagAttributeImpl.getMethodExpression(TagAttributeImpl.java:232)
> org.richfaces.ui.ajax.ActionListenerHandler.applyAttachedObject(ActionListenerHandler.java:100)
> org.richfaces.ui.ajax.ActionListenerHandler.apply(ActionListenerHandler.java:138)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:106)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:178)
> com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366)
> com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:111)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:164)
> com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:902)
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99)
> com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
> org.richfaces.demo.arrangeablemodel.PersistenceLifecycle.render(PersistenceLifecycle.java:66)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
> org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:172)
> {code}
> * works fine in RF 4.3.4.Final, there were no changes made in neither Metamer nor Showcase since 4.3.4.Final release
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13472) Action listener: binding doesn't work
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13472?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč edited comment on RF-13472 at 1/27/14 7:20 AM:
----------------------------------------------------------
The proper fix would be Mojarra [making sure|http://stackoverflow.com/questions/377819/are-all-compile-time-const...] that the [constant isn't inlined|http://stackoverflow.com/questions/1833581/when-to-use-intern-on-...].
That mechanism is future-proof.
----
We can make sure to make this work simply by using reflection.
was (Author: lfryc):
The proper fix would be Mojarra [making sure|http://stackoverflow.com/questions/377819/are-all-compile-time-const...] that the [constant isn't inlined|http://stackoverflow.com/questions/1833581/when-to-use-intern-on-...].
> Action listener: binding doesn't work
> -------------------------------------
>
> Key: RF-13472
> URL: https://issues.jboss.org/browse/RF-13472
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core, regression
> Affects Versions: 4.5.0.Alpha2, 5.0.0.Alpha3
> Environment: RichFaces 4.5.0-SNAPSHOT, 5.0.0-SNAPSHOT
> Showcase, Metamer
> all browsers
> all application servers
> Reporter: Pavol Pitonak
> Assignee: Lukáš Fryč
> Priority: Blocker
> Labels: regression
> Fix For: 5.0.0.Alpha3
>
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/a4jActionListener/all.xhtml
> or
> # deploy Showcase and open http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=action...
> result:
> * in Showcase this stack trace is displayed instead of page (Metamer is similar)
> {code}
> javax.faces.view.facelets.TagAttributeException: /richfaces/actionListener/samples/actionListener-sample.xhtml @30,88 listener="#{actionListenerBean.handleActionMethod}" null
> com.sun.faces.facelets.tag.TagAttributeImpl.getMethodExpression(TagAttributeImpl.java:232)
> org.richfaces.ui.ajax.ActionListenerHandler.applyAttachedObject(ActionListenerHandler.java:100)
> org.richfaces.ui.ajax.ActionListenerHandler.apply(ActionListenerHandler.java:138)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:106)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:178)
> com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366)
> com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:111)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:164)
> com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:902)
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99)
> com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
> org.richfaces.demo.arrangeablemodel.PersistenceLifecycle.render(PersistenceLifecycle.java:66)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
> org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:172)
> {code}
> * works fine in RF 4.3.4.Final, there were no changes made in neither Metamer nor Showcase since 4.3.4.Final release
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13472) Action listener: binding doesn't work
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13472?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-13472:
---------------------------------
The proper fix would be Mojarra [making sure|http://stackoverflow.com/questions/377819/are-all-compile-time-const...] that the [constant isn't inlined|http://stackoverflow.com/questions/1833581/when-to-use-intern-on-...].
> Action listener: binding doesn't work
> -------------------------------------
>
> Key: RF-13472
> URL: https://issues.jboss.org/browse/RF-13472
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core, regression
> Affects Versions: 4.5.0.Alpha2, 5.0.0.Alpha3
> Environment: RichFaces 4.5.0-SNAPSHOT, 5.0.0-SNAPSHOT
> Showcase, Metamer
> all browsers
> all application servers
> Reporter: Pavol Pitonak
> Assignee: Lukáš Fryč
> Priority: Blocker
> Labels: regression
> Fix For: 5.0.0.Alpha3
>
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/a4jActionListener/all.xhtml
> or
> # deploy Showcase and open http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=action...
> result:
> * in Showcase this stack trace is displayed instead of page (Metamer is similar)
> {code}
> javax.faces.view.facelets.TagAttributeException: /richfaces/actionListener/samples/actionListener-sample.xhtml @30,88 listener="#{actionListenerBean.handleActionMethod}" null
> com.sun.faces.facelets.tag.TagAttributeImpl.getMethodExpression(TagAttributeImpl.java:232)
> org.richfaces.ui.ajax.ActionListenerHandler.applyAttachedObject(ActionListenerHandler.java:100)
> org.richfaces.ui.ajax.ActionListenerHandler.apply(ActionListenerHandler.java:138)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:106)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:178)
> com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366)
> com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:111)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:164)
> com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:902)
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99)
> com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
> org.richfaces.demo.arrangeablemodel.PersistenceLifecycle.render(PersistenceLifecycle.java:66)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
> org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:172)
> {code}
> * works fine in RF 4.3.4.Final, there were no changes made in neither Metamer nor Showcase since 4.3.4.Final release
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13472) Action listener: binding doesn't work
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13472?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-13472:
---------------------------------
By de-compliting ActionListenerHandler source from class-file, I have found following difference:
{code:title=pre-upgrade}
FaceletContext ctx =
(FaceletContext)context.getAttributes().get("com.sun.faces.facelets.FACELET_CONTEXT");
{code}
{code:title=post-upgrade}
FaceletContext ctx =
(FaceletContext)context.getAttributes().get("javax.faces.FACELET_CONTEXT");
{code}
Seems that the compiler is inlining a reference to {{FaceletContext.FACELET_CONTEXT_KEY}}, which is different in each JSF API artifact.
> Action listener: binding doesn't work
> -------------------------------------
>
> Key: RF-13472
> URL: https://issues.jboss.org/browse/RF-13472
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core, regression
> Affects Versions: 4.5.0.Alpha2, 5.0.0.Alpha3
> Environment: RichFaces 4.5.0-SNAPSHOT, 5.0.0-SNAPSHOT
> Showcase, Metamer
> all browsers
> all application servers
> Reporter: Pavol Pitonak
> Assignee: Lukáš Fryč
> Priority: Blocker
> Labels: regression
> Fix For: 5.0.0.Alpha3
>
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/a4jActionListener/all.xhtml
> or
> # deploy Showcase and open http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=action...
> result:
> * in Showcase this stack trace is displayed instead of page (Metamer is similar)
> {code}
> javax.faces.view.facelets.TagAttributeException: /richfaces/actionListener/samples/actionListener-sample.xhtml @30,88 listener="#{actionListenerBean.handleActionMethod}" null
> com.sun.faces.facelets.tag.TagAttributeImpl.getMethodExpression(TagAttributeImpl.java:232)
> org.richfaces.ui.ajax.ActionListenerHandler.applyAttachedObject(ActionListenerHandler.java:100)
> org.richfaces.ui.ajax.ActionListenerHandler.apply(ActionListenerHandler.java:138)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:106)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:178)
> com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366)
> com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:111)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:164)
> com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:902)
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99)
> com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
> org.richfaces.demo.arrangeablemodel.PersistenceLifecycle.render(PersistenceLifecycle.java:66)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
> org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:172)
> {code}
> * works fine in RF 4.3.4.Final, there were no changes made in neither Metamer nor Showcase since 4.3.4.Final release
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13472) Action listener: binding doesn't work
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13472?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-13472:
---------------------------------
By comparison of richfaces.jar archives pre- and post-upgrade, I have found that there are very few changes:
{code}
pom.properties
MANIFEST.MF
faces-config.xml -- the change is just in two elements switched the order, no functional difference
{code}
but most significantly
{code}
ActionListenerHandler.class
ItemChangeListener.class
PanelToggleListenerHandler.class
{code}
> Action listener: binding doesn't work
> -------------------------------------
>
> Key: RF-13472
> URL: https://issues.jboss.org/browse/RF-13472
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core, regression
> Affects Versions: 4.5.0.Alpha2, 5.0.0.Alpha3
> Environment: RichFaces 4.5.0-SNAPSHOT, 5.0.0-SNAPSHOT
> Showcase, Metamer
> all browsers
> all application servers
> Reporter: Pavol Pitonak
> Assignee: Lukáš Fryč
> Priority: Blocker
> Labels: regression
> Fix For: 5.0.0.Alpha3
>
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/a4jActionListener/all.xhtml
> or
> # deploy Showcase and open http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=action...
> result:
> * in Showcase this stack trace is displayed instead of page (Metamer is similar)
> {code}
> javax.faces.view.facelets.TagAttributeException: /richfaces/actionListener/samples/actionListener-sample.xhtml @30,88 listener="#{actionListenerBean.handleActionMethod}" null
> com.sun.faces.facelets.tag.TagAttributeImpl.getMethodExpression(TagAttributeImpl.java:232)
> org.richfaces.ui.ajax.ActionListenerHandler.applyAttachedObject(ActionListenerHandler.java:100)
> org.richfaces.ui.ajax.ActionListenerHandler.apply(ActionListenerHandler.java:138)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:106)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:178)
> com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366)
> com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:111)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:164)
> com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:902)
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99)
> com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
> org.richfaces.demo.arrangeablemodel.PersistenceLifecycle.render(PersistenceLifecycle.java:66)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
> org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:172)
> {code}
> * works fine in RF 4.3.4.Final, there were no changes made in neither Metamer nor Showcase since 4.3.4.Final release
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13472) Action listener: binding doesn't work
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13472?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-13472:
---------------------------------
Further, I have verified that the problem is in compiled {{richfaces.jar}}, not the {{components-demo.war}} archive.
> Action listener: binding doesn't work
> -------------------------------------
>
> Key: RF-13472
> URL: https://issues.jboss.org/browse/RF-13472
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core, regression
> Affects Versions: 4.5.0.Alpha2, 5.0.0.Alpha3
> Environment: RichFaces 4.5.0-SNAPSHOT, 5.0.0-SNAPSHOT
> Showcase, Metamer
> all browsers
> all application servers
> Reporter: Pavol Pitonak
> Assignee: Lukáš Fryč
> Priority: Blocker
> Labels: regression
> Fix For: 5.0.0.Alpha3
>
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/a4jActionListener/all.xhtml
> or
> # deploy Showcase and open http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=action...
> result:
> * in Showcase this stack trace is displayed instead of page (Metamer is similar)
> {code}
> javax.faces.view.facelets.TagAttributeException: /richfaces/actionListener/samples/actionListener-sample.xhtml @30,88 listener="#{actionListenerBean.handleActionMethod}" null
> com.sun.faces.facelets.tag.TagAttributeImpl.getMethodExpression(TagAttributeImpl.java:232)
> org.richfaces.ui.ajax.ActionListenerHandler.applyAttachedObject(ActionListenerHandler.java:100)
> org.richfaces.ui.ajax.ActionListenerHandler.apply(ActionListenerHandler.java:138)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:106)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:178)
> com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366)
> com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:111)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:164)
> com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:902)
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99)
> com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
> org.richfaces.demo.arrangeablemodel.PersistenceLifecycle.render(PersistenceLifecycle.java:66)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
> org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:172)
> {code}
> * works fine in RF 4.3.4.Final, there were no changes made in neither Metamer nor Showcase since 4.3.4.Final release
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (RF-13472) Action listener: binding doesn't work
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13472?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč edited comment on RF-13472 at 1/27/14 6:32 AM:
----------------------------------------------------------
Seems that CDK output ({{target/generated-sources}}) are same, not matter which commit is used (pre-upgrade, post-upgrade).
was (Author: lfryc):
Seems that {{target/generated-sources}} are same, not matter which commit is used (pre-upgrade, post-upgrade).
> Action listener: binding doesn't work
> -------------------------------------
>
> Key: RF-13472
> URL: https://issues.jboss.org/browse/RF-13472
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core, regression
> Affects Versions: 4.5.0.Alpha2, 5.0.0.Alpha3
> Environment: RichFaces 4.5.0-SNAPSHOT, 5.0.0-SNAPSHOT
> Showcase, Metamer
> all browsers
> all application servers
> Reporter: Pavol Pitonak
> Assignee: Lukáš Fryč
> Priority: Blocker
> Labels: regression
> Fix For: 5.0.0.Alpha3
>
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/a4jActionListener/all.xhtml
> or
> # deploy Showcase and open http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=action...
> result:
> * in Showcase this stack trace is displayed instead of page (Metamer is similar)
> {code}
> javax.faces.view.facelets.TagAttributeException: /richfaces/actionListener/samples/actionListener-sample.xhtml @30,88 listener="#{actionListenerBean.handleActionMethod}" null
> com.sun.faces.facelets.tag.TagAttributeImpl.getMethodExpression(TagAttributeImpl.java:232)
> org.richfaces.ui.ajax.ActionListenerHandler.applyAttachedObject(ActionListenerHandler.java:100)
> org.richfaces.ui.ajax.ActionListenerHandler.apply(ActionListenerHandler.java:138)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:166)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:106)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:178)
> com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366)
> com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:111)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> org.richfaces.ui.behavior.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:53)
> com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187)
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:320)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:379)
> com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:358)
> com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155)
> com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:164)
> com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:902)
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99)
> com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
> org.richfaces.demo.arrangeablemodel.PersistenceLifecycle.render(PersistenceLifecycle.java:66)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
> org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:172)
> {code}
> * works fine in RF 4.3.4.Final, there were no changes made in neither Metamer nor Showcase since 4.3.4.Final release
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months