Author: andrei_exadel
Date: 2008-03-11 10:13:39 -0400 (Tue, 11 Mar 2008)
New Revision: 6693
Modified:
trunk/samples/columnsDemo/src/main/java/org/richfaces/sandbox/samples/Bean.java
Log:
Modified: trunk/samples/columnsDemo/src/main/java/org/richfaces/sandbox/samples/Bean.java
===================================================================
---
trunk/samples/columnsDemo/src/main/java/org/richfaces/sandbox/samples/Bean.java 2008-03-11
14:04:37 UTC (rev 6692)
+++
trunk/samples/columnsDemo/src/main/java/org/richfaces/sandbox/samples/Bean.java 2008-03-11
14:13:39 UTC (rev 6693)
@@ -117,10 +117,10 @@
}
}
- private String [] initArray(int row) {
- String [] arr = new String [columns.size()];
+ private Object [] initArray(int row) {
+ Object [] arr = new Object [columns.size()];
for (int i = 0; i < arr.length; i++) {
- arr[i] = Integer.toString(row+i);
+ arr[i] = ((Double)(Math.random() * 100.0)).intValue();
}
return arr;
}
Show replies by date