darshakshah1988 / gmaps4jsf

Automatically exported from code.google.com/p/gmaps4jsf
0 stars 1 forks source link

not rendering consistently in liferay portal server #64

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Ingtegrate code in a JSF page(say pageA)
2. Add a portlet in Liferay page with portlet pointing to our JSF with 
gmap code
3. Click on the link of liferay page. It shows the GMap
4. Now, write one more JSF page(say pageB) with a button to navigate to 
JSF page which contains gmap.
5. Configure portlet to first render pageB
6. Navigate to liferay page
7. Click on button which shud navigate to JSF pageB
8. Now Gmap is not seen.

Note: This problem does not come with Icefaces's Gmap component but comes 
when we useGmaps4JSF

What is the expected output? What do you see instead?
We should see Google map, but no map is shown

What version of the product are you using? On what operating system?
Liferay5.2.2, tomcat5.5, Icefaces1.8.1, Gmaps4JSF 1.1.2

Please provide any additional information below.

We feel that when I click on a liferay page containing direct pageA.jspx 
it works but it does not work when I click on URL for pageB and then 
navigate to pageA from pageB as entire liferay page is not getting 
refreshed and only the contents in the liferay portlet are getting 
refreshed.
We had similar problem with icefaces, but proper placement of css files 
worked. But in case of gmaps4jsf we did not find any css files.

Please help

Original issue reported on code.google.com by girish.a...@gmail.com on 28 Jul 2009 at 5:05

GoogleCodeExporter commented 8 years ago
Try setting attribute renderOnWindowLoad="false" for <m:map

Original comment by sreerama...@gmail.com on 3 Sep 2009 at 8:37

GoogleCodeExporter commented 8 years ago
I have the same problem with IBM WebSphere Portal 6.1 with Gmaps4JSF 1.1.3

Original comment by alnik...@gmail.com on 12 Oct 2010 at 7:40

GoogleCodeExporter commented 8 years ago
do not set any component id for the map. also make sure the map is inside a 
form. if the form is updated via ajax, use partiallyTriggered, otherwise don't. 
i also had a problem once having the map placed inside a div with an id, but 
i'm not to sure if the id of the div was the actual problem... long time ago. 
what jsf libraries do you use? also please use firebug or something like that 
to check weather the gmap js wasn't found. if you're using facelets, make sure 
your form is surounding your inclusion. upload some code! cheers

Original comment by sotco...@gmail.com on 18 Jun 2011 at 1:27

GoogleCodeExporter commented 8 years ago
Cannot replicate this issue with GMaps4JSF 3.0.0.

Original comment by Hazem.sa...@gmail.com on 8 Jan 2013 at 4:36