ICEfaces
  1. ICEfaces
  2. ICE-9878

mobi:geolocation inside dataTables fails to update location

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.BETA
    • Fix Version/s: EE-4.2.0.GA
    • Component/s: MOBI-Components
    • Labels:
      None
    • Environment:

      Description

      1) Geolocation inside ace:dataTable or h:dataTable or ui:repeat (Chrome32, IE10):
      http://localhost:8080/geolocation/geolocationAceTable.jsf
      http://localhost:8080/geolocation/geolocationTable.jsf
      http://localhost:8080/geolocation/geolocationRepeat.jsf
      Only the geolocation component from the last table row is updated with location coordinates. This is not an issue in Firefox27.


      2) Nested ace:dataTables (all browsers):
      http://localhost:8080/geolocation/geolocationNestedAceTables.jsf
      The geolocation components from the ace:dataTable inside the first row of the outside ace:dataTable fail to get locations - see attached screen shot.
      This is not an issue for the geolocation component inside nested h:dataTables in Firefox27.

      Also, warnings are visible in tomcat log:

      Feb 20, 2014 8:13:46 AM org.icefaces.mobi.component.geolocation.GeolocationRenderer decode
      WARNING: Empty Location string in GEOLocation upload (position not found yet?)
      Feb 20, 2014 8:13:46 AM org.icefaces.mobi.component.geolocation.GeolocationRenderer decode
      WARNING: Empty Location string in GEOLocation upload (position not found yet?)
      Feb 20, 2014 8:13:46 AM org.icefaces.mobi.component.geolocation.GeolocationRenderer decode
      WARNING: Empty Location string in GEOLocation upload (position not found yet?)
      Feb 20, 2014 8:13:46 AM org.icefaces.mobi.component.geolocation.GeolocationRenderer decode
      WARNING: Empty Location string in GEOLocation upload (position not found yet?)
      Feb 20, 2014 8:13:46 AM org.icefaces.mobi.component.geolocation.GeolocationRenderer decode
      WARNING: Empty Location string in GEOLocation upload (position not found yet?)


      3) Nested h:dataTables (Chrome32, IE10):
      http://localhost:8080/geolocation/geolocationNestedTables.jsf
      Only the geolocation component from the last row of the last nested h:dataTable displays the location coordinates. Not an issue in Firefox27.
      Also the same warnings appear in tomcat log.

      For this testing I enabled the browsers to always allow to track my location.


        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #51536 Tue May 16 15:48:53 MDT 2017 art.zambrano ICE-9878 modified mobi:geolocation client-side code to support multiple instances of the component
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/resources/org.icefaces.component.geolocation/geolocation.js

          People

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

            Dates

            • Created:
              Updated:
              Resolved: