Author: nbelaevski
Date: 2010-03-11 11:41:22 -0500 (Thu, 11 Mar 2010)
New Revision: 16560
Modified:
root/ui/trunk/components/core/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java
Log:
Default value of "execute" attribute in a4j:ajax was taken from
"render" attribute
Modified:
root/ui/trunk/components/core/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java
===================================================================
---
root/ui/trunk/components/core/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java 2010-03-11
15:40:10 UTC (rev 16559)
+++
root/ui/trunk/components/core/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java 2010-03-11
16:41:22 UTC (rev 16560)
@@ -1,18 +1,18 @@
package org.ajax4jsf.component.behavior;
import java.util.Collection;
+import java.util.Collections;
import java.util.Set;
import javax.el.ELContext;
import javax.el.ValueExpression;
-
import javax.faces.component.UIComponentBase;
import javax.faces.component.behavior.FacesBehavior;
import javax.faces.context.FacesContext;
import org.ajax4jsf.component.AjaxClientBehavior;
+import org.ajax4jsf.facelets.tag.AjaxHandler;
import org.ajax4jsf.renderkit.AjaxRendererUtils;
-import org.ajax4jsf.facelets.tag.AjaxHandler;
import org.richfaces.cdk.annotations.JsfBehavior;
import org.richfaces.cdk.annotations.Tag;
@@ -146,7 +146,7 @@
@Override
public Collection<String> getRender() {
- return getCollectionValue(render, "RENDER");
+ return getCollectionValue(render, Attributes.render.toString());
}
@Override
@@ -174,7 +174,7 @@
return asSet(value);
}
- return this.render;
+ return Collections.emptyList();
}
public String getSimilarityGroupingId() {
Show replies by date