How to invoke javascript after getting a value from backing bean
933646Apr 27 2012 — edited Apr 27 2012I 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?
Regards,
Arun
Edited by: 930643 on Apr 27, 2012 12:40 AM