emnadridi / gmaps4jsf

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

Integrating with Trinidad #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

I am trying integrate trinidad with gmaps4jsf, its not working. Simply 
<m:map> tag being ignored doesn't o/p to the browser (Looked at the 
view/source, no map tag)

Here is the sample

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:fh="http://java.sun.com/jsf/html"
          xmlns:m="http://code.google.com/p/gmaps4jsf"
          xmlns:trh="http://myfaces.apache.org/trinidad/html"
          xmlns:tr="http://myfaces.apache.org/trinidad" >
  <jsp:directive.page contentType="text/html;charset=utf-8"/>

  <f:view>
    <tr:document title="Apache Trinidad Demo Index">

    <trh:head title="The Title">
        <trh:script source="http://maps.google.com/maps?
file=api&amp;v=2&amp;key=ABQIAAAAcaMUiyc-
07DEBn90oFncfxTBfUk9TZrBRaIteybtnU2KziHEpRQbDMBzqbmcj7egGGhLiDUpFOVDCw"/>
    </trh:head>

       <tr:form>
          <m:map width="1000px" height="300px" latitude="30.01" 
longitude="31.14" />
     </tr:form>
    </tr:document>
  </f:view>
</jsp:root>

Original issue reported on code.google.com by sunnythi...@gmail.com on 26 Sep 2008 at 8:32

GoogleCodeExporter commented 9 years ago
Which Trinidad version?

Original comment by Hazem.sa...@gmail.com on 27 Sep 2008 at 7:56

GoogleCodeExporter commented 9 years ago
Please check this:

http://biemond.blogspot.com/2008/09/google-maps-for-jsf-gmaps4jsf-in.html

People tried the library with ADF faces and it works fine!

Original comment by Hazem.sa...@gmail.com on 28 Sep 2008 at 8:54

GoogleCodeExporter commented 9 years ago

Original comment by Hazem.sa...@gmail.com on 28 Sep 2008 at 8:54

GoogleCodeExporter commented 9 years ago
With out trinidad it is working fine, but I want to use trinidad to make use of 
Ajax 
and Partial page rendering (built in components). Trinidad version that I am 
using 
is 1.2.8 (JSF 1.2). We are prototyping huge real estate application and I got 
stuck 
here. Can you please help me, I appreciate you

I think it is more of trinidad issue not google maps. 

Original comment by sunnythi...@gmail.com on 29 Sep 2008 at 2:49

GoogleCodeExporter commented 9 years ago
I will try to develop a demo of Trinidad PPR with GMaps4JSF in my free time.
Thanks for reporting the version.

Original comment by Hazem.sa...@gmail.com on 29 Sep 2008 at 2:56

GoogleCodeExporter commented 9 years ago
I developed a Trinidad Demo with GMaps4JSF, and they work fine:
http://www.jroller.com/HazemBlog/entry/using_gmaps4jsf_with_apache_trinidad

Please check this.
Thanks!

Original comment by Hazem.sa...@gmail.com on 30 Sep 2008 at 2:07

GoogleCodeExporter commented 9 years ago
Is the problem with how I included the javaScript? 

 <trh:head title="The Title">
        <trh:script source="http://maps.google.com/maps?
file=api&v=2&key=ABQIAAAAcaMUiyc-
07DEBn90oFncfxTBfUk9TZrBRaIteybtnU2KziHEpRQbDMBzqbmcj7egGGhLiDUpFOVDCw"/>
    </trh:head>

Original comment by sunnythi...@gmail.com on 30 Sep 2008 at 1:30

GoogleCodeExporter commented 9 years ago

Original comment by Hazem.sa...@gmail.com on 13 Apr 2009 at 5:52

GoogleCodeExporter commented 9 years ago

Original comment by Hazem.sa...@gmail.com on 13 Apr 2009 at 5:54