Hi, interesting question and answer, could please Mohamed make a GWT example of what you mean?
Thanks! On 3 Dic, 05:54, Mohamed Mansour <[email protected]> wrote: > When I mean decorator, I meant to follow the decorator > pattern:http://en.wikipedia.org/wiki/Decorator_pattern > > On Dec 2, 11:53 pm, Mohamed Mansour <[email protected]> wrote: > > > Why wont you implement a decorator interface that will decorate your > > RPC calls? That way you can always hide/show your spinner icon for > > each call without affecting your RPC code. > > > On Dec 2, 9:39 pm, tin <[email protected]> wrote: > > > > Hi everyone, > > > > I have a GWT application that uses RPC calls heavily. I would like to > > > display a spinner icon whenever a call is in progress. It is easy > > > enough to display the icon, but I want to do it seamlessly in one > > > place so I don't have to explicitly hide and show the icon for each > > > call. > > > > I guess I am looking for something similar to jQuery's ajaxStart and > > > ajaxStop events. > > > > Has anyone done something like this before? > > > > Cheers, > > > > Tin -- 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.
