hy, y have a problem using GWT-EXT.

im adding components dynamicly to a panel but the when i want to
access to the via panel.getComponent() i cant
get the proper component.

For example:

Panel a= new Panel();
a.add(new Image("URL"));
a.add(new Label("some label"));
a.add(new Label("other label"));

then in another part of code i wan to do this

Label t = (Label)((Widget)a.getComponent(1));

so i can modify the label's text.

but then i have al cast exception in jscript when i test it on the
explorer.

If anyone can help please...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to