Details
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.
<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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion