myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r832027 - /myfaces/core/trunk/api/src/main/java/javax/faces/component/behavior/AjaxBehavior.java
Date Mon, 02 Nov 2009 18:40:54 GMT
Author: lu4242
Date: Mon Nov  2 18:40:54 2009
New Revision: 832027

URL: http://svn.apache.org/viewvc?rev=832027&view=rev
Log:
MYFACES-2116 TODO 65: Partial View Lifecycle (client ids are separated by spaces, not by commas)
(Thanks to Dejmek Dominik for this patch)

Modified:
    myfaces/core/trunk/api/src/main/java/javax/faces/component/behavior/AjaxBehavior.java

Modified: myfaces/core/trunk/api/src/main/java/javax/faces/component/behavior/AjaxBehavior.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/behavior/AjaxBehavior.java?rev=832027&r1=832026&r2=832027&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/component/behavior/AjaxBehavior.java
(original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/component/behavior/AjaxBehavior.java
Mon Nov  2 18:40:54 2009
@@ -124,10 +124,6 @@
 
     public Collection<String> getRender() {
         Object render = deltaStateHelper.eval(ATTR_RENDER);
-        if (render instanceof String) {
-            render = ((String) render).split(" ");
-            render = Arrays.asList((String[]) render);
-        }
 
         return (Collection<String>) render;
     }
@@ -189,7 +185,7 @@
             return;
         }
 
-        String[] arrValue = ((String) stringValue).split(",");
+        String[] arrValue = ((String) stringValue).split(" ");
 
         //we have to manually convert otherwise the delta state saving fails
         //Arrays.asList returns a list which is not instantiable



Mime
View raw message