Mobile Components
Tag geolocation


geolocation captures a geolocation object of longitude and latitude, heading, speed and altitude via html5 navigator API.


Tag Information
Tag Classorg.icefaces.mobi.component.geolocation.GeolocationTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
altitudenotruejava.lang.DoubleAltitude of mobile device in meters.
bindingnotruejavax.el.ValueExpressionUsing an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean.
continuousUpdatesnotruebooleanDetermines if the component will continuously update the position. If true, a listener is used to retrieve position from navigator.geolocation.watchPosition. If false, the component will fetch a one time update via navigator.gelocation.getCurrentPosition Default = 'true'.
directionnotruejava.lang.DoubleDirection of mobile device in degrees from North.
disablednotruebooleanDisables this component, so it does not receive focus or get submitted. Default = 'false'.
enableHighPrecisionnotruejava.lang.StringDetermines if high precision location is retrieved using GPS. Has values of true, false, and asNeeded; where true means use GPS, false means don't use GPS, and asNeeded means use GPS only if needed to get a position. Default = 'asNeeded'.
idnotruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
latitudenotruejava.lang.DoubleLatitude of mobile device in decimal degrees.
longitudenotruejava.lang.DoubleLongitude of mobile device in decimal degrees.
maximumAgenotrueintIndicates maximum age in seconds, of a cached position that is acceptable for use. Default = '0'.
renderednotruebooleanReturn true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle. Default = 'true'.
timeoutnotrueintThe maximum time in seconds to wait for success or error response. A value of 0 indicates no timeout. Default = '0'.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.