I am developing a functionality in my jsf application, which should retrieve the lat and lon of places from the database and plot it in Google map. Since gmaps4jsf library is not updated with google maps java script api v3, i'm using google maps java script api v3.
My requirement is that two actions has to be performed when the user clicks a button.
1. Lat and Lon value needs to be retrieved from back end(preferably using jsf) .
2. The retrieved value then has to be used to plot the location in map using java script.
The problem is that I can't call the script to plot the place in map after retrieving the lat and lon.
What is the solution to this problem?
Edited by: 930643 on Apr 27, 2012 12:40 AM
The trouble is that JSF is a server side API and you are working with client side APIs here. What client side support JSF has (in ways of Ajax), it is built to actually support the server side, not primarily the client side.