vlemos / gmaps4jsf

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

GMaps4JSF not running with Safari browser? #153

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I wanted to try a very simple example using GMaps4JSF. The example works on my 
Firefox browser, but not on Safari. In Safari, there simply does not show up 
any map, although the HTML-source code in the background looks all fine.

Here's what I use:
1. Mac OS 10.5.8
2. Safari 5.0.2
3. Mozilla Firefox 3.5.9
4. Glassfish 3.0.1
5. GMaps4JSF 1.1.3

I use Glassfish's JSF-implementations, for development my program runs on 
http://localhost:8080. Both browsers have JavaScript enabled, bot accept 
cookies. Rendering JSF-tags works absolutely fine, no problem there. It's only 
the map that doesn't show up. See attached file "safari-test.xhtml" for the 
original JSF.

Attached you can see the rendered HTML as well as a file containing the 
original JSF used.

Original issue reported on code.google.com by fkostadi...@gmail.com on 27 Nov 2010 at 1:30

Attachments:

GoogleCodeExporter commented 9 years ago
GMaps4JSF works with Safari with no problems.

Just set the content type to "text/html": 
<f:view contentType="text/html">

Check this post:
http://www.jroller.com/HazemBlog/entry/uncaught_typeerror_object_a_document

Try to run the site example on safari and they are working very good:
http://www.mashups4jsf.com/mashups4jsf-examples/pages/theater2.xhtml

Original comment by Hazem.sa...@gmail.com on 2 Dec 2010 at 10:09