Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.4.2

Doc Bug #10879 Problem with HTML_Progress2::setCellCount()
Submitted: 2007-04-28 22:47 UTC
From: mystic414 Assigned: farell
Status: Closed Package: HTML_Progress2 (version 2.3.0RC1)
PHP Version: 5.2.1 OS: n/a
Roadmaps: 2.3.0    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 21 - 9 = ?

 
 [2007-04-28 22:47 UTC] mystic414 (Adam Parod)
Description: ------------ I used the example from the documentation for "Progress Monitor Usage" from your website at: http://www.laurent-laville.org/pear/HTML_Progress2/docs/TDG/en/ch06s02.html By adding the following line, I should be able to increase the cell count of the progress bar to 15: $pb->setCellCount(15); However, no cells after the first 10 are displayed.

Comments

 [2007-04-29 16:22 UTC] farell (Laurent Laville)
Hi Adam, I don't consider that it is a setCellCount related bug, but rather a doc/example bug. If you read carefully the same page [1], and details about line 43, you will see that i've put in comment this line that is really necessary when you call API that are html render (such cell count). See also [2] where example run fine, because setProgressElement is online (and not in comment) To Resume: if you change look and feel of progress bar used with a monitor shape, don't forget to code setProgressElement (as i did myself!) I've changed type from bug to doc problem. Hope it will clearify the situation. Laurent [1] Progress Monitor usage http://www.laurent-laville.org/pear/HTML_Progress2/docs/TDG/en/ch06s02.html [2] Monitoring usage http://www.laurent-laville.org/pear/HTML_Progress2/docs/TDG/en/ch19s05.html
 [2007-04-29 16:34 UTC] farell (Laurent Laville)
Need a fix in HTML_Progress2 manual (TDG) that will come will final version 2.3.0 (stable). At least, a version 2.3.0RC2 should occured before 2.3.0 stable.