Author: andrei_exadel
Date: 2008-03-26 08:54:41 -0400 (Wed, 26 Mar 2008)
New Revision: 7255
Modified:
trunk/ui/progressBAR/src/main/java/org/richfaces/component/UIProgressBar.java
trunk/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java
trunk/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js
Log:
RF-2343
Modified: trunk/ui/progressBAR/src/main/java/org/richfaces/component/UIProgressBar.java
===================================================================
---
trunk/ui/progressBAR/src/main/java/org/richfaces/component/UIProgressBar.java 2008-03-26
12:53:25 UTC (rev 7254)
+++
trunk/ui/progressBAR/src/main/java/org/richfaces/component/UIProgressBar.java 2008-03-26
12:54:41 UTC (rev 7255)
@@ -7,6 +7,7 @@
package org.richfaces.component;
import java.math.BigDecimal;
+import java.util.Enumeration;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
@@ -137,7 +138,7 @@
}
}
}
-
+
/**
* Returns ajax response data
*
Modified:
trunk/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java
===================================================================
---
trunk/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java 2008-03-26
12:53:25 UTC (rev 7254)
+++
trunk/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java 2008-03-26
12:54:41 UTC (rev 7255)
@@ -54,7 +54,7 @@
@Override
protected void doDecode(FacesContext facesContext, UIComponent uiComponent) {
new AjaxEvent(uiComponent).queue();
- uiComponent.queueEvent(new ActionEvent(uiComponent));
+ //uiComponent.queueEvent(new ActionEvent(uiComponent));
}
/**
@@ -290,6 +290,7 @@
Integer interval = new Integer(progressBar.getInterval());
options.put("pollId", clientId);
options.put("pollinterval", interval);
+ options.put("ajaxSingle", clientId);
if (progressBar.getAttributes().containsKey("ignoreDupResponses")) {
options.put("ignoreDupResponses", progressBar.getAttributes().get(
"ignoreDupResponses"));
Modified:
trunk/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js
===================================================================
---
trunk/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js 2008-03-26
12:53:25 UTC (rev 7254)
+++
trunk/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js 2008-03-26
12:54:41 UTC (rev 7255)
@@ -232,6 +232,7 @@
options['parameters'][this.id] = this.id;
options['parameters']['forcePercent'] = state;
options['actionUrl'] = this.options.actionUrl;
+ options['ajaxSingle'] = this.id;
if (oncomplete) {
options['oncomplete'] = oncomplete;
}
Show replies by date