Hi! I have to develop a very simple POI (points of interest) Manager App using GMaps.
The thing is, I have only one Page - /Map/Poi - that needs to render the Map (using the Google js thing for it) and capture js events like right click on it to create new POIs (and saving them on a database), and also showing all previously inserted POIs on the screen (on the Map and in a Grid component showing more details of each one). And all of this without any Page refresh. All the js part of it is ok (except for what is missing), but the problem is that I actually never had to manipulate ajax (and json) manually in T5.1 before, and I'm kinda stucked and I would like to know a nice way for doing it. Well: - How can I make an Ajax call to some method on the Page? Is there any component that could act like a bridge for it? And I need to write JSON as response, and I don't wanna create a Servlet just for that purpose. - If there is a happy way for doing it, could I refresh the Grid's Zone also? So the Grid could render itself finding the new POI and synchronizing with the Map. Any help is appreciated, I guess I'm missing some basics about it but it's time to learn :) Thanks! _______________________ Everton Agner Ramos