Author: abelevich
Date: 2009-08-26 10:53:59 -0400 (Wed, 26 Aug 2009)
New Revision: 15318
Modified:
root/ui/trunk/components/core/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java
Log:
add support for the oncomplete, onbegin, onbeforedomupdate
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 2009-08-26
14:53:16 UTC (rev 15317)
+++
root/ui/trunk/components/core/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java 2009-08-26
14:53:59 UTC (rev 15318)
@@ -261,7 +261,15 @@
case similarityGroupingId :
this.similarityGroupingId = value != null ? (String)value: null; break;
+
+ case onbeforedomupdate :
+ this.onbeforedomupdate = value != null ? (String)value : null; break;
+
+ case onbegin :
+ this.onbegin = value != null ? (String)value : null; break;
+ case oncomplete :
+ this.oncomplete = value != null ? (String)value : null; break;
default: break;
}
@@ -285,7 +293,7 @@
values = new Object[] { superState };
}
} else {
- values = new Object[7];
+ values = new Object[10];
values[0] = superState;
values[1] = limitRender;
values[2] = execute;
@@ -293,6 +301,9 @@
values[4] = queueId;
values[5] = statusId;
values[6] = similarityGroupingId;
+ values[7] = onbeforedomupdate;
+ values[8] = onbegin;
+ values[9] = oncomplete;
}
return values;
@@ -312,6 +323,9 @@
this.queueId = (String)values[4];
this.statusId = (String)values[5];
this.similarityGroupingId = (String)values[6];
+ this.onbeforedomupdate = (String)values[7];
+ this.onbegin = (String)values[8];
+ this.oncomplete = (String)values[9];
clearInitialState();
}
}
Show replies by date