Author: mvitenkov
Date: 2008-04-29 10:36:47 -0400 (Tue, 29 Apr 2008)
New Revision: 8320
Modified:
trunk/test-applications/jsp/src/main/webapp/DataTable/DataTable.jsp
trunk/test-applications/jsp/src/main/webapp/DataTable/DataTableProperty.jsp
Log:
var="cell" border="12px" dir="LTR"
elements="#{testBean.elements}" footerClass="style, test"
headerClass="style,test"
onclick="#{event.onclick}"
ondblclick="#{event.ondblclick}"
onkeydown="#{event.onkeydown}"
onkeypress="#{event.onkeypress}"
onkeyup="#{event.onkeyup}"
onmousedown="#{event.onmousedown}"
onmousemove="#{event.onmousemove}"
onmouseout="#{event.onmouseout}"
onmouseover="#{event.onmouseover}"
onmouseup="#{event.onmouseup}"
onRowClick="#{event.onRowClick}"
onRowDblClick="#{event.onRowDblClick}"
onRowMouseDown="#{event.onRowMouseDown}"
onRowMouseMove="#{event.onRowMouseMove}"
onRowMouseOut="#{event.onRowMouseOut}"
onRowMouseOver="#{event.onRowMouseOver}"
onRowMouseUp="#{event.onRowMouseUp}"
rowKeyVar="myVar">
Modified: trunk/test-applications/jsp/src/main/webapp/DataTable/DataTable.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataTable/DataTable.jsp 2008-04-29
14:34:06 UTC (rev 8319)
+++ trunk/test-applications/jsp/src/main/webapp/DataTable/DataTable.jsp 2008-04-29
14:36:47 UTC (rev 8320)
@@ -75,4 +75,52 @@
<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" border="12px" dir="LTR"
+ elements="#{testBean.elements}" footerClass="style, test"
headerClass="style,test"
+ onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}"
+ onRowClick="#{event.onRowClick}"
+ onRowDblClick="#{event.onRowDblClick}"
+ onRowMouseDown="#{event.onRowMouseDown}"
+ onRowMouseMove="#{event.onRowMouseMove}"
+ onRowMouseOut="#{event.onRowMouseOut}"
+ onRowMouseOver="#{event.onRowMouseOver}"
+ onRowMouseUp="#{event.onRowMouseUp}"
+ rowKeyVar="myVar">
+
+ <f:facet name="header">
+ <f:verbatim>HEADER</f:verbatim>
+ </f:facet>
+
+ <h:outputLabel value="Value:" for="field" />
+ <h:inputText id="field" value="#{cell.value}"
required="true"/>
+ <h:outputText value="rowKeyVar:"></h:outputText>
+ <h:outputText value="#{myVar}"></h:outputText>
+
+ <f:facet name="footer">
+ <f:verbatim>FOOTER</f:verbatim>
+ </f:facet>
+ </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>
Modified: trunk/test-applications/jsp/src/main/webapp/DataTable/DataTableProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataTable/DataTableProperty.jsp 2008-04-29
14:34:06 UTC (rev 8319)
+++ trunk/test-applications/jsp/src/main/webapp/DataTable/DataTableProperty.jsp 2008-04-29
14:36:47 UTC (rev 8320)
@@ -33,5 +33,8 @@
<h:outputText value=" row 2 rendered" />
<h:selectBooleanCheckbox value="#{dataTable.r2rendered}"
onclick="submit();" />
+
+ <h:outputText value="elements:"></h:outputText>
+ <h:outputText value="#{testBean.elements}"></h:outputText>
</h:panelGrid>
</f:subview>
\ No newline at end of file
Show replies by date