Author: mvitenkov
Date: 2008-12-05 09:40:43 -0500 (Fri, 05 Dec 2008)
New Revision: 11579
Modified:
trunk/test-applications/seamApp/web/src/main/webapp/DataScroller/DataScroller.xhtml
Log:
correction
Modified:
trunk/test-applications/seamApp/web/src/main/webapp/DataScroller/DataScroller.xhtml
===================================================================
---
trunk/test-applications/seamApp/web/src/main/webapp/DataScroller/DataScroller.xhtml 2008-12-05
14:36:18 UTC (rev 11578)
+++
trunk/test-applications/seamApp/web/src/main/webapp/DataScroller/DataScroller.xhtml 2008-12-05
14:40:43 UTC (rev 11579)
@@ -3,7 +3,17 @@
<rich:dataTable id="dataTableId"
value="#{dataScroller.dataTable}" sortMode="#{dataScroller.sortMode}"
var="dT" cellpadding="5px" rows="5" border="1"
reRender="dsID">
<f:facet name="header">
- <rich:datascroller inactiveStyle="#{style.inactiveStyle}"
inactiveStyleClass="#{style.inactiveStyleClass}"
+ </f:facet>
+ <rich:column sortBy="#{dT.str0}" filterBy="#{dT.str0}"
filterEvent="onchange"
+ selfSorted="#{dataScroller.selfSorted}"
sortOrder="#{dataScroller.sortOrder}"
filterValue="#{dataScroller.filterValue}">
+ <h:outputText value="#{dT.str0}" />
+ </rich:column>
+ <rich:column sortBy="#{dT.int0}" filterBy="#{dT.int0}"
filterEvent="onchange"
+ sortOrder="#{dataScroller.sortOrder}">
+ <h:outputText value="#{dT.int0} " />
+ </rich:column>
+ </rich:dataTable>
+ <rich:datascroller for="dataTableId"
inactiveStyle="#{style.inactiveStyle}"
inactiveStyleClass="#{style.inactiveStyleClass}"
selectedStyle="#{style.selectedStyle}"
selectedStyleClass="#{style.selectedStyleClass}"
style="#{style.style}"
styleClass="#{style.styleClass}" tableStyle="#{style.tableStyle}"
tableStyleClass="#{style.tableStyleClass}"
fastControls="#{dataScroller.fastControls}"
action="#{dataScroller.act}"
actionListener="#{dataScroller.actListener}"
@@ -20,16 +30,6 @@
onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
id="dsID"
binding="#{dataScroller.htmlDatascroller}"
reRender="dataTableId">
</rich:datascroller>
- </f:facet>
- <rich:column sortBy="#{dT.str0}" filterBy="#{dT.str0}"
filterEvent="onchange"
- selfSorted="#{dataScroller.selfSorted}"
sortOrder="#{dataScroller.sortOrder}"
filterValue="#{dataScroller.filterValue}">
- <h:outputText value="#{dT.str0}" />
- </rich:column>
- <rich:column sortBy="#{dT.int0}" filterBy="#{dT.int0}"
filterEvent="onchange"
- sortOrder="#{dataScroller.sortOrder}">
- <h:outputText value="#{dT.int0} " />
- </rich:column>
- </rich:dataTable>
<h:panelGrid id="dataScrollerActionID" columns="1">
<a4j:commandButton value="Show action"
reRender="dataScrollerActionID" style=" width :
95px;"></a4j:commandButton>
<h:outputText value="#{dataScroller.action}" />
Show replies by date