darshakshah1988 / gmaps4jsf

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

Server is not informed when location values change due to a geocoding call #65

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If using address instead of latitude/longitude 
submitOnValueChange/valueChangeListener events are not fired on the server 
even though the location is obviously new.

Original issue reported on code.google.com by jose.noh...@gmail.com on 29 Jul 2009 at 8:49

GoogleCodeExporter commented 8 years ago
It works for me, just change the server side example second marker code to 
this:               

<m:marker id="marker2" address="NY, USA" jsVariable="marker2" draggable="true" 
                          submitOnValueChange="true"
valueChangeListener="#{map.processValueChangeForSecondMarker}">
                    <m:icon shadowImageURL="http://www.google.com/mapfiles/shadow50.png" 
                    imageURL="http://www.google.com/mapfiles/markerB.png"/>                                                             
                    <m:htmlInformationWindow htmlText="Iam Marker B"/>          
                </m:marker>  

and you will find it work.

Original comment by Hazem.sa...@gmail.com on 20 Aug 2009 at 11:29

GoogleCodeExporter commented 8 years ago

Original comment by Hazem.sa...@gmail.com on 21 Aug 2009 at 11:46