This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes GWT and the fly likes Looking for best practices for sending data/events between composites Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Looking for best practices for sending data/events between composites" Watch "Looking for best practices for sending data/events between composites" New topic
Author

Looking for best practices for sending data/events between composites

Chris Simons
Greenhorn

Joined: Aug 29, 2007
Posts: 19
All,

I currently have a small GWT 2.2 project broken out into several
Composites and DialogBox subclasses. In particular, I have a sub-
class of DialogBox that contains a FormPanel (but it doesn't have
to). On this form, I am collecting some data that, once "submitted",
needs to be passed up to the parent.

I see getParent().fireEvent(), but this only contains very basic data
about the event. I actually want details of the form, or perhaps to
construct my own event and then fire that off.

I have seen some discussion of EventBus but this looks particular to
MVP, which I do not plan on using.

Therefore, I am looking for any tips/suggestions on how I would best
accomplish this task.

Any help would be appreciated; thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Looking for best practices for sending data/events between composites