Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
1.0.0-incubating-core
-
None
-
None
-
Tomcat 5.5.17, MyFaces 1.1.5, Facelets 1.1.11, Trinidad Snapshot 1.0.1
Description
a example
<f:view
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:tr="http://myfaces.apache.org/trinidad"
xmlns:trh="http://myfaces.apache.org/trinidad/html"
title="Facelets">
<tr:document>
<tr:panelTabbed position="above">
<tr:showDetailItem text="Tab 1" disabled="true"/>
</tr:panelTabbed>
</tr:document>
</f:view>
deliver me following error:
java.lang.NullPointerException
at org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.FormValueRenderer.addNeededValue(FormValueRenderer.java:125)
at org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.ShowItemRenderer.getPartialChangeScript(ShowItemRenderer.java:82)
at org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.LinkRenderer.getOnClick(LinkRenderer.java:577)
at org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.LinkRenderer.getDestination(LinkRenderer.java:302)
at org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.LinkRenderer.getElementName(LinkRenderer.java:520)
at org.apache.myfaces.trinidadinternal.ui.ElementRenderer.prerender(ElementRenderer.java:69)
at org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafRenderer.prerender(XhtmlLafRenderer.java:199)
at org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.LinkRenderer.prerender(LinkRenderer.java:405)
at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.render(BaseRenderer.java:90)
at org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:83)
at org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.LinkRenderer.render(LinkRenderer.java:54)
at org.apache.myfaces.trinidadinternal.ui.laf.base.desktop.SubTabBarRenderer.renderIndexedChild(SubTabBarRenderer.java:240)
at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.renderContent(BaseRenderer.java:141)
at org.apache.myfaces.trinidadinternal.ui.laf.base.desktop.SubTabBarRenderer.renderContent(SubTabBarRenderer.java:147)
at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.render(BaseRenderer.java:92)
at org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:83)
at org.apache.myfaces.trinidadinternal.ui.laf.base.desktop.PanelTabbedRenderer.prerender(PanelTabbedRenderer.java:87)
at org.apache.myfaces.trinidadinternal.ui.BaseRenderer.render(BaseRenderer.java:90)
at org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:83)
at org.apache.myfaces.trinidadinternal.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:191)
at org.apache.myfaces.trinidadinternal.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:69)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:704)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:263)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:280)
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:137)
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:79)
at org.apache.myfaces.trinidad.render.CoreRenderer.delegateRenderer(CoreRenderer.java:297)
at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.DocumentRenderer.encodeAll(DocumentRenderer.java:81)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:184)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:704)
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:182)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:210)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:167)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:140)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:93)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
that didnt say me <tr:panelTabbed> needs <tr:form> around.
I wish me useful error messages.