Open GoogleCodeExporter opened 9 years ago
I found I obtain javascript error when map disappear:
gmaps4jsf is null or not an object
Original comment by cbo...@gmail.com
on 5 May 2011 at 12:29
This code is in the getter of the binding?
Original comment by Hazem.sa...@gmail.com
on 9 May 2011 at 5:43
Yes, the code is in the getter of the binding.
Original comment by cbo...@gmail.com
on 9 May 2011 at 5:47
Do you use AJAX Push for refreshing?
Maybe this can help: http://icecube-on-icefusion.googlecode.com/
http://code.google.com/p/icecube-on-icefusion/source/browse/trunk/src/main/webap
p/icecube/push/game.xhtml
(http://code.google.com/p/icecube-on-icefusion/source/browse/trunk/src/main/weba
pp/icecube/presentation/googleMap.xhtml)
Original comment by rainwebs
on 28 Jun 2011 at 4:54
Hi, cbo...,
I found a solution for F5 refresh problem for configuration jsf 1.2 with
icefaces 1.8.2:
1. Copy three .js files from gmaps4jsf 1.1.4 library's META-INF package to your
server directory where they would be accessible by client.
2. Add to your page's head section three references to these files like
<script src="/your-page-url/resources/gmaps4jsf.js"
type="text/javascript"></script>
That's it!
This guarantees that javascript functions reguired to render a map are included
in the page even after refresh which is not the case if they are in library
only.
Good luck!
Original comment by v.g.vi...@gmail.com
on 8 Jul 2011 at 12:01
Hi v.g.vi...,
I tried to apply your solution but it didn't solve my problem. At the moment I
can see the map without any disappear using a workaround: every time that I
need to show the map I call a "window.location.reload(true)".
I'm using gmaps4jsf 1.1.3-u3.jar (I tried the solution with gmaps4jsf _1.1.4,
but it did not work).
Thank you,
Chiara
Original comment by cbo...@gmail.com
on 12 Jul 2011 at 8:45
Hello I'm using Icefaces 2.0.2 and I need integrate gmaps4jsf1.1.4. When run my
application, my page can show the map but when I try to use a actionListener on
map or other communication with server, my map disappear. I am using my project
without AJAX Push, but nothing ...Help me Please..!!
Thank you,
Marlon
Original comment by marsant...@gmail.com
on 14 Jul 2011 at 4:38
Any comments about version 1.1.4 and map disappearing by ajax update? I am
trying to use component by 100% dynamically markup generation. No luck.
window.location.reload(true) - not a solution.
map.setPartiallyTriggered("true") or map.setPartiallyTriggered("false") no affect to map behavior....
This is very major issue
Original comment by www.good...@gmail.com
on 5 Aug 2011 at 7:17
Sorry for late response. The gmap-page refresh problem in icefaces is
solved simply by adding to the page header references to all .js files
contained in gmaps4jsf library. This ensures every icefaces rendering
triggers request to google maps. Icefaces itself doesn't know about gmaps,
it just renders what is in the page file.
Thanks!
Original comment by v.g.vi...@gmail.com
on 31 Jan 2012 at 2:00
I added the three js files, and now, when my map is loaded the first time is
not visible; if I refresh the page the map appears (and also for each other
refresh)
If I remove the js files inclusion the first time there is the map and for each
refresh the map disappears
I'm using Icefaces 1.8.2 with facelets
Thanks!!
Original comment by davide.b...@gmail.com
on 10 Feb 2012 at 5:53
Original issue reported on code.google.com by
cbo...@gmail.com
on 5 May 2011 at 10:41