Author: nbelaevski
Date: 2010-12-15 09:49:18 -0500 (Wed, 15 Dec 2010)
New Revision: 20581
Modified:
trunk/core/api/src/main/java/org/ajax4jsf/component/AjaxClientBehavior.java
trunk/ui/common/ui/src/main/java/org/richfaces/renderkit/util/AjaxRendererUtils.java
trunk/ui/core/ui/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java
Log:
https://issues.jboss.org/browse/RF-9822
Modified: trunk/core/api/src/main/java/org/ajax4jsf/component/AjaxClientBehavior.java
===================================================================
--- trunk/core/api/src/main/java/org/ajax4jsf/component/AjaxClientBehavior.java 2010-12-15
13:59:15 UTC (rev 20580)
+++ trunk/core/api/src/main/java/org/ajax4jsf/component/AjaxClientBehavior.java 2010-12-15
14:49:18 UTC (rev 20581)
@@ -35,10 +35,6 @@
public String getStatus();
- public String getOnevent();
-
- public void setOnevent(String onevent);
-
public String getOnerror();
public void setOnerror(String onerror);
Modified:
trunk/ui/common/ui/src/main/java/org/richfaces/renderkit/util/AjaxRendererUtils.java
===================================================================
---
trunk/ui/common/ui/src/main/java/org/richfaces/renderkit/util/AjaxRendererUtils.java 2010-12-15
13:59:15 UTC (rev 20580)
+++
trunk/ui/common/ui/src/main/java/org/richfaces/renderkit/util/AjaxRendererUtils.java 2010-12-15
14:49:18 UTC (rev 20581)
@@ -97,12 +97,6 @@
public String getAttributeValue(AjaxClientBehavior behavior) {
return behavior.getQueueId();
}
- },
- event {
- @Override
- public String getAttributeValue(AjaxClientBehavior behavior) {
- return behavior.getOnevent();
- }
};
public abstract String getAttributeValue(AjaxClientBehavior behavior);
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 2010-12-15
13:59:15 UTC (rev 20580)
+++
trunk/ui/core/ui/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java 2010-12-15
14:49:18 UTC (rev 20581)
@@ -74,7 +74,7 @@
private static final Set<String> NONE_SINGLETON_SET =
Collections.singleton(NONE);
enum PropertyKeys {
- data, execute, onbeforedomupdate, onbegin, oncomplete, onerror, onevent, queueId,
render,
+ data, execute, onbeforedomupdate, onbegin, oncomplete, onerror, queueId, render,
status, disabled, limitRender, immediate, bypassUpdates
}
@@ -105,8 +105,6 @@
setOncomplete((String) value);
} else if (compare(PropertyKeys.onerror, name)) {
setOnerror((String) value);
- } else if (compare(PropertyKeys.onevent, name)) {
- setOnevent((String) value);
} else if (compare(PropertyKeys.queueId, name)) {
setQueueId((String) value);
} else if (compare(PropertyKeys.status, name)) {
@@ -233,15 +231,6 @@
}
@Attribute
- public String getOnevent() {
- return (String) getStateHelper().eval(PropertyKeys.onevent);
- }
-
- public void setOnevent(String onevent) {
- getStateHelper().put(PropertyKeys.onevent, onevent);
- }
-
- @Attribute
public String getQueueId() {
return (String) getStateHelper().eval(PropertyKeys.queueId);
}
@@ -420,4 +409,5 @@
return state;
}
+
}