-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
only in IE (tested 7/8) I get the red Error-Box:
Failed to invoke zkSld.onVisi
'this.element.clientWidth' is null or no object..
Failed to invoke zkSld.onSize
'this.element.clientWidth' ist Null oder kein Objekt
I do append it programatically to a groupbox in a Detail of a grid. it happens in any container below the detail. in a goupbox it happens only on the 2. to nth record. the first is still okay. but all other cotainers crash on the first appendchild(myBrokenSlider)
always red box with 'this.element.clientWidth' is null or no object..
Any Ideas? tested in 3.6.2, 3.6.3. Seems to be a bug?
Thanks,
Timo
Code to reproduce it. Can be 100% reproduced with IE8 on WXP (other win-platforms not tested). Try it in the demo at http://www.zkoss.org/zkdemo/userguide
Press the button more than one time.
I will file a bug.
<zk> <zscript> <![CDATA[ void addrow(){ Groupbox gr2=new Groupbox(); Caption c2=new Caption("Group 2"); Label ll2=new Label("move the in ie8 broken slider."); Slider sl1=new Slider(); gr2.appendChild(ll2); gr2.appendChild(sl1); Vbox vbox=new Vbox(); vbox.appendChild(gr2); Detail detail=new Detail(); detail.appendChild(vbox); detail.setOpen(true); Label label=new Label("myLabel"); Row row = new Row(); row.appendChild(label); row.appendChild(detail); rows.appendChild(row); } ]]> </zscript> <grid id="grid1" fixedLayout="true" width="300px" height="400px" > <columns> <column width="25px" /> <column label="Attribut"/> <column width="25px" label="Status"/> </columns> <rows id="rows"> </rows> </grid> <button label="add one" onClick="addrow()" /> </zk>
Asked: 2009-11-19 11:58:41 +0800
Seen: 315 times
Last updated: Nov 20 '09