-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3643599
By: andiklein
I've stumbled across a little bug(?).
When I call a multiple Listbox's selectAll() method, the code reacts as it should by selecting all Listitems in the box.
But unfortunatelly both IE and FF come up with a Javascript Debug Frame stating the following message:
Failed to process setAttr
this.setSelectedId is not a function
_pc3
selectAll
Also FF's JavaScript console reports:
Error: this.setSelectedId is not a function Source File: http://localhost:8080/ZKTest/zkau/web/_zverG/js/zul/html/sel.js
Line: 662
Indeed there is a call for this.setSelectedId(_5b.length?_5b[0].id:null);
in sel.js
It is the only call for setSelectedID(), all other occurences are for _setSelectedId
Is that maybe it?? If so, where could i fix this?
Also the console tells me that "d has no properties". Is that to do with Debug settings? What's to be done here?
Thanks for this great tool. I love ZK, it really rocks.
Andi
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3643675
By: andiklein
I've checked out sel.js in zul.jar->web.js.zul.html and changed setSelectedId() to _setSelectedId().
And yes, the Javascript Error is history.
Mighty step for a n00b like me, but I hope this was in fact just a typo. In that case could you please fix sel.js in the next build?
Now I gotta follow that "d has no properties" lead.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3643859
By: tomyeh
Thanks but please post this bug to Bugs such that other developers could know what have been solved.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3643902
By: tomyeh
It will be ready in the following release.
http://sourceforge.net/tracker/index.php
Asked: 2006-03-22 03:25:46 +0800
Seen: 616 times
Last updated: Mar 22 '06