Hi! The best way to act on an action in one panel and react in another is to use a ChangeListener(). If you want to use that you need to extend your Class with 'Composite' and implement 'SourcesChangeEvents'.
You create your panels (in your case 3 of them) and initiate them inside the method 'initWidget()'. If you do so, you need to call the methods 'addChangeListener()' and 'removeChangeListener()'. If you separated your panels in different classes then you need to do it in all of them, so they are able to communicate to each other. This is just a hint how I would do it. If you google for it, you can find this example: http://toolkit.itmill.com/demo/doc/manual/ch08s02.html Well, here is a 'ClickListener' but you can change it to a ChangeListener. Good luck! On Thu, Sep 18, 2008 at 3:41 AM, AyeAyeAung <[EMAIL PROTECTED]> wrote: > > Hi all, > > My problem is I am developing GWT application that is calling the HTML > page, I put that page inside frame and again I put that frame inside > one panel. I have three panels in my GWT App. > One panel(named TOP, with Fitlayout) on North, another panel(with > AccrodionLayout) on West and the last panel(named CENTER, with > Fitlayout) on Center. I put these three panels inside one panel(Main) > and add this Main panel to RootPanel. The problem I encounter is when > I change some textbox value of CENTER panel, I want to change(refresh) > TOP panel with the changed text value(eg. to change the TOP panel's > title according to the value choosen from CENTER's text box). > Any idea? Please kindly let me know ur help as soon as possible. > Thanks in advance! > > Best Regards, > Aye > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/gwt-ext?hl=en -~----------~----~----~----~------~----~------~--~---
