Author: maksimkaszynski
Date: 2008-03-07 07:17:26 -0500 (Fri, 07 Mar 2008)
New Revision: 6619
Modified:
trunk/samples/richfaces-demo/src/main/java/org/richfaces/datatablescroller/DataTableScrollerBean.java
Log:
fixed syntax for J5
Modified:
trunk/samples/richfaces-demo/src/main/java/org/richfaces/datatablescroller/DataTableScrollerBean.java
===================================================================
---
trunk/samples/richfaces-demo/src/main/java/org/richfaces/datatablescroller/DataTableScrollerBean.java 2008-03-07
12:17:22 UTC (rev 6618)
+++
trunk/samples/richfaces-demo/src/main/java/org/richfaces/datatablescroller/DataTableScrollerBean.java 2008-03-07
12:17:26 UTC (rev 6619)
@@ -167,9 +167,9 @@
public String takeSelection() {
getSelectedCars().clear();
- Iterator<SimpleRowKey> iterator = getSelection().getKeys();
+ Iterator<Object> iterator = getSelection().getKeys();
while (iterator.hasNext()){
- SimpleRowKey key = iterator.next();
+ Object key = iterator.next();
table.setRowKey(key);
if (table.isRowAvailable()) {
getSelectedCars().add((DemoInventoryItem) table.getRowData());
Show replies by date