Author: andrei_exadel
Date: 2008-03-11 10:35:10 -0400 (Tue, 11 Mar 2008)
New Revision: 6694
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:13:39 UTC (rev 6693)
+++
trunk/samples/columnsDemo/src/main/java/org/richfaces/sandbox/samples/Bean.java 2008-03-11
14:35:10 UTC (rev 6694)
@@ -120,7 +120,8 @@
private Object [] initArray(int row) {
Object [] arr = new Object [columns.size()];
for (int i = 0; i < arr.length; i++) {
- arr[i] = ((Double)(Math.random() * 100.0)).intValue();
+ int r = ((Double)(Math.random() * 100.0)).intValue();
+ arr[i] = (r < 10) ? "0" + Integer.toString(r) : Integer.toString(r);
}
return arr;
}
Show replies by date