i
> thought i could build it like my code shows it. To highlight the selected
> menu i try to dynamically add an attribute to the li tag in the onClick
> method. I would also want to load and repaint other panels (for example
> loading sub menus ), when the user clicks a menu link. Bu
Hi Haman, ListView items are recreated by default (see RepeatingView or
ListView#setReuseItems). So your code is adding an AttributeAppender to an
component that will be discarded in benefit of a new one for the next
render.
On Fri, Jan 28, 2011 at 10:28 AM, Haman Abel wrote:
> Hello to all,
>
>
Hello to all,
i am trying to build a dynamic menu based on data from a database. So i
thought i could build it like my code shows it. To highlight the
selected menu i try to dynamically add an attribute to the li tag in the
onClick method. I would also want to load and repaint other panels (fo