Author: mvitenkov
Date: 2008-09-12 07:43:39 -0400 (Fri, 12 Sep 2008)
New Revision: 10429
Modified:
trunk/test-applications/jsp/src/main/webapp/DataTable/DataTable.jsp
Log:
mark initial and target node.
Modified: trunk/test-applications/jsp/src/main/webapp/DataTable/DataTable.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataTable/DataTable.jsp 2008-09-12
11:23:31 UTC (rev 10428)
+++ trunk/test-applications/jsp/src/main/webapp/DataTable/DataTable.jsp 2008-09-12
11:43:39 UTC (rev 10429)
@@ -40,7 +40,7 @@
<rich:dataTable id="dataTableID"
binding="#{dataTable.htmlDataTable}" var="dataTableID"
value="#{dataTable.mounths}" rowKeyVar="key"
captionClass="#{style.captionClass}"
rowClasses="#{style.rowClasses}" headerClass="#{style.headerClass}"
footerClass="#{style.footerClass}" styleClass="#{style.styleClass}"
captionStyle="#{style.captionStyle}"
columnClasses="#{style.columnClasses}"
- onRowClick="#{event.onRowClick};alert('row #{key}');"
rendered="#{dataTable.rendered}"
+ onRowClick="#{event.onRowClick}"
rendered="#{dataTable.rendered}"
align="#{dataTable.align}" bgcolor="red"
border="#{dataTable.border}" columnsWidth="#{dataTable.columnsWidth}"
width="#{dataTable.width}" title="DataTableTite"
onRowDblClick="#{event.onRowDblClick}"
onRowMouseDown="#{event.onRowMouseDown}"
onRowMouseMove="#{event.onRowMouseMove}"
onRowMouseOut="#{event.onRowMouseOut}"
onRowMouseOver="#{event.onRowMouseOver}"
@@ -48,6 +48,7 @@
onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
onmousedown="#{event.onmousedown}"
onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
onmouseover="#{event.onmouseover}"
onmouseup="#{event.onmouseup}">
+ <a4j:support event="onRowDblClick"
action="#{controller.rfAction}"></a4j:support>
<f:facet name="caption">
<h:outputText value="caption facet" />
</f:facet>
@@ -103,6 +104,7 @@
acceptedTypes="treeNode" dragType="treeNode"
var="item">
<rich:dndParam name="treeParam" value="rightTree" />
</rich:tree>
+ <div>column with the 1st tree</div>
</rich:column>
<rich:subTable id="detail" var="detail"
value="#{dataTableID.detail}" rowKeyVar="subRowKey"
columnClasses="#{style.columnClassesA}"
footerClass="#{style.footerClassA}"
headerClass="#{style.headerClassA}" rowClasses="#{style.rowClassesA}"
onclick="#{event.onclick}"
@@ -127,7 +129,8 @@
var="item" >
<rich:dndParam name="treeParam" value="leftTree" />
- </rich:tree>
+ </rich:tree>
+ <div>column with the 2nd tree</div>
</rich:column>
<rich:column id="qty" rendered="#{dataTable.r2rendered}">
<h:outputText value="#{detail.qty}" />
Show replies by date