--
You received this message because you are subscribed to the Google Groups "gmaps4jsf-dev" group.
To post to this group, send email to gmaps4...@googlegroups.com.
To unsubscribe from this group, send email to gmaps4jsf-de...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gmaps4jsf-dev?hl=en.
I'm using Mojarra 2.0.0 (SNAPSHOT b10) from your mashupjsf2 project.
Yes, ajax with the inputtext is working properly, this is the first thing I tried when the map failed.
I forgot to mention that the map is initially displayed fine and the the inputtext loses the focus it disappears.
Pablo.
--
Pablo.
I'm using Mojarra 2.0.0 (SNAPSHOT b10) from your mashupjsf2 project.
Yes, ajax with the inputtext is working properly, this is the first thing I tried when the map failed.
I forgot to mention that the map is initially displayed fine and the the inputtext loses the focus it disappears.
Pablo.
Which JSF implementation are you using? and which JSF 2 build?
--
You received this message because you are subscribed to the Google Groups "gmaps4jsf-dev" group.
To post to this group, send email to gmaps4...@googlegroups.com.
To unsubscribe from this group, send email to gmaps4jsf-de...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gmaps4jsf-dev?hl=en.
Hi Hazem,I'm new to gmaps4jsf.. great work!.. love gmaps4jsf..My issue: I have problem maintaining zoom level..I tried using save state etc but not successful...
Here is my code..
<h:inputText id="inputValue" size="50" value="#{beanObj.numb}" >
<a4j:support id="ajxSupp" event="onchange" immediate="false" reRender="locationData" />
</h:inputText>
<h:panelGroup id="locationData">
<t:outputText value="#{beanObj.longitude}<br>" escape="false" ></t:outputText>
<t:outputText value="#{beanObj.latitude}" escape="false" ></t:outputText>
<m:map id="mapGoogle" jsVariable="g_mapVar" autoReshape="true" partiallyTriggered="true" zoom="#{beanObj.zoom}" type="G_NORMAL_MAP" width="350" height="300" enableScrollWheelZoom="true">
<m:mapControl id="mapControlZoom" name="GSmallMapControl" position="G_ANCHOR_BOTTOM_RIGHT" offsetHeight="5" offsetWidth="5"></m:mapControl>
<m:marker latitude="#{beanObj.machineLongitude}" longitude="#{beanObj.machineLatitude}"></m:marker>
</m:map>
</h:panelGroup>
I see ajax working well... outputText was showing values also marker was getting shown properly.. but zoom was too high..I kep zoom set as 4 ( basically it is hard coded in bean...but the moment ajax gets trigged.. it is gone..Need your help on this..ThanksNick!
On Wednesday, February 16, 2011 8:09:10 AM UTC-5, Hazem Saleh wrote:
Hi Shaker,
If you want to get the address from the longitude and latitude then you should use the GMaps4JSF Geocoder service, here is an example:
http://www.mashups4jsf.com/gmaps4jsf-examples/pages/reverseGeocoding.jsf
Checkout the complete source from:
http://code.google.com/p/gmaps4jsf/source/checkout
On Wed, Feb 16, 2011 at 2:25 PM, shekar s <sheka...@gmail.com> wrote:
Hi.
i am using gmaps4jsf.jar, i give to lat/long value application,it convert location name and area code..
send sample code..
Thanks
By Chandrasekaran
--
You received this message because you are subscribed to the Google Groups "gmaps4jsf-dev" group.
To post to this group, send email to gmaps4...@googlegroups.com.
To unsubscribe from this group, send email to gmaps4jsf-dev+unsubscribe@googlegroups.com.
--Hazem Ahmed Saleh Ahmed
Author of (The Definitive Guide to Apache MyFaces and Facelets):
http://www.amazon.com/Definitive-Guide-Apache-MyFaces-Facelets/dp/1590597370
http://www.amazon.com/-/e/B002M052KY
Visualize and share your social networks 2D and 3D:
--
You received this message because you are subscribed to the Google Groups "gmaps4jsf-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/gmaps4jsf-dev/-/ZKokSgIsmVYJ.
To post to this group, send email to gmaps4...@googlegroups.com.
To unsubscribe from this group, send email to gmaps4jsf-de...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gmaps4jsf-dev?hl=en.
Hi Hazem,I´m facing the same problem that Pablo Estades (above), but the solution provided is not working for me.I have a JSF1.2 + richfaces 3.3.3 application with Gmaps4JSF 1.1.4.I have a comboBox with different addresses values loaded. Below that, I have a map which is correctly loaded and displayed with the default address. When this comboBox value changes, to select another address an ajax action is fired and after that, the map should be reRendered with the new address. The problem is: the action is working and the panel is reRendered because I´m showing the comboBox value. However the map (that initially is working), becomes grey (powered by Google and Terms and conditions links are displayed, but the map is grey). Any idea?please find my code:<h:outputText value="#{msj.puerto} (*)" styleClass="labelText" /><div class="clear" /><rich:comboBox id="puertoBarco"label="puerto"value="#{BarcosBean.puerto}"defaultLabel="#{msj.seleccionePuerto}"suggestionValues="#{BarcosBean.puertos}"styleClass="marginBottom20"inputClass="comboBoxInput"inputDisabledClass="comboBoxInputDisabled"inputInactiveClass="comboBoxInputInactive"width="255"required="true"requiredMessage="#{msj.puertoObligatorio}"><a4j:support event="onchange" action="#{BarcosBean.getUbicacionBarco}" status="esperaStatus"reRender="ubicacion" ajaxSingle="true" /></rich:comboBox><div class="clear" /><perris:ubicacion direccion="#{BarcosBean.direccionUbicacionBarco}" zoom="16" nombre="#{BarcosBean.barco.nombre}" draggable="true"/><!-- This is perris:ubication.xhtml tag><ui:composition><a4j:outputPanel id="ubicacion"><h:outputText value="#{msj.direccion}" styleClass="labelText" /><div class="clear" /><h:inputText value="#{direccion}" styleClass="perrisInput" /><div class="clear" /><div class="map"><m:map id="mapaPrueba"enableScrollWheelZoom="true"width="500"height="450"address="#{direccion}"zoom="#{zoom}"partiallyTriggered="true"><m:mapControl name="GLargeMapControl" /><m:marker><m:htmlInformationWindow htmlText="#{EmpresasBean.empresa.nombre}" /></m:marker></m:map></div></a4j:outputPanel></ui:composition>as you can see i´m using partiallyTriggered="true" but it´s still not working.Thanks,Roberto.