Author: mvitenkov
Date: 2008-04-29 08:48:19 -0400 (Tue, 29 Apr 2008)
New Revision: 8296
Modified:
trunk/test-applications/facelets/src/main/webapp/DataTable/DataTable.xhtml
Log:
+dataTable with dataGrid & multiple inputs inside dataGrid.
Modified: trunk/test-applications/facelets/src/main/webapp/DataTable/DataTable.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/DataTable/DataTable.xhtml 2008-04-29
12:47:29 UTC (rev 8295)
+++ trunk/test-applications/facelets/src/main/webapp/DataTable/DataTable.xhtml 2008-04-29
12:48:19 UTC (rev 8296)
@@ -71,4 +71,22 @@
<h:outputText value="#{dataTableID.total}" />
</rich:column>
</rich:dataTable>
+
+ <h1>Test page</h1>
+ <a4j:outputPanel id="panel">
+ <h:dataTable id="c1" border="1"
value="#{testBean.tables}"
+ var="table">
+ <h:column>
+ <rich:dataGrid id="c2" columns="2"
value="#{table.cells}"
+ var="cell">
+ <h:outputLabel value="Value:" for="field" />
+ <h:inputText id="field" value="#{cell.value}"
required="true"/>
+ </rich:dataGrid>
+ </h:column>
+ </h:dataTable>
+ <h:messages />
+ </a4j:outputPanel>
+ <h:commandButton action="#{testBean.submit}" value="Submit"
/>
+ <a4j:commandButton action="#{testBean.submitAjax}" value="Submit
Ajax" reRender="panel"/>
+
</f:subview>
Show replies by date