Hi,
I'm trying to get the buttons i added from my pannel.
I tryed in two different ways:
First try:
button1.setId(id1);
panel.add(button1, listener);
button2.setId(id2);
panel.add(button2, listener);

I do panel.getComponents() and i get a list of 2 panels, each one with
one of my a buttons in it. The problem with this is that i don't know
the panels ids so i can't find my buttons. I need to loop on the
components and tests the ids to find the right button.

Second try:
panel.addButton(button1);
panel.addButton(button2);

When i do panel.getComponents() i get nothing.

Is there any way to get those buttons with the id?

Thanks in advance,

Gonzalo

--

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