Author: ayanul
Date: 2007-09-27 12:19:32 -0400 (Thu, 27 Sep 2007)
New Revision: 3151
Modified:
trunk/test-applications/jsp/src/main/webapp/DataTable/DT.jsp
Log:
fix bgcolor
Modified: trunk/test-applications/jsp/src/main/webapp/DataTable/DT.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataTable/DT.jsp 2007-09-27 16:16:56 UTC
(rev 3150)
+++ trunk/test-applications/jsp/src/main/webapp/DataTable/DT.jsp 2007-09-27 16:19:32 UTC
(rev 3151)
@@ -3,14 +3,15 @@
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
<f:subview id="DataTableID">
- <h:form>
-
+ <h:form>
<rich:dataTable id="dataTableID" var="dataTableID"
- value="#{dataTable.mounths}" rowKeyVar="key"
styleClass="table"
+ value="#{dataTable.mounths}" rowKeyVar="key"
styleClass="dtStyle"
captionClass="caption" rowClasses="rowa,rowb,rowc rowcc"
- headerClass="header" footerClass="footer"
- onRowClick="alert('row #{key}')"
rendered="#{dataTable.rendered}" align="#{dataTable.align}"
bgcolor="#{dataTable.bgcolor}"
- border="#{dataTable.border}"
columnsWidth="#{dataTable.columnsWidth}" width="#{dataTable.width}"
title="DataTableTite">
+ headerClass="header" footerClass="footer"
+ onRowClick="alert('row #{key}')"
rendered="#{dataTable.rendered}"
+ align="#{dataTable.align}" bgcolor="#{dataTable.bgcolor}"
+ border="#{dataTable.border}"
columnsWidth="#{dataTable.columnsWidth}"
+ width="#{dataTable.width}" title="DataTableTite">
<f:facet name="caption">
<h:outputText value="caption" />
</f:facet>
@@ -93,23 +94,6 @@
<a4j:support event="onchange"
reRender="dataTableID"></a4j:support>
</h:inputText>
- <h:outputText value="Background Colour"></h:outputText>
- <h:selectOneMenu value="#{dataTable.bgcolor}">
- <f:selectItem itemLabel="aqua" itemValue="aqua" />
- <f:selectItem itemLabel="blue" itemValue="blue" />
- <f:selectItem itemLabel="fuchsia" itemValue="fuchsia" />
- <f:selectItem itemLabel="gray" itemValue="gray" />
- <f:selectItem itemLabel="lime" itemValue="lime" />
- <f:selectItem itemLabel="maroon" itemValue="maroon" />
- <f:selectItem itemLabel="purple" itemValue="purple" />
- <f:selectItem itemLabel="red" itemValue="red" />
- <f:selectItem itemLabel="silver" itemValue="silver" />
- <f:selectItem itemLabel="teal" itemValue="teal" />
- <f:selectItem itemLabel="yellow" itemValue="yellow" />
- <f:selectItem itemLabel="white" itemValue="white" />
- <a4j:support event="onclick"
reRender="dataTableID"></a4j:support>
- </h:selectOneMenu>
-
<h:outputText value="rendered:" />
<h:selectBooleanCheckbox value="#{dataTable.rendered}"
onclick="submit();" />