[
https://issues.apache.org/jira/browse/TRINIDAD-2228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228478#comment-13228478
]
Scott O'Bryan edited comment on TRINIDAD-2228 at 3/13/12 4:19 PM:
------------------------------------------------------------------
Awesome addition Pawel. Maybe that's the piece we were missing. I notice that
the Trinidad ChangeApplyingVDLWrapper is in the mix and I'm wondering if that
doesn't imply some contract. I'm wondering if adding a value attribute might
not fix the issue. If it does then the issue is undoubtedly connected to
TRINIDAD-2121 or TRINIDAD-2073. Maybe Prakash can comment.
I either case, I agree that this is an issue. One should not have to "hack" a
declarative component with a custom attribute. Hrm..
was (Author: darkarena):
Awesome addition Pawel. Maybe that's the piece we were missing. I notice
that the Trinidad ChangeApplyingVDLWrapper is in the mix and I'm wondering if
that doesn't imply some contract. I'm wondering if adding a value attribute
might not fix the issue. If it does then the issue is undoubtedly connected to
TRINIDAD-2121 or TRINIDAD-2073. Maybe Prakash can comment.
> java.lang.UnsupportedOperationException
> ---------------------------------------
>
> Key: TRINIDAD-2228
> URL: https://issues.apache.org/jira/browse/TRINIDAD-2228
> Project: MyFaces Trinidad
> Issue Type: Bug
> Affects Versions: 2.0.1-core
> Environment: Ubuntu, Java 1.6, Jetty or Tomcat 7
> Reporter: Walter MourĂ£o
> Assignee: Scott O'Bryan
> Priority: Blocker
> Fix For: 2.0.2-core
>
> Attachments: autocomplete.zip
>
>
> Same project, with Trinidad 2.0.0 works fine, with Trinidad 2.0.1,
> "java.lang.UnsupportedOperationException" in pages containing composite
> components.
> Stack trace:
> java.lang.UnsupportedOperationException
> at
> javax.faces.view.ViewDeclarationLanguage.retargetMethodExpressions(ViewDeclarationLanguage.java:75)
> at
> org.apache.myfaces.view.facelets.tag.composite.CompositeComponentResourceTagHandler.applyNextHandler(CompositeComponentResourceTagHandler.java:181)
> at
> org.apache.myfaces.view.facelets.tag.jsf.ComponentTagHandlerDelegate.apply(ComponentTagHandlerDelegate.java:291)
> at
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:53)
> at
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:58)
> at
> org.apache.myfaces.view.facelets.tag.jsf.ComponentTagHandlerDelegate.apply(ComponentTagHandlerDelegate.java:291)
> at
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:53)
> at
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:49)
> at
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:58)
> at
> org.apache.myfaces.view.facelets.tag.jsf.ComponentTagHandlerDelegate.apply(ComponentTagHandlerDelegate.java:291)
> at
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:53)
> at
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:58)
> at
> org.apache.myfaces.view.facelets.tag.jsf.ComponentTagHandlerDelegate.apply(ComponentTagHandlerDelegate.java:291)
> at
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:53)
> at
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:49)
> at
> javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:58)
> at
> org.apache.myfaces.view.facelets.tag.jsf.ComponentTagHandlerDelegate.apply(ComponentTagHandlerDelegate.java:291)
> at
> javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:53)
> at
> org.apache.myfaces.view.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:57)
> at
> org.apache.myfaces.view.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:45)
> at
> org.apache.myfaces.view.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:151)
> at
> org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.buildView(FaceletViewDeclarationLanguage.java:435)
> at
> org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.buildView(ViewDeclarationLanguageFactoryImpl.java:342)
> at
> org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:77)
> at
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:199)
--
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