shale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Schofield" <sean.schofi...@gmail.com>
Subject Re: Tiger (annotations) + Facelets
Date Fri, 11 Aug 2006 01:57:26 GMT
Matthias,

I checked in my stuff to the shale-goodies project.  There's a managed
bean annotation in there that works fine with facelets.  Maybe it will
help.  I'm off on vacation next week but if you're still having
trouble when I get back I can take a look at your code.

Sean

On 8/8/06, Matthias Wessendorf <matzew@apache.org> wrote:
> thx,
>
> but I still get this error. I hope I've time to look deeper into it.
>
> -Matt
>
> <snip>
>
> javax.faces.el.PropertyNotFoundException: /index.xhtml @23,102
> value="#{helloWorldBacking.name}": Target Unreachable, identifier
> 'helloWorldBacking' resolved to null
>         at com.sun.facelets.el.LegacyValueBinding.isReadOnly(LegacyValueBinding.java:84)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:226)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormElementRenderer.renderAsElement(FormElementRenderer.java:171)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.InputLabelAndMessageRenderer.getLabelFor(InputLabelAndMessageRenderer.java:70)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.LabelAndMessageRenderer$Label.getForId(LabelAndMessageRenderer.java:565)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.OutputLabelRenderer.encodeAll(OutputLabelRenderer.java:81)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderer.delegateRenderer(CoreRenderer.java:290)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.LabelAndMessageRenderer._renderLabelCell(LabelAndMessageRenderer.java:314)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.LabelAndMessageRenderer.encodeAll(LabelAndMessageRenderer.java:231)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.InputLabelAndMessageRenderer.encodeAll(InputLabelAndMessageRenderer.java:111)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:178)
>         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:670)
>         at org.apache.myfaces.trinidadinternal.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:326)
>         at org.apache.myfaces.trinidadinternal.uinode.UIComponentUINode.render(UIComponentUINode.java:272)
>         at org.apache.myfaces.trinidadinternal.uinode.UIComponentUINode.render(UIComponentUINode.java:249)
>         at org.apache.myfaces.trinidadinternal.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(ContextPoppingUINode.java:234)
>         at org.apache.myfaces.trinidadinternal.ui.BaseUINode.render(BaseUINode.java:356)
>         at org.apache.myfaces.trinidadinternal.ui.BaseUINode.render(BaseUINode.java:311)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.renderChild(BaseRenderer.java:422)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:340)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:232)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.renderContent(BaseRenderer.java:139)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.render(BaseRenderer.java:91)
>         at org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:78)
>         at org.apache.myfaces.trinidadinternal.ui.BaseUINode.render(BaseUINode.java:356)
>         at org.apache.myfaces.trinidadinternal.ui.BaseUINode.render(BaseUINode.java:311)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.renderChild(BaseRenderer.java:422)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:340)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:232)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.renderContent(BaseRenderer.java:139)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.render(BaseRenderer.java:91)
>         at org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:78)
>         at org.apache.myfaces.trinidadinternal.ui.BaseUINode.render(BaseUINode.java:356)
>         at org.apache.myfaces.trinidadinternal.ui.BaseUINode.render(BaseUINode.java:311)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.renderChild(BaseRenderer.java:422)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:340)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:232)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.renderContent(BaseRenderer.java:139)
>         at org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(BorderLayoutRenderer.java:52)
>         at org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(BorderLayoutRenderer.java:81)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.render(BaseRenderer.java:91)
>         at org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:78)
>         at org.apache.myfaces.trinidadinternal.ui.BaseUINode.render(BaseUINode.java:356)
>         at org.apache.myfaces.trinidadinternal.ui.BaseUINode.render(BaseUINode.java:311)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.renderChild(BaseRenderer.java:422)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:340)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:232)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.renderContent(BaseRenderer.java:139)
>         at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.render(BaseRenderer.java:91)
>         at org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:78)
>         at org.apache.myfaces.trinidadinternal.ui.BaseUINode.render(BaseUINode.java:356)
>         at org.apache.myfaces.trinidadinternal.ui.BaseUINode.render(BaseUINode.java:311)
>         at org.apache.myfaces.trinidadinternal.ui.composite.UINodeRenderer.renderWithNode(UINodeRenderer.java:100)
>         at org.apache.myfaces.trinidadinternal.ui.composite.UINodeRenderer.render(UINodeRenderer.java:46)
>         at org.apache.myfaces.trinidadinternal.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:187)
>         at org.apache.myfaces.trinidadinternal.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:63)
>         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:670)
>         at org.apache.myfaces.trinidadinternal.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:64)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:251)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:274)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:73)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:130)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:153)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:75)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderer.delegateRenderer(CoreRenderer.java:290)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.DocumentRenderer.encodeAll(DocumentRenderer.java:75)
>         at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:178)
>         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:670)
>         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
>         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
>         at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
>         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:170)
>         at org.apache.shale.view.faces.ViewViewHandler.renderView(ViewViewHandler.java:150)
>         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
>         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
>         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:442)
>         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1051)
>         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
>         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1042)
>         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:320)
>         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:289)
>         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:213)
>         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:90)
>         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1042)
>         at org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:271)
>         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1042)
>         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:355)
>         at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
>         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:615)
>         at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:150)
>         at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
>         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
>         at org.mortbay.jetty.Server.handle(Server.java:272)
>         at org.mortbay.jetty.HttpConnection.handlerRequest(HttpConnection.java:402)
>         at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:648)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:488)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:198)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:317)
>         at org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
>         at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
>
> </snip>
>
> On 8/8/06, Sean Schofield <sean.schofield@gmail.com> wrote:
> > Facelets and Tiger annotations work fine for me. I'm not using the
> > view controller stuff yet (@Init) but @Bean and @Property work fine
> > for me.  As soon as I finish refactoring for the new package names I
> > will check into shale-goodies.
> >
> > Sean
> >
> > On 8/7/06, Sean Schofield <sean.schofield@gmail.com> wrote:
> > > I'm about to add the annotations stuff to my petstore app (which uses
> > > facelets) so I will let you know what I find shortly.
> > >
> > > Sean
> > >
> > > On 8/6/06, Matthias Wessendorf <matzew@apache.org> wrote:
> > > > not only @Bean(...)
> > > >
> > > > also
> > > >
> > > >   @Init
> > > >   public void myInit() {
> > > >     System.out.println(getClass());
> > > >     _name = "FUNKY DJ!";
> > > >   }
> > > >
> > > > is not working
> > > >
> > > > On 8/6/06, Matthias Wessendorf <matzew@apache.org> wrote:
> > > > > hi,
> > > > >
> > > > > anybody used Tiger w/ Facelets?
> > > > >
> > > > > I get (in Jetty6)
> > > > > javax.faces.el.PropertyNotFoundException: /index.xhtml @23,102
> > > > > value="#{helloWorldBacking.name}": Target Unreachable, identifier
> > > > > 'helloWorldBacking' resolved to null
> > > > >         at com.sun.facelets.el.LegacyValueBinding.isReadOnly(LegacyValueBinding.java:84)
> > > > >
> > > > > thx
> > > > >
> > > > > --
> > > > > Matthias Wessendorf
> > > > >
> > > > > further stuff:
> > > > > blog: http://jroller.com/page/mwessendorf
> > > > > mail: mwessendorf-at-gmail-dot-com
> > > > >
> > > >
> > > >
> > > > --
> > > > Matthias Wessendorf
> > > >
> > > > further stuff:
> > > > blog: http://jroller.com/page/mwessendorf
> > > > mail: mwessendorf-at-gmail-dot-com
> > > >
> > >
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>

Mime
View raw message