p:gmap doesn't work on p:dialog

UI Components for JSF
Post Reply
Tream84
Posts: 33
Joined: 27 Jun 2010, 12:46

11 Jul 2010, 13:33

Hi,

http://www.primefaces.org:8080/prime-sh ... Dialog.jsf

this example doesn't work. I see the Map but i can't move anywhere.
The other gmap examples works fine.Only the p:dialog makes problems.
Any solutions?


--------------------------
Glassfish V3
Prime 2.1 Snapshot
Jsf 2.0
Firefox Version 3.3.6
-------------------------

masti
Posts: 3
Joined: 21 Jun 2010, 17:49

24 Aug 2010, 12:28

I have the same problem, doesn't work in Opera, FF, chrome, IE8 on windows or linux.

Funny thing, when in FF I opened firebug it worked, in Opera it works after openning panels tab (hit F4).

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

24 Aug 2010, 12:37

Correct link is;

http://www.primefaces.org/labs/ui/gmapDialog.jsf

There is no 8080 port anymore.

masti
Posts: 3
Joined: 21 Jun 2010, 17:49

24 Aug 2010, 12:43

Yes, but it doesn't resolve our problem, only top left part of window works (I can zoom and move only that part).

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

24 Aug 2010, 13:01

I see that as well, it might be related to gmap api and overlays. We'll investigate.

leonard
Posts: 8
Joined: 03 Nov 2010, 09:24

16 Dec 2010, 16:37

Hi,

Is there any workaround for this? I am using PF2.2RC2 and still facing the same problem. I intended to use pure Google Map API, but I need it to be dynamically updated through through <p:commandbutton update="xxxx">. Is there any other way that I can try?

leonard
Posts: 8
Joined: 03 Nov 2010, 09:24

22 Dec 2010, 17:58

It seems that if I use <p:commandButton oncomplete="dialog1.show();" update="gmap1" />, the problem appears. As a workaround, I used <p:commandButton onclick="dialog1.show();" update="gmap1" /> and the map is redrawn properly.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

22 Dec 2010, 20:18

Thanks for sharing your solution.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 37 guests