1 Reply Latest reply on Nov 21, 2007 4:10 PM by Sergey Smirnov

    <rich:gmap> in <rich:tabPanel> problem

    Fabrice Granzotto Newbie

      Hi!

      I have a problem if I include a <rich:gmap> in a <rich:tabPanel>. If the switchtype of the tabPanel is “AJAXâ€�, when I click on the tab containing de gmap, the page become white and waits on a respond of google…

      But if the switchtype of the tabPanel is “SERVERâ€� it works fine.

      I really need to use the switchtype ajax… Do you have any idea how I can solve this problem?

      <rich:tabPanel switchType="server">
      <rich:tab name="ViewOnTheMap" label="View on the map">
      <h:form>
      <a4j:region>
      <rich:gmap gmapVar="map" style="width:100%;height:500px" gmapKey="mykey"/>
      </a4j:region>
      </h:form>
      </rich:tab>
      </rich:tabPanel>