Trevor,

Somehow you need to pass references. You could do that in your own
EventHandler or Callback implementation.
In my app I have a Callback implementation that takes a reference to a
panel, I suppose the equivalent of your Page object, in the
contructor.
The Callback keeps the reference in an instance variable, parses the
response from the server and then sends that response to some method
in the panel.
The panel itself has the necessary references to its children., like
your button and table.
I think you could implement an EventHandler in a similar way.

Of course you have to evaluate if all that referencing is worth the
trouble. If you want to do something simple, perhaps keeping all the
code in the Page object is not such a bad idea after all.

Wouter

--~--~---------~--~----~------------~-------~--~----~
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