Author: abelevich
Date: 2008-07-14 11:13:38 -0400 (Mon, 14 Jul 2008)
New Revision: 9576
Modified:
trunk/ui/core/src/main/java/org/ajax4jsf/component/UIAjaxRegion.java
Log:
http://jira.jboss.com/jira/browse/RF-3626
Modified: trunk/ui/core/src/main/java/org/ajax4jsf/component/UIAjaxRegion.java
===================================================================
--- trunk/ui/core/src/main/java/org/ajax4jsf/component/UIAjaxRegion.java 2008-07-14
14:04:40 UTC (rev 9575)
+++ trunk/ui/core/src/main/java/org/ajax4jsf/component/UIAjaxRegion.java 2008-07-14
15:13:38 UTC (rev 9576)
@@ -92,11 +92,11 @@
throw e;
}
if (ajaxContext.isAjaxRequest() && null != ajaxSingleClientId) {
- invokeOnComponent(context, ajaxSingleClientId, decodeCallback);
+ invokeOnComponent(context, ajaxSingleClientId, new
ContextCallbackWrapper(decodeCallback));
Set<String> areasToProcess = ajaxContext.getAjaxAreasToProcess();
if(null != areasToProcess){
for (String areaId : areasToProcess) {
- invokeOnComponent(context, areaId, decodeCallback);
+ invokeOnComponent(context, areaId, new ContextCallbackWrapper(decodeCallback));
}
}
} else {
@@ -114,11 +114,11 @@
AjaxContext ajaxContext = AjaxContext.getCurrentInstance(context);
String ajaxSingleClientId = ajaxContext.getAjaxSingleClientId();
if (ajaxContext.isAjaxRequest() && null != ajaxSingleClientId) {
- invokeOnComponent(context, ajaxSingleClientId, validateCallback);
+ invokeOnComponent(context, ajaxSingleClientId, new
ContextCallbackWrapper(validateCallback));
Set<String> areasToProcess = ajaxContext.getAjaxAreasToProcess();
if(null != areasToProcess){
for (String areaId : areasToProcess) {
- invokeOnComponent(context, areaId, validateCallback);
+ invokeOnComponent(context, areaId, new ContextCallbackWrapper(validateCallback));
}
}
} else {
@@ -131,11 +131,11 @@
AjaxContext ajaxContext = AjaxContext.getCurrentInstance(context);
String ajaxSingleClientId = ajaxContext.getAjaxSingleClientId();
if (ajaxContext.isAjaxRequest() && null != ajaxSingleClientId) {
- invokeOnComponent(context, ajaxSingleClientId, updateCallback);
+ invokeOnComponent(context, ajaxSingleClientId, new
ContextCallbackWrapper(updateCallback));
Set<String> areasToProcess = ajaxContext.getAjaxAreasToProcess();
if(null != areasToProcess){
for (String areaId : areasToProcess) {
- invokeOnComponent(context, areaId, updateCallback);
+ invokeOnComponent(context, areaId, new ContextCallbackWrapper(updateCallback));
}
}
} else {