Author: abelevich
Date: 2011-01-14 14:09:58 -0500 (Fri, 14 Jan 2011)
New Revision: 21039
Modified:
trunk/ui/core/ui/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java
Log:
RF-10175 Ajax: incorrect parsing of execute/render attribute
Modified:
trunk/ui/core/ui/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java
===================================================================
---
trunk/ui/core/ui/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java 2011-01-14
17:52:23 UTC (rev 21038)
+++
trunk/ui/core/ui/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java 2011-01-14
19:09:58 UTC (rev 21039)
@@ -127,16 +127,10 @@
private Set<String> toSet(Serializable propertyName, Object value) {
Set<String> result = null;
+
+ result = CoreAjaxRendererUtils.asIdsSet(value);
- if (value instanceof String) {
- result = toSingletonSet(propertyName.toString(), (String) value);
- }
-
if (result == null) {
- result = CoreAjaxRendererUtils.asIdsSet(value);
- }
-
- if (result == null) {
throw new FacesException(
propertyName.toString()
+ "' attribute value must be Collection, List, array,
String, comma-separated String, whitespace-separate String'");
Show replies by date