Author: mvitenkov
Date: 2008-07-01 07:57:46 -0400 (Tue, 01 Jul 2008)
New Revision: 9314
Modified:
trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScroller.jsp
trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScrollerProperty.jsp
Log:
sorting correction
Modified: trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScroller.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScroller.jsp 2008-07-01
11:45:13 UTC (rev 9313)
+++ trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScroller.jsp 2008-07-01
11:57:46 UTC (rev 9314)
@@ -33,11 +33,10 @@
</f:facet>
<rich:column sortBy="#{dT.str0}" filterBy="#{dT.str0}"
filterEvent="onchange"
- selfSorted="#{dataScroller.selfSorted}"
sortOrder="#{dataScroller.sortOrder}"
filterValue="#{dataScroller.filterValue}">
+ selfSorted="#{dataScroller.selfSorted}"
filterValue="#{dataScroller.filterValue}">
<h:outputText value="#{dT.str0}" />
</rich:column>
- <rich:column sortBy="#{dT.int0}" filterBy="#{dT.int0}"
filterEvent="onchange"
- sortOrder="#{dataScroller.sortOrder}">
+ <rich:column sortBy="#{dT.int0}" filterBy="#{dT.int0}"
filterEvent="onchange" selfSorted="#{dataScroller.selfSorted}">
<h:outputText value="#{dT.int0} " />
</rich:column>
</rich:dataTable>
Modified:
trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScrollerProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScrollerProperty.jsp 2008-07-01
11:45:13 UTC (rev 9313)
+++
trunk/test-applications/jsp/src/main/webapp/DataScroller/DataScrollerProperty.jsp 2008-07-01
11:57:46 UTC (rev 9314)
@@ -74,16 +74,8 @@
<f:selectItem itemLabel="multi" itemValue="multi" />
<a4j:support event="onchange"
reRender="dataTableId,dsID"></a4j:support>
</h:selectOneRadio>
-
- <h:outputText value="sortOrder"></h:outputText>
- <h:selectOneRadio value="#{dataScroller.currentSortOrder}">
- <f:selectItem itemLabel="ASCENDING" itemValue="ASCENDING"
/>
- <f:selectItem itemLabel="DESCENDING" itemValue="DESCENDING"
/>
- <f:selectItem itemLabel="UNSORTED" itemValue="UNSORTED" />
- <a4j:support event="onchange"
reRender="dataTableId,dsID"></a4j:support>
- </h:selectOneRadio>
-
- <h:outputText value="selfSorted(1st)"></h:outputText>
+
+ <h:outputText value="selfSorted"></h:outputText>
<h:selectBooleanCheckbox value="#{dataScroller.selfSorted}">
<a4j:support event="onchange"
reRender="dataTableId,dsID"></a4j:support>
</h:selectBooleanCheckbox>
Show replies by date