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

Jay Balunas (JIRA) jira-events at lists.jboss.org
Wed Jul 14 09:44:51 EDT 2010


     [ https://jira.jboss.org/browse/RF-8280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jay Balunas updated RF-8280:
----------------------------

    Fix Version/s: Future_4.X
                       (was: 4.0.0.Milestone2)


> progressBar: conditions seems differs in renderer and script.
> -------------------------------------------------------------
>
>                 Key: RF-8280
>                 URL: https://jira.jboss.org/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
>             Fix For: Future_4.X
>
>
> 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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list