Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to invoke javascript after getting a value from backing bean

933646Apr 27 2012 — edited Apr 27 2012
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?

Regards,
Arun

Edited by: 930643 on Apr 27, 2012 12:40 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 25 2012
Added on Apr 27 2012
2 comments
225 views