O'Reilly logo

ExtGWT Rich Internet Application Cookbook by Odili Charles Opute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Binding a single action to several click-wares

The many great web UI toolkits that we use and have come to love seem to miss out one very important implementation detail that their desktop counterparts do so well, and that is the ability to bind an action (what a user can do; for example, edit profile) to multiple UI widgets so that the action is propagated across all bound widgets,while separating the action logic from the view logic.

Binding a single action to several click-wares

Consider a scenario where you want to have an interface containing a top level menu, a ToolBar, and a context menu, all having a "help" tool (Button in ToolBar and MenuItem in Menu); you'll have to create three different ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required