Re: RPC and JSON

2010-04-02 Thread Alexey Frishman
code.google.com/p/google-gson
flexjson.sourceforge.net

On Apr 2, 5:51 am, Alexander Krasnukhin the.malk...@gmail.com wrote:
 Hi,

 I have working app with internal GWT serialization, e.g. works via RPC. Now
 I want to expose server side functionality as RESTful service for other type
 of clients (not only GWT). I see that now I have to make some explicit JSON
 serialization. What is the less painfull way to do that? Some links for
 great JSON libraries?

 --
 Regards,
 Alexander

-- 
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: GWT Google Maps problem

2008-09-28 Thread Alexey Frishman

Eric, thanks once more for your attention.
I've already created an issue 
http://code.google.com/p/gwt-google-apis/issues/detail?id=181,
just to be sure  it will be noticed by you (or somebody else?) and to
keep track how it is going.

One more question: will this fix be available in the trunk before next
release? Or you use another branches for fixed issues?

On Sep 28, 2:20 pm, Eric Ayers [EMAIL PROTECTED] wrote:
 Knowing the mechanism involved, I'm pretty sure its the same, but I'll sort
 through all that on Monday and follow up.

 On Sun, Sep 28, 2008 at 1:29 AM, Alexey Frishman
 [EMAIL PROTECTED]wrote:





  Hi, Eric
  Thanks for quick response!

  Should I raise a new issue or join existing one? It seems to me that
  my problem is similar, but not the same as in issue No 156.

  On Sep 28, 2:25 am, Eric Ayers [EMAIL PROTECTED] wrote:
   Hi Alexey,
   I don't think you are doing anything wrong.  This sounds like the same
   problem as issue 156 to me:

  http://code.google.com/p/gwt-google-apis/issues/detail?id=156

   I thought it was fixed in 1.0 RC1, but apparently not when the info
  window
   is used with a Marker class.

   Please start the issue if you want to keep track of your progress.
   -Eric.

   On Sat, Sep 27, 2008 at 1:17 PM, Alexey Frishman
   [EMAIL PROTECTED]wrote:

Hi

I use GWT Google Maps API and I have next problem.

I have click handler on each marker on my map. This handler opens info
window and creates Grid subclass widget inside it with some info.

The problem is that after clicking several times on different markers
and seeing appropriate info windows, I close next window and after
this all next windows are empty. So the widget inside all new windows
is not created or is created in wrong way...

That is the method in the click handler:

       public void onClick(MarkerClickEvent event) {
               Marker marker = event.getSender();
               map.getInfoWindow().open(marker, new
  InfoWindowContent(new
MapObjectInfo(data)));
               map.setCenter(marker.getLatLng());
       }

Here MapObjectInfo is subclass of the Grid Widget with some basic
initialization stuff.

Please advise me, if I do something wrong. May be this eats much
memory in Javascript, but I don't want to make RPC call every time I
open window on the marker. I want a group of markers be on client side
with all info for info window.

   --
   Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://
  code.google.com/webtoolkit/

 --
 Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://code.google.com/webtoolkit/
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



GWT Google Maps problem

2008-09-27 Thread Alexey Frishman

Hi

I use GWT Google Maps API and I have next problem.

I have click handler on each marker on my map. This handler opens info
window and creates Grid subclass widget inside it with some info.

The problem is that after clicking several times on different markers
and seeing appropriate info windows, I close next window and after
this all next windows are empty. So the widget inside all new windows
is not created or is created in wrong way...

That is the method in the click handler:

public void onClick(MarkerClickEvent event) {
Marker marker = event.getSender();
map.getInfoWindow().open(marker, new InfoWindowContent(new
MapObjectInfo(data)));
map.setCenter(marker.getLatLng());
}

Here MapObjectInfo is subclass of the Grid Widget with some basic
initialization stuff.

Please advise me, if I do something wrong. May be this eats much
memory in Javascript, but I don't want to make RPC call every time I
open window on the marker. I want a group of markers be on client side
with all info for info window.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT Google Maps problem

2008-09-27 Thread Alexey Frishman

Hi, Eric
Thanks for quick response!

Should I raise a new issue or join existing one? It seems to me that
my problem is similar, but not the same as in issue No 156.

On Sep 28, 2:25 am, Eric Ayers [EMAIL PROTECTED] wrote:
 Hi Alexey,
 I don't think you are doing anything wrong.  This sounds like the same
 problem as issue 156 to me:

 http://code.google.com/p/gwt-google-apis/issues/detail?id=156

 I thought it was fixed in 1.0 RC1, but apparently not when the info window
 is used with a Marker class.

 Please start the issue if you want to keep track of your progress.
 -Eric.

 On Sat, Sep 27, 2008 at 1:17 PM, Alexey Frishman
 [EMAIL PROTECTED]wrote:





  Hi

  I use GWT Google Maps API and I have next problem.

  I have click handler on each marker on my map. This handler opens info
  window and creates Grid subclass widget inside it with some info.

  The problem is that after clicking several times on different markers
  and seeing appropriate info windows, I close next window and after
  this all next windows are empty. So the widget inside all new windows
  is not created or is created in wrong way...

  That is the method in the click handler:

         public void onClick(MarkerClickEvent event) {
                 Marker marker = event.getSender();
                 map.getInfoWindow().open(marker, new InfoWindowContent(new
  MapObjectInfo(data)));
                 map.setCenter(marker.getLatLng());
         }

  Here MapObjectInfo is subclass of the Grid Widget with some basic
  initialization stuff.

  Please advise me, if I do something wrong. May be this eats much
  memory in Javascript, but I don't want to make RPC call every time I
  open window on the marker. I want a group of markers be on client side
  with all info for info window.

 --
 Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://code.google.com/webtoolkit/
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---