ICEfaces
  1. ICEfaces
  2. ICE-10347

ace:gMap - Add support for multiple subcomponents

    Details

    • Assignee Priority:
      P1
    • Workaround Exists:
      Yes
    • Workaround Description:
      Use c:forEach if you can. c:forEach will not work if the code populating the ace:gMapMarker components is in an f:event tag in the page. This is because all the f:events execute after c:forEach.

      Description

      Attempting to dynamically populate an ace:gMap component with ace:gMapMarker component does not work with ui:repeat:

              <ace:gMap style="height:500px; width:675px;">
                  <ui:repeat value="#{realmBean.userLocations}" var="location">
                      <ace:gMapMarker longitude="#{location.location.geometry.coordinates[0]}" latitude="#{location.location.geometry.coordinates[1]}" options="title:'#{location.username}'"/>
                  </ui:repeat>
              </ace:gMap>

      The result is an error in the browser (Firefox):

      TypeError: a is null
      ...b[r]+b.D);Sa(c,b[C]+b.I)}function Um(a){return new W(a[yb],a[Cc])};function Vm(a...
      {main,places}.js (line 44, col 1838)
      1. gMapMultipleLayers.xhtml
        2 kB
        Arturo Zambrano
      2. gMapMultipleServices.xhtml
        3 kB
        Arturo Zambrano

        Activity

        Brad Kroeger created issue -
        Brad Kroeger made changes -
        Field Original Value New Value
        Assignee Ken Fyten [ ken.fyten ]
        Brad Kroeger made changes -
        Summary ace:gMap Suuport for ui:repeat ace:gMap Support for ui:repeat
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ] Arturo Zambrano [ artzambrano ]
        Fix Version/s EE-4.0.0.GA [ 11171 ]
        Fix Version/s EE-3.3.0.GA_P03 [ 11572 ]
        Assignee Priority P2 [ 10011 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Fix Version/s EE-4.0.0.GA [ 11171 ]
        Ken Fyten made changes -
        Fix Version/s EE-4.0.0.GA [ 11171 ]
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Fix Version/s EE-4.0.0.GA [ 11171 ]
        Ken Fyten made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Liana Munroe made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Summary ace:gMap Support for ui:repeat ace:gMap - Add support for multiple subcomponents
        Ken Fyten made changes -
        Fix Version/s EE-4.0.0.GA [ 11171 ]
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Assignee Priority P2 [ 10011 ] P1 [ 10010 ]
        Arturo Zambrano made changes -
        Attachment gMapMultipleLayers.xhtml [ 17987 ]
        Arturo Zambrano made changes -
        Attachment gMapMultipleServices.xhtml [ 17988 ]
        Arturo Zambrano made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 4.1 [ 11375 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Brad Kroeger
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: