Re: Is it possible to seamlessly display an ajax spinner for every GWT RPC call?

2009-12-03 Thread chrisom
By using the MVP Pattern this scenario is prepared.
Every Dispatch Call invokes a startProcessing-Method in the Display
(View).
After the Call a stopProcessing-Method is called.

It's worth to take a look at it.

On Dec 3, 10:19 am, tin tin.pavli...@gmail.com wrote:
 I guess I could have a decorator class for every async service
 interface I use but that seems incredibly tedious and repetitive. I
 have quite a few RPC services already and will have many more as the
 project grows. I guess the other option is to try to generate
 decorator classes via deferred binding. This seems like a pretty big
 deal though. Are there existing libraries which would allow me to do
 this?

 On Dec 3, 9:34 pm, Cristiano cristiano.costant...@gmail.com wrote:

  Hi, interesting question and answer,
  could please Mohamed make a GWT example of what you mean?

  Thanks!

  On 3 Dic, 05:54, Mohamed Mansour m0.interact...@gmail.com 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 m0.interact...@gmail.com 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 tin.pavli...@gmail.com 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 google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Is it possible to seamlessly display an ajax spinner for every GWT RPC call?

2009-12-03 Thread chrisom
By using the MVP Pattern this scenario is prepared.
Every Dispatch Call invokes a startProcessing-Method in the Display
(View).
After the Call a stopProcessing-Method is called.

It's worth to take a look at it.

On Dec 3, 10:19 am, tin tin.pavli...@gmail.com wrote:
 I guess I could have a decorator class for every async service
 interface I use but that seems incredibly tedious and repetitive. I
 have quite a few RPC services already and will have many more as the
 project grows. I guess the other option is to try to generate
 decorator classes via deferred binding. This seems like a pretty big
 deal though. Are there existing libraries which would allow me to do
 this?

 On Dec 3, 9:34 pm, Cristiano cristiano.costant...@gmail.com wrote:

  Hi, interesting question and answer,
  could please Mohamed make a GWT example of what you mean?

  Thanks!

  On 3 Dic, 05:54, Mohamed Mansour m0.interact...@gmail.com 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 m0.interact...@gmail.com 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 tin.pavli...@gmail.com 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 google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Rounded Borders in GWT

2009-11-01 Thread chrisom

You could give this one a try. It's easy to use.
http://advanced-gwt.sourceforge.net/borders.html

On Nov 1, 8:17 am, Sudeep S sudee...@gmail.com wrote:
 HI,

 I tried to achieve Rounded Panel for a header by placing a caption Panel
 inside another. But it was introducing a cell padding by default.
 Can anyone suggest alternatives.

 Thanks
 Sudeep

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---