Author: nbelaevski
Date: 2010-04-21 13:14:13 -0400 (Wed, 21 Apr 2010)
New Revision: 16792
Modified:
root/ui/trunk/components/core/src/main/java/org/richfaces/component/AbstractAjaxFunction.java
Log:
Small fixes for a4j:jsFunction
Modified:
root/ui/trunk/components/core/src/main/java/org/richfaces/component/AbstractAjaxFunction.java
===================================================================
---
root/ui/trunk/components/core/src/main/java/org/richfaces/component/AbstractAjaxFunction.java 2010-04-21
12:36:37 UTC (rev 16791)
+++
root/ui/trunk/components/core/src/main/java/org/richfaces/component/AbstractAjaxFunction.java 2010-04-21
17:14:13 UTC (rev 16792)
@@ -23,14 +23,13 @@
package org.richfaces.component;
+import javax.faces.component.UICommand;
+
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.JsfComponent;
import org.richfaces.cdk.annotations.Tag;
-import javax.faces.component.UICommand;
-import javax.faces.component.behavior.ClientBehaviorHolder;
-
/**
* @author asmirnov(a)exadel.com (latest modification by $Author: alexsmirnov $)
* @version $Revision: 1.1.2.2 $ $Date: 2007/01/23 20:01:04 $
@@ -39,7 +38,7 @@
@JsfComponent(
tag = @Tag(name = "jsFunction")
)
-public abstract class AbstractAjaxFunction extends UICommand implements
ClientBehaviorHolder {
+public abstract class AbstractAjaxFunction extends UICommand {
public static final String COMPONENT_FAMILY = "javax.faces.Command";
@@ -49,9 +48,9 @@
setRendererType("org.richfaces.FunctionRenderer");
}
- @Attribute(defaultValue = "false")
public abstract boolean isLimitRender();
+ @Attribute(required = true)
public abstract String getName();
public abstract Object getExecute();
Show replies by date