Hi Igor, Thank you Igor! I appreciate the reply. How do I implement DetachableModel in AjaxTabbedPanel? If the button it click, it should update the tabs. I build a DetachableModel that returns a Collection in its load() method. Should I use this instead of List<AbstractTab> when I instantiate AjaxTabbedPanel() ?
Thanks, WT -- The only constant in life is change. ----- Original Message ---- From: Igor Vaynberg <[EMAIL PROTECTED]> To: users@wicket.apache.org Sent: Monday, January 7, 2008 1:55:16 PM Subject: Re: rendering a panel panel2 should use a detachable model, that way it automatically updates when rerendered. no need to call render() or anything else. see the wiki page on detachable models. -igor On Jan 7, 2008 1:33 PM, Beyonder Unknown <[EMAIL PROTECTED]> wrote: > > Hi All, > > Greetings! I was wondering if any of you here encountered this situation. I have a 2 Panels. Panel1 writes something in the database, and it should update Panel2. I tried adding Panel2.render() inside an onSubmit() button of Panel1 but it doesn't work. I also tried Panel2.renderComponents() but with no luck. To fix this, what I did is just to instantiate a new instance of Panel2. > Is there a better approach to this? Does Panel.render() does cascading render? > > Thanks, > Wen Tong > > The only constant in life is change. > > > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]