Hi,
    I have a panel class in which i have some radio button i am adding
this panel to a center panel in my main view in my entry point class.

MainPanel mainCompPanel =new MainPanel();
Panel mainComponet = mainCompPanel.getMainPanel();
Panel centerPanel = new Panel();
centerPanel.add(mainComponet);

Where MainPanel is my panel class and this centerPanel is in my
entrypoint class.its working but is it possible to set a label value
that belongs to entry point class via my panel class.For eg:I have a
label in entry point class such as the following.

Label s=new Lable();

I have a radio button in my MainPanel class ,on click event of this
radio button i want to set the text of this label to some other
value.Such as the following.


rb_playback.addClickHandler(new ClickHandler() {
                        public void onClick(ClickEvent event) {
                            s.setText();//to some value
                        }
                });
the above code will be in the panel classs.

Is it possible to get the reference of the label "s" in panel class.


Thanks &Regards,


Subash K.S
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to