[
https://jira.jboss.org/jira/browse/RF-8280?page=com.atlassian.jira.plugin...
]
Nick Belaevski reassigned RF-8280:
----------------------------------
Assignee: Ilya Shaikovsky (was: Nick Belaevski)
For client mode the component uses the following criteria value >= maxValue, but for
ajax mode it is value > maxValue. Is this a bug or is it so by design?
progressBar: conditions seems differs in renderer and script.
-------------------------------------------------------------
Key: RF-8280
URL:
https://jira.jboss.org/jira/browse/RF-8280
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-output
Affects Versions: 3.3.3.BETA1
Reporter: Ilya Shaikovsky
Assignee: Ilya Shaikovsky
Nick check please next code pieces:
renderer when encodes client state checks:
String state = (value.doubleValue() <= min.doubleValue()) ?
"initialState"
: ((value.doubleValue() >= max.doubleValue()) ? "completeState"
: "progressState");
but script in oncomplete contains:
if (this.state == "progressState") {
if (this.value > this.getMaxValue()) {
this.forceState("complete",null);
return;
}
so renderer condition is >= and script condition is >
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira