Yazan2 / gmaps4jsf

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

error 1.1.4 and change renderOnWindowLoad for partiallyTriggered #174

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
I'm using gmaps 1.1.4 and change renderOnWindowLoad for partiallyTriggered see:

 <m:map latitude="#{var.latitudmapa}" debug="true" longitude="#{var.longitudmapa}" enableScrollWheelZoom="true" width="700px" 
                                               partiallyTriggered="true" jsVariable="map" zoom="#{var.zoommapa}" type="G_NORMAL_MAP"  rendered="#{bean.map}">
                                            <!--<m:markerCluster >-->     
                                                <a4j:repeat var="marker" value="#{Ciudadano$TableroControlCiudadano.data}"  >
                                                    <m:marker latitude="#{marker.latitude}" 
                                                              longitude="#{marker.longitude}"
                                                              jsVariable="#{marker.jsVariable}"
                                                              draggable="false" 
                                                              >
                                                        <m:htmlInformationWindow htmlText="#{marker.informationWindow}" />
                                                    </m:marker>

                                                </a4j:repeat>
                                            <!--</m:markerCluster>-->
                                    <m:mapControl name="GLargeMapControl" position="G_ANCHOR_BOTTOM_RIGHT"/>
                                    <m:mapControl name="GMapTypeControl" position="G_ANCHOR_TOP_RIGHT"/>
                                </m:map>

 when open this component (click)<m:htmlInformationWindow> ,after click in button with ajax this show follow error

javax.servlet.ServletException: 1
07-sep-2011 8:27:47 com.sun.faces.lifecycle.ApplyRequestValuesPhase execute
ADVERTENCIA: 1
java.lang.ArrayIndexOutOfBoundsException: 1
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1

What is the expected output? What do you see instead?
the result is that you run the action buttons with ajax

What version of the product are you using? On what operating system?
gmaps4jsf 1.1.4
tomcat 6
ubuntu 9
jsf 1.2 + richfaces
browser mozilla

Please provide any additional information below.
 when open this component (click)<m:htmlInformationWindow> ,after click in button with ajax this show follow error

javax.servlet.ServletException: 1
07-sep-2011 8:27:47 com.sun.faces.lifecycle.ApplyRequestValuesPhase execute
ADVERTENCIA: 1
java.lang.ArrayIndexOutOfBoundsException: 1
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1

Original issue reported on code.google.com by over.jar...@interkont.co on 7 Sep 2011 at 3:21

GoogleCodeExporter commented 8 years ago
Hi,

I have the same problem, 
did you find the solution?

thank you for your help

Original comment by julian.k...@geniar.net on 25 Sep 2011 at 8:42

GoogleCodeExporter commented 8 years ago
Did you try to use the standard JSF 2.9, <ui:repeat> instead?

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