Dynamic part in habpanel which is showing only the lights which are on

Hi all,
i have realised in standard sitemap for myopenhab app a section, in which are dynamically shown only the lights which are on, via the visibility[] feature due to item state.
How can i realize this in habpanel?