desmetro / gmaps4jsf

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

blank area instead map #161

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. place gmaps4jsf component into ice:form
2. place ice:commandLink component into same ice:form
3. on first page load is everything OK, map is shown
4. after click on commandLink, blank area is located instead map

What is the expected output? What do you see instead?
A Google map located at the supplied lat/lon.  A blank area where the map 
should be located.

What version of the product are you using? On what operating system?
gmaps4jsf 1.1.4, Windows XP, ApacheTomcat 6.0.30, Icefaces 1.8.1

Please provide any additional information below.
When blank area is on the page, after refresh (F5) map is rendered. After click 
on commandLink again, everything works fine (no blank area instead map). 
Attribute "partiallyTriggered" is set on true value.
Info from firebug console:
window.gmaps4jsf is undefined
window.gmaps4jsf.createMap({id: 'calc...oReshape: false}, function (parent) { 

Original issue reported on code.google.com by tomas.lo...@gmail.com on 11 Mar 2011 at 10:43

GoogleCodeExporter commented 8 years ago
I think this is an ICEFaces issue, because the same behavior works fine with 
JSF 2.0 Ajax.

Did you try ICEFaces 2.0, because it may implement the JSF 2.0 standard 
mechanism.

Original comment by Hazem.sa...@gmail.com on 9 May 2011 at 5:49

GoogleCodeExporter commented 8 years ago
Because of the missing response, I will close this issue.

Original comment by Hazem.sa...@gmail.com on 28 May 2011 at 12:26

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Please check out if the rest of your tags contained inside your html's head tag 
are correctly updated (or even inside the generated html on client side). there 
might be a problem with your form / ui include setup. i had something very 
similar once. please upload your project, i'll take a look.

Original comment by sotco...@gmail.com on 17 Jun 2011 at 1:43

GoogleCodeExporter commented 8 years ago
hi 
I have the same problem
I'm using icefaces 1.8.2 and gmaps4jsf 1.1.4
There are two problems:
1°) if I include the gmaps4jsf js files in the head 
( 
      <script type="text/javascript" src="./javascript/gmaps4jsf.js"/>
      <script type="text/javascript" src="./javascript/gmaps4jsf-map.js"/>
      <script type="text/javascript" src="./javascript/gmaps4jsf-panorama.js"/>
),
 on the first page load the map area is blank; if I reload the map is shown

2°) If I don't include the same js files, the map is shown only on the first 
page load; if I reload the page the map disappears.

Thanks for the help

Original comment by davide.b...@gmail.com on 19 Feb 2012 at 9:15

GoogleCodeExporter commented 8 years ago
Hi
more info!
The problem depends from the fact that in gmaps4jsf.js, the 
window.document.readyState is undefined.
I don't now why! It is also undefined in the second refresh when the map is 
shown

Original comment by davide.b...@gmail.com on 20 Feb 2012 at 12:47