The big picture:
Architecture diagram of a GWT-GXT application
Using a message listener
Using a message sender
The SubmitButtonListener is a button listener. I tend to separate UI events from business/semantic events. The message sender is used to fire the event. There is another reason why this separation was required, GWT EventHandler code cannot register listeners, while a event is being processed. I re-wrote the custom code and wanted to use it only for semantic events.
No comments:
Post a Comment