ICEmobile
  1. ICEmobile
  2. MOBI-236

augmentedReality component and JSP tag

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Spring 1.0 Alpha
    • Fix Version/s: 1.1 Final
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      ICEmobile

      Description

      <mobi:augmentedReality value="#{bean.location}" urlBase="#{bean.baseURL}">
        <mobi:selectLocations value="#{bean.locationList}"
                       var="place"
                       locationLabel="#{place.name}"
                       locationLat="#{place.latitude}"
                       locationLon="#{place.longitude}"
                       locationAlt="#{place.altitude}"
                       locationIcon="#{place.icon}"
                      />
      </mobi:augmentedReality>

      This will write out the following JavaScript call for the onclick of a button:

      ice.aug(id, "ub=urlBase&labelName1=lat,lon,alt,icon&labelName2=lat,lon,alt,icon");

      If altitude is not specified, the value is written as labelName=lat,lon,,icon

      If icon is not specified, the value is written as labelName=lat,lon,alt

      If icon and altitude is not specified, the value is written as labelName=lat,lon

      The selectLocations tag relies on EL providing method names to a JavaBean.

        Activity

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: