Author: yradtsevich
Date: 2009-02-16 10:58:57 -0500 (Mon, 16 Feb 2009)
New Revision: 13633
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/column.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/column.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataTable.xhtml.xml
Log:
issue JBIDE-3797: columClasses doesn't work in rich:columnGroup
https://jira.jboss.org/jira/browse/JBIDE-3797
- JUnit tests were corrected
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/column.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/column.xhtml 2009-02-16
15:56:26 UTC (rev 13632)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/column.xhtml 2009-02-16
15:58:57 UTC (rev 13633)
@@ -7,6 +7,10 @@
xmlns:rich="http://richfaces.org/rich">
<head>
+<style>
+ .redText {color:red;}
+ .blueText {color:blue;}
+</style>
</head>
<body>
<h1>column</h1>
@@ -35,7 +39,7 @@
</f:facet>
- <rich:columnGroup>
+ <rich:columnGroup columnClasses="redText, blueText">
<rich:column>
<h:outputText value="#{rowKey}" />
</rich:column>
@@ -57,7 +61,6 @@
<f:facet name="footer">
-
<rich:columnGroup>
<rich:column></rich:column>
<rich:column id="column4">
@@ -72,7 +75,6 @@
</rich:columnGroup>
</f:facet>
-
</rich:dataTable>
</h:form>
</body>
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/column.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/column.xhtml.xml 2009-02-16
15:56:26 UTC (rev 13632)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/column.xhtml.xml 2009-02-16
15:58:57 UTC (rev 13633)
@@ -1,22 +1,23 @@
<tests>
<test id="column1">
- <TD COLSPAN="3" CLASS="dr-table-headercell
rich-table-headercell">
- <SPAN> FIELDS</SPAN>
+ <TD COLSPAN="3" ID="column1" CLASS="dr-table-headercell
rich-table-headercell">
+ <SPAN>FIELDS</SPAN>
</TD>
</test>
<test id="column2">
- <TD BREAKBEFORE="true" CLASS="dr-table-headercell
rich-table-headercell">
- <SPAN> field1</SPAN>
+ <TD BREAKBEFORE="true" ID="column2"
+ CLASS="dr-table-headercell rich-table-headercell">
+ <SPAN>field1</SPAN>
</TD>
</test>
<test id="column3">
- <TD CLASS="dr-table-cell rich-table-cell">
- <SPAN> #{row.field1}</SPAN>
+ <TD ID="column3" CLASS="dr-table-cell rich-table-cell
blueText">
+ <SPAN>#{row.field1}</SPAN>
</TD>
</test>
<test id="column4">
- <TD CLASS="dr-table-footercell rich-table-footercell">
- <SPAN> footer1</SPAN>
+ <TD ID="column4" CLASS="dr-table-footercell
rich-table-footercell">
+ <SPAN>footer1</SPAN>
</TD>
</test>
</tests>
\ No newline at end of file
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataTable.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataTable.xhtml.xml 2009-02-16
15:56:26 UTC (rev 13632)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataTable.xhtml.xml 2009-02-16
15:58:57 UTC (rev 13633)
@@ -43,17 +43,17 @@
</TR>
</TFOOT>
<TBODY>
- <TR CLASS="dr-subtable-cell rich-subtable-cell">
- <TD CLASS="dr-table-cell rich-table-cell">
+ <TR CLASS="dr-subtable-cell">
+ <TD CLASS="dr-table-cell rich-table-cell dr-subtable-cell">
<SPAN> #{rowKey}</SPAN>
</TD>
- <TD CLASS="dr-table-cell rich-table-cell">
+ <TD CLASS="dr-table-cell rich-table-cell dr-subtable-cell">
<SPAN> #{row.field1}</SPAN>
</TD>
- <TD CLASS="dr-table-cell rich-table-cell">
+ <TD CLASS="dr-table-cell rich-table-cell dr-subtable-cell">
<SPAN> #{row.field2}</SPAN>
</TD>
- <TD CLASS="dr-table-cell rich-table-cell">
+ <TD CLASS="dr-table-cell rich-table-cell dr-subtable-cell">
<SPAN> #{row.field3}</SPAN>
</TD>
</TR>