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
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #30369 | Thu Aug 02 09:31:43 MDT 2012 | ted.goddard | augmentedReality backing code changes for JSP tag supporting c:forEach augmentedRealityLocation ( |
| Files Changed | ||||
MODIFY
/icemobile/trunk/icemobile/samples/icemobilespring/src/main/java/org/icemobile/samples/springbasic/MediaSpotController.java
MODIFY
/icemobile/trunk/icemobile/samples/icemobilespring/src/main/java/org/icemobile/samples/springbasic/MediaSpotBean.java
MODIFY
/icemobile/trunk/icemobile/jsp/src/main/resources/META-INF/icemobile.tld
MODIFY
/icemobile/trunk/icemobile/samples/icemobilespring/src/main/webapp/WEB-INF/views/mediaspot.jsp
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #30368 | Wed Aug 01 17:46:41 MDT 2012 | ted.goddard | augmentedReality JSP tag supporting c:forEach augmentedRealityLocation ( |
| Files Changed | ||||
MODIFY
/icemobile/trunk/icemobile/samples/icemobilespring/src/main/java/org/icemobile/samples/springbasic/MediaSpotController.java
MODIFY
/icemobile/trunk/icemobile/samples/icemobilespring/src/main/java/org/icemobile/samples/springbasic/MediaSpotBean.java
MODIFY
/icemobile/trunk/icemobile/jsp/src/main/resources/META-INF/icemobile.tld
ADD
/icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/AugmentedRealityLocationTag.java
MODIFY
/icemobile/trunk/icemobile/samples/icemobilespring/src/main/webapp/WEB-INF/views/mediaspot.jsp
MODIFY
/icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/AugTag.java
MODIFY
/icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/DeviceTag.java
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #30019 | Tue Jul 17 10:18:24 MDT 2012 | ted.goddard | urlBase for efficient AR image URLs ( |
| Files Changed | ||||
MODIFY
/icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/augmentedreality/AugmentedRealityRenderer.java
MODIFY
/icemobile/trunk/icemobile/samples/mobileshowcase/src/main/java/org/icemobile/samples/mobileshowcase/view/examples/device/reality/RealityBean.java
MODIFY
/icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/device/reality-example.xhtml
MODIFY
/icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/augmentedreality/AugmentedRealityMeta.java
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #30017 | Tue Jul 17 09:00:32 MDT 2012 | ted.goddard | adding file missed in checkin ( |
| Files Changed | ||||
ADD
/icemobile/trunk/icemobile/samples/mobileshowcase/src/main/java/org/icemobile/samples/mobileshowcase/view/examples/device/reality/RealityMessage.java
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #29301 | Tue Jun 05 11:30:50 MDT 2012 | judy.guglielmin | |
| Files Changed | ||||
ADD
/icemobile/trunk/icemobile/components/component/src/org/icefaces/mobi/component/augmentedreality/AugmentedReality.java
ADD
/icemobile/trunk/icemobile/components/component/src/org/icefaces/mobi/component/augmentedreality/AugmentedRealityRenderer.java
ADD
/icemobile/trunk/icemobile/components/tests/mobitest/src/main/webapp/container/augmentedReality.xhtml
MODIFY
/icemobile/trunk/icemobile/components/tests/mobitest/src/main/webapp/containerComponents.html
ADD
/icemobile/trunk/icemobile/components/component/src/org/icefaces/mobi/component/augmentedreality/AugmentedRealityMeta.java
ADD
/icemobile/trunk/icemobile/components/component/src/org/icefaces/mobi/component/augmentedreality
|
