incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r528354 - /incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/java/org/apache/myfaces/trinidaddemo/dialog/PeriodicDialogBean.java
Date Fri, 13 Apr 2007 04:48:55 GMT
Author: awiner
Date: Thu Apr 12 21:48:55 2007
New Revision: 528354

URL: http://svn.apache.org/viewvc?view=rev&rev=528354
Log:
ADFFACES-435: Problem with inputListOfValues demo
- A demo problem - the code was assuming that table keys were strings (for no reason);
  got rid of the unnecessary cast

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/java/org/apache/myfaces/trinidaddemo/dialog/PeriodicDialogBean.java

Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/java/org/apache/myfaces/trinidaddemo/dialog/PeriodicDialogBean.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/java/org/apache/myfaces/trinidaddemo/dialog/PeriodicDialogBean.java?view=diff&rev=528354&r1=528353&r2=528354
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/java/org/apache/myfaces/trinidaddemo/dialog/PeriodicDialogBean.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/java/org/apache/myfaces/trinidaddemo/dialog/PeriodicDialogBean.java
Thu Apr 12 21:48:55 2007
@@ -52,7 +52,7 @@
     // be a selected row - an exception will result here if there
     // isn't.  Is there some better code?
     Iterator<Object> iterator = _table.getSelectedRowKeys().iterator();
-    String rowKey = (String) iterator.next();
+    Object rowKey = iterator.next();
     Object oldRowKey = _table.getRowKey();
     _table.setRowKey(rowKey);
     ValueBinding binding = context.getApplication().



Mime
View raw message