myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno Aranda (JIRA)" <...@myfaces.apache.org>
Subject [jira] Resolved: (MYFACES-1606) dataTable with facet does not work
Date Sat, 28 Apr 2007 13:30:16 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bruno Aranda resolved MYFACES-1606.
-----------------------------------

    Resolution: Fixed

> dataTable with facet does not work
> ----------------------------------
>
>                 Key: MYFACES-1606
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1606
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-252
>    Affects Versions: 1.2.0-SNAPSHOT
>         Environment: Tomcat 6.0.10
>            Reporter: Martin Haimberger
>         Assigned To: Bruno Aranda
>             Fix For: 1.2.0-SNAPSHOT
>
>
> Hy,
> if i use a h:dataTable and use facet inside it like:
>        <h:column>
>           <f:facet name="header">
>             <h:outputText value="name" />
>           </f:facet>
>           <h:outputText value="#{item.name}" />
>         </h:column>
> an exception during the rendering is thrown:
> avax.servlet.ServletException: Must be called before the start element is closed (attribute
'scope')
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
> root cause
> java.lang.IllegalStateException: Must be called before the start element is closed (attribute
'scope')
> 	org.apache.myfaces.shared_impl.renderkit.html.HtmlResponseWriterImpl.writeAttribute(HtmlResponseWriterImpl.java:297)
> 	org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.renderColumnHeaderCell(HtmlTableRendererBase.java:835)
> 	org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.renderColumnChildHeaderOrFooterRow(HtmlTableRendererBase.java:777)
> 	org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.renderColumnHeaderOrFooterRow(HtmlTableRendererBase.java:741)
> 	org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.renderColumnHeaderRow(HtmlTableRendererBase.java:671)
> 	org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.renderFacet(HtmlTableRendererBase.java:574)
> 	org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.beforeBody(HtmlTableRendererBase.java:413)
> 	org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:118)
> 	javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:527)
> 	org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:438)
> 	org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:216)
> 	org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:98)
> 	javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:539)
> 	javax.faces.component.UIComponent.encodeAll(UIComponent.java:250)
> 	javax.faces.component.UIComponent.encodeAll(UIComponent.java:247)
> 	javax.faces.component.UIComponent.encodeAll(UIComponent.java:247)
> 	org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:314)
> 	org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
> 	org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
> without facets there is no problem.
> Regards,
> Martin Haimberger

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message