Author: nbelaevski
Date: 2009-08-18 06:06:02 -0400 (Tue, 18 Aug 2009)
New Revision: 15193
Modified:
root/framework/trunk/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java
root/framework/trunk/impl/src/main/resources/META-INF/resources/richfaces.js/4_0_0.js
Log:
Big A1 components check-in
Modified:
root/framework/trunk/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java
===================================================================
---
root/framework/trunk/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java 2009-08-18
09:41:53 UTC (rev 15192)
+++
root/framework/trunk/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java 2009-08-18
10:06:02 UTC (rev 15193)
@@ -28,6 +28,7 @@
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
+import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.Locale;
import java.util.Map;
@@ -69,7 +70,7 @@
/**
* Name Javasript function for submit AJAX request
*/
- public static final String AJAX_FUNCTION_NAME = "A4J.AJAX.Submit";
+ public static final String AJAX_FUNCTION_NAME = "RichFaces.ajax";
/**
* Attribute for keep clientId of status component
@@ -286,7 +287,7 @@
public static Map<String, Object> buildEventOptions(FacesContext facesContext,
UIComponent component) {
- Map<String,Object> options = new HashMap<String, Object>();
+ Map<String,Object> options = new LinkedHashMap<String, Object>();
appendParameters(facesContext, component, options);
String clientId = component.getClientId(facesContext);
Modified:
root/framework/trunk/impl/src/main/resources/META-INF/resources/richfaces.js/4_0_0.js
===================================================================
---
root/framework/trunk/impl/src/main/resources/META-INF/resources/richfaces.js/4_0_0.js 2009-08-18
09:41:53 UTC (rev 15192)
+++
root/framework/trunk/impl/src/main/resources/META-INF/resources/richfaces.js/4_0_0.js 2009-08-18
10:06:02 UTC (rev 15193)
@@ -228,6 +228,7 @@
complete: function(xhr) {
var isPushActive = !!pushTracker[pushId];
+ //TODO may someone wish to stop push from dataavailable handler?
delete pushTracker[pushId];
if (xhr.status == 200 && xhr.getResponseHeader("Ajax-Push-Status")
== "READY") {
Show replies by date