darshakshah1988 / gmaps4jsf

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

Not showing popups to marker in richfaces getting stack overflow at line:104 #107

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:a4j="http://richfaces.org/a4j"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:rich="http://richfaces.org/rich"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:m="http://code.google.com/p/gmaps4jsf/">
<ui:composition template="/pages/templates/Main.xhtml">
    <ui:define name="body" >
    <h:form>
        <f:view>

    <head>
        <title>Welcome to GMaps4JSF</title>
        <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<ui:include src="/pages/commons/WindowGoogleMapKey.xhtml" />
    </head>
    <body onunload="GUnload()">
            <h:form id="form">
                <h:panelGroup id="panoramaContainer" style="display:none;">
                    <m:streetViewPanorama address="cibeles,madrid" 
yaw="50" width="560px" height="215px" />
                </h:panelGroup>
                <m:map width="650px" height="450px" 
latitude="40.41701670242653" longitude="-3.703519105911255" 
jsVariable="gmap" zoom="5">
                    <m:mapControl name="GSmallMapControl" />
                    <m:marker latitude="37.184459" longitude="-7.336721" 
value="0000000">

                    </m:marker>
                    <m:marker latitude="41.184459" longitude="-5.336721">
                        <m:popup icon="snack" content="Great food!" 
backgroundColor="FF00FF" textColor="FF0000" 
chartStyle="d_bubble_icon_text_big" />
                    </m:marker>
                    <m:marker latitude="34.184459" longitude="-3.336721" 
draggable="true">
                        <m:popup icon="bike" content="Ride here|Mountain 
bike|(drag me)" chartStyle="d_bubble_icon_texts_big" />
                    </m:marker>
                    <m:marker ></m:marker>
                </m:map>
            </h:form>
    </body>
    </f:view>    

        </h:form>
    </ui:define>
</ui:composition>
</html>

Show a  popups form the markers.

Follwing jars included
activation-1.1.jar
ant-1.7.0.jar
ant-junit-1.7.0.jar
ant-launcher-1.7.0.jar
antlr-2.7.7.jar
cglib-nodep-2.1_3.jar
commons-beanutils-1.7.0.jar
commons-collections-3.2.jar
commons-digester-1.8.jar
commons-logging-1.0.4.jar
compress.jar
dom4j-1.6.1.jar
gmaps4jsf-1.1.3.jar
hibernate-commons-annotations-3.1.0.CR1.jar
hibernate-core-3.3.0.CR1.jar
hibernate-validator-3.1.0.CR1.jar
hibernate3-3.2.4.SP1.jar
hibernate3.jar
jboss-faces.jar
jhighlight-1.0.jar
jsf-api-1.2_04-p02.jar
jsf-facelets-1.1.12.jar
jsf-impl-1.2_04-p02.jar
jstl-1.0.jar
jstl-1.1.0.jar
jta.jar
log4j-1.2.14.jar
mysql-connector-java-5.1.9-bin.jar
nekohtml-0.9.5.jar
richfaces-api-3.3.0.GA.jar
richfaces-impl-3.3.0.GA.jar
richfaces-ui-3.3.0.GA.jar
servlet.jar
slf4j-api-1.4.2.jar
slf4j-simple-1.4.2.jar
xercesImpl-2.4.0.jar

I am using IE7

Original issue reported on code.google.com by kadiay...@gmail.com on 30 Mar 2010 at 8:25

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by Hazem.sa...@gmail.com on 4 Apr 2010 at 10:34

GoogleCodeExporter commented 8 years ago
I've committed some changes.

First, the JSP included some unneeded code that shouldn't be there. Check it to 
remove the extra lines.

Then I've fixed a JS error that was causing FF&Chrome to fail. I can't test IE 
here 
but my initial guess is that the fix should be of help there as well.

Please try SVN HEAD and let us know.

Original comment by jose.noh...@gmail.com on 5 Apr 2010 at 3:45

GoogleCodeExporter commented 8 years ago
The jsp included some unneeded code,it's this is taken from google 
exmaple.it'not 
own code .Please suggte to me what i have do

Original comment by kadiay...@gmail.com on 8 Apr 2010 at 9:22

GoogleCodeExporter commented 8 years ago
I also use faceles and richfaces and the popups do not show.
I simply add this code to my xhtml file and markers

<m:resources key="xxxx.." includeExtendedComponents="true"/>

<m:popup icon="petrol" content="#{mapInfo.emConfig.siteId}" />

I tested it under windows 7 and firefox browser 3.6.3.
I downloaded the last update, but it did not help.
Can you please tell me waht is wrong?

Thank you.

Original comment by prod...@p-21.de on 6 May 2010 at 5:54

GoogleCodeExporter commented 8 years ago

Original comment by Hazem.sa...@gmail.com on 2 Dec 2010 at 11:25

GoogleCodeExporter commented 8 years ago

Original comment by Hazem.sa...@gmail.com on 14 Mar 2013 at 12:11