Describes with an example how a controller can be reused in the whole application
Look at the code /javasrc/ControllerDemoController.java.html
Each controller represents a business case, e.g. a usersearch, and has an graphical represention of itself, which is a component. Since the component is generated from the controller, the controller has full control over this component, that is, it can e.g. remove the searchmask and show the results table.
Controller c = new UserSearchController(...); myPanel.setContent(c.getInitialComponent());
When you click on the link, an event is fired to the form component which belongs to the usersearch controller. "We" being the demo controller do not receive an event since it is not our business. Only when the user has finally chosen a user, we are notified with a so-called businessevent.