PDA

View Full Version : [CLOSED] Dynamic addText to ContentPanel



ashleywong
23 Jun 2008, 10:25 PM
When I dynamically call addText(String html) to a ContentPanel, the content is not immediately rendered. However, if I switch to another tab and switch back to the content panel, the previously added text will be rendered.

So, how can I force the panel to render? I found that there is recalculate() method, but it does not work.

Thanks for advance.

ashleywong
23 Jun 2008, 10:31 PM
layout() method solved this.