Author: mvitenkov
Date: 2008-09-11 11:31:11 -0400 (Thu, 11 Sep 2008)
New Revision: 10416
Modified:
trunk/test-applications/jsp/src/main/java/dataScroller/DataScroller.java
Log:
Correct data for filtering testing.
Modified: trunk/test-applications/jsp/src/main/java/dataScroller/DataScroller.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/dataScroller/DataScroller.java 2008-09-11
15:24:56 UTC (rev 10415)
+++ trunk/test-applications/jsp/src/main/java/dataScroller/DataScroller.java 2008-09-11
15:31:11 UTC (rev 10416)
@@ -1,6 +1,7 @@
package dataScroller;
import java.util.ArrayList;
+import java.util.Random;
import javax.faces.event.ActionEvent;
@@ -138,13 +139,13 @@
sortMode = "single";
sortOrder = Ordering.ASCENDING;
selfSorted = true;
- currentSortOrder = "ASCENDING";
-
+ currentSortOrder = "ASCENDING";
dataTable = new ArrayList();
for(int i=0;i<1000;i++)
{
- dataTable.add(new Data("Random",i));
+
+ dataTable.add(new Data(Data.Random(6),i));
}
}