[richfaces-svn-commits] JBoss Rich Faces SVN: r6097 - in trunk: samples/richfaces-demo/src/main/java/org/richfaces/demo/datafilterslider and 2 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Thu Feb 14 12:56:46 EST 2008


Author: sergeyhalipov
Date: 2008-02-14 12:56:46 -0500 (Thu, 14 Feb 2008)
New Revision: 6097

Modified:
   trunk/samples/dataFilterSliderDemo/src/main/java/org/richfaces/DemoInventoryList.java
   trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/datafilterslider/DemoInventoryList.java
   trunk/test-applications/facelets/src/main/java/dfs/DemoInventoryList.java
   trunk/test-applications/jsp/src/main/java/dfs/DemoInventoryList.java
Log:
http://jira.jboss.com/jira/browse/RF-2237

Modified: trunk/samples/dataFilterSliderDemo/src/main/java/org/richfaces/DemoInventoryList.java
===================================================================
--- trunk/samples/dataFilterSliderDemo/src/main/java/org/richfaces/DemoInventoryList.java	2008-02-14 17:53:17 UTC (rev 6096)
+++ trunk/samples/dataFilterSliderDemo/src/main/java/org/richfaces/DemoInventoryList.java	2008-02-14 17:56:46 UTC (rev 6097)
@@ -251,7 +251,8 @@
 
     public void filterCarList(ActionEvent event) {
 
-        getDataFilterSlider().resetDataTable();
+    	UIDataFltrSlider slider = getDataFilterSlider();
+    	slider.resetDataTable();
 
         try{
             filterValue = String.valueOf(carMakeIndexUIData.getRowIndex());
@@ -264,7 +265,7 @@
             e.printStackTrace();
         }
 
-
+        slider.filterDataTable(slider.getHandleValue());
     }
 
     private static String getAttribute(ActionEvent event, String name) {

Modified: trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/datafilterslider/DemoInventoryList.java
===================================================================
--- trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/datafilterslider/DemoInventoryList.java	2008-02-14 17:53:17 UTC (rev 6096)
+++ trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/datafilterslider/DemoInventoryList.java	2008-02-14 17:56:46 UTC (rev 6097)
@@ -231,7 +231,8 @@
 
     public void filterCarList(ActionEvent event) {
 
-        getDataFilterSlider().resetDataTable();
+    	UIDataFltrSlider slider = getDataFilterSlider();
+    	slider.resetDataTable();
 
         try{
             filterValue = String.valueOf(carMakeIndexUIData.getRowIndex());
@@ -244,7 +245,7 @@
             e.printStackTrace();
         }
 
-
+        slider.filterDataTable(slider.getHandleValue());
     }
 
     private static String getAttribute(ActionEvent event, String name) {

Modified: trunk/test-applications/facelets/src/main/java/dfs/DemoInventoryList.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/dfs/DemoInventoryList.java	2008-02-14 17:53:17 UTC (rev 6096)
+++ trunk/test-applications/facelets/src/main/java/dfs/DemoInventoryList.java	2008-02-14 17:56:46 UTC (rev 6097)
@@ -251,7 +251,8 @@
 
     public void filterCarList(ActionEvent event) {
 
-        getDataFilterSlider().resetDataTable();
+    	UIDataFltrSlider slider = getDataFilterSlider();
+    	slider.resetDataTable();
 
         try{
             filterValue = String.valueOf(carMakeIndexUIData.getRowIndex());
@@ -264,7 +265,7 @@
             e.printStackTrace();
         }
 
-
+        slider.filterDataTable(slider.getHandleValue());
     }
 
     private static String getAttribute(ActionEvent event, String name) {

Modified: trunk/test-applications/jsp/src/main/java/dfs/DemoInventoryList.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/dfs/DemoInventoryList.java	2008-02-14 17:53:17 UTC (rev 6096)
+++ trunk/test-applications/jsp/src/main/java/dfs/DemoInventoryList.java	2008-02-14 17:56:46 UTC (rev 6097)
@@ -251,7 +251,8 @@
 
     public void filterCarList(ActionEvent event) {
 
-        getDataFilterSlider().resetDataTable();
+    	UIDataFltrSlider slider = getDataFilterSlider();
+    	slider.resetDataTable();
 
         try{
             filterValue = String.valueOf(carMakeIndexUIData.getRowIndex());
@@ -264,7 +265,7 @@
             e.printStackTrace();
         }
 
-
+        slider.filterDataTable(slider.getHandleValue());
     }
 
     private static String getAttribute(ActionEvent event, String name) {




More information about the richfaces-svn-commits mailing list