panelLayout displays buggy nested panelGrids
--------------------------------------------

         Key: MYFACES-207
         URL: http://issues.apache.org/jira/browse/MYFACES-207
     Project: MyFaces
        Type: Bug
    Versions: 1.0.9 beta    
 Environment: Windows 2000, Tomcat 5.0, jdk1.4.1
    Reporter: Martin Zdila


Nesting more than one panelGrids into panelLayout causes wrong rendering. Most 
often only first panelGrid gets rendered or none or only a part.

eg.:
JSP:

<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/extensions"; prefix="x"%>
<html>

<f:view>
<body style="background-color: red">
        <x:panelLayout id="page" layout="classic" styleClass="pageLayout"
                headerClass="pageHeader" navigationClass="pageNavigation"
                bodyClass="pageBody" footerClass="pageFooter" 
bodyStyle="background-color: red">
                <f:facet name="body">
                        <h:panelGrid id="pageHeader1" columns="3">
                                <h:outputText value="foo1" />
                                <h:outputText value="foo2" />
                                <h:outputText value="foo3" />
                        </h:panelGrid>
                        <h:panelGrid id="pageHeader2" columns="3">
                                <h:outputText value="foo4" />
                                <h:outputText value="foo5" />
                                <h:outputText value="foo6" />
                        </h:panelGrid>
                </f:facet>

        </x:panelLayout>


</body>
</f:view>
</html>


generated HTML:



<html>
<body style="background-color: red">
        <table class="pageLayout"><tr><td class="pageBody" 
style="background-color: red"><table 
id="pageHeader1"><tbody><tr><td>foo4</td><td>foo5</td><td></td></tr>
</tbody></table></td></tr></table>

</body>
</html>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to