0

I have a gmap as follows:

<p:gmap id="gOthermap" center="5.3096600, -4.0126600" zoom="13" draggable="true"
                type="ROADMAP" style="width:400px;height:200px"
                model="#{createCompanyReceptionnist.otherMapModel}"
                onPointClick="rco();handlePointClickOtherLocation(event);" 
                widgetVar="othermap">
            <f:param name="cid" value="#{createCompanyReceptionnist.conversationId}"/>
            <p:ajax event="markerDrag"
                    listener="#{createCompanyReceptionnist.onOtherMapMarkerDrag}"  />
        </p:gmap>

Each time i click on the map, the postconstruct method on my managedBean which is conversationScoped is called, how can i avoid that?

Thank you in advance

Kukeltje
  • 12,223
  • 4
  • 24
  • 47
imenb
  • 1
  • 4

0 Answers0