Author: dbiatenia
Date: 2007-08-22 15:59:08 -0400 (Wed, 22 Aug 2007)
New Revision: 2415
Modified:
trunk/framework/api/src/main/java/org/ajax4jsf/component/AjaxComponent.java
Log:
new attribute 'beforeupdate' added, js-function will be invoked before updating
DOM-tree on the page
Modified: trunk/framework/api/src/main/java/org/ajax4jsf/component/AjaxComponent.java
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/component/AjaxComponent.java 2007-08-22
19:59:04 UTC (rev 2414)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/component/AjaxComponent.java 2007-08-22
19:59:08 UTC (rev 2415)
@@ -77,9 +77,22 @@
* @return value or result of valueBinding of Name of JavaScript function, called on
complete Ajax request
*/
public abstract String getOncomplete();
+
+
+
+ /**
+ * @return value or result of valueBinding of Name of JavaScript function, called
before updating DOM
+ */
+ public abstract String getBeforeUpdate();
/**
* setter method for property
+ * @param new value of Name of JavaScript function, called before updating DOM to
set
+ */
+ public abstract void setBeforeUpdate(String beforeUpdate);
+
+ /**
+ * setter method for property
* @param new value of custom data translated to oncomplete function by AJAX
*/
public abstract void setData(Object data);
Show replies by date