call your init from this hook: onbeforerender() { if (!hasbeenrendered()) { init(); } }
-igor On Thu, Sep 25, 2008 at 7:08 AM, Markus Haspl <[EMAIL PROTECTED]> wrote: > hi, > > i have a WebPage with a lot of Panels on it. Each Panel overrides the > isVisible() method because not every Panel should be displayed on the page. > The Problem is: the constructor of each Panel (also which aren't visible) is > called and i have a lot of load on the server. So i tried to make a init() > method (add's all components to the panel) wich is only called when > isVisible==true, but then i get the errors that it couldn't find the > components on panelXX. > > thanks > markus > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]