[richfaces-issues] [JBoss JIRA] Created: (RF-8280) progressBar: conditions seems differs in renderer and script.

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Thu Jan 21 05:38:19 EST 2010


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: Nick Belaevski


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

        


More information about the richfaces-issues mailing list