Opened 15 years ago

Closed 15 years ago

#2433 closed defect (invalid)

issue with progress bar

Reported by: guest Owned by: Adam Peller
Priority: high Milestone: 0.9
Component: Widgets Version: 0.4.1
Keywords: progress bar widget display startAnimation Cc:
Blocked By: Blocking:


On Firefox 1.5.09 : First, the progress bar never displays if I import the dojo.js before configuring the djConfig variable this way :

<script type="text/javascript" src="dojo-0.4.0-ajax/dojo.js"></script> <script type="text/javascript">

var djConfig = {

isDebug: true, baseScriptUri: "dojo-0.4.0-ajax/", debugAtAllCosts: false



If I inverse the two markups, it works !!

Secondly, if I want to start the animation that way :

var bar = dojo.widget.byId("testBar"); bar.startAnimation(); bar.render();

sometimes that works and the animation is ok, but sometimes it doesn't work ?? I deploy my web site with tomcat.

Change History (6)

comment:1 Changed 15 years ago by [email protected]

IIRC djConfig must be declared before the <script type="text/javascript" src="path/to/dojo.js"></script>
Then put your code in a function:

function startAnimation(){

var bar = dojo.widget.byId("testBar");


and use:



comment:2 Changed 15 years ago by bill

Resolution: invalid
Status: newclosed

comment:3 Changed 15 years ago by guest

Resolution: invalid
Status: closedreopened

actually it works with the modification I detailed in #2454 AND the following order :

var bar = dojo.widget.byId("testBar"); bar.render(); bar.startAnimation();

but it doesn't show anything if the bar.render() is at the end. There is really a problem with the retrieving of the width value of the internalProgress and pf the whole component

comment:4 Changed 15 years ago by [email protected]

Can you post a full example showing the problem?


comment:5 Changed 15 years ago by Adam Peller

Milestone: 0.9
Owner: changed from bill to Adam Peller
severity: criticalnormal
Status: reopenednew

comment:6 Changed 15 years ago by Adam Peller

Resolution: invalid
Status: newclosed

Please discontinue teseting on dojo.widget.Progress and reopen if a problem can be reproduced with dijit.ProgressBar? with a reproducible test case. Thanks.

Note: See TracTickets for help on using tickets.