ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

Get all groupboxes in a page independently

woolve
21 Sep 2011 06:34:23 GMT
21 Sep 2011 06:34:23 GMT

Hello ZK community,

does anyone know how to get all groupboxes in a page? I want to get them all independently which parent they have.
My page consists of 8 tab panels where the groupboxes are in different parents (grid, columnlayout, etc.). Our team use ZK with Version 5.0.7.1
but we can upgrade to 5.0.8.0

I don't know whether i need it really, but mine intention is to set all groupboxes to mold="3d"

Best regards
woolve

dennis
9 Dec 2011 10:17:43 GMT
9 Dec 2011 10:17:43 GMT

In zk 5. No quick way to do this.
You have to scan all the component in page.

in zk 6, you can use the selectors to select all the group by one line call, check this article
http://books.zkoss.org/wiki/Small_Talks/2011/January/Envisage_ZK_6:_An_Annotation_Based_Composer_For_MVC

woolve
12 Dec 2011 11:30:55 GMT
12 Dec 2011 11:30:55 GMT

Nice to see that there is some progress in the zk framework ;)

Thx
woolve