Since 4.0
Until 4.2
As of January of 2017 the BridgeIt project has been deprecated. As a result, this component has been removed from ICEfaces as of the 4.2 release.
The mobi:fetchContact component renders a button that launches the Bridgeit application on the user's device to retrieve the details of a particular contact stored in the device and upload such information to the server, storing the details in various properties of this component.
To start using the FetchContact component, place the mobi:fetchContact tag inside a form and bind the value (and optionally other attributes) to a backing bean property.
<h:form>
<mobi:fetchContact id="contact"
buttonLabel="Fetch a Contact"
fields="name, email, phone"
value="#{contactsBean.rawContact}"
name="#{contactsBean.name}"
email="#{contactsBean.email}"
phone="#{contactsBean.phone}"/>
</h:form>
TagLib Documentation
This section covers attributes involved in the typical use-cases for this component.
The value attribute is where the raw contact information is stored.
The name is where the name from the contact is stored.
The phone is where the phone of the contact is stored.
The email is where the e-mail of the contact is stored.
The fields attribute specifies which details from the contact are retrieved. It can include the following values, separated by commas: 'name', 'email', and 'phone'.
The buttonLabel specifies the label of the button before it is activated.
None.
None.
None.
Standard keyboard actions for HTML buttons are supported, such as tabindex and pressing the enter or space keys to activate the button.
None.
This component appears in the following ICEfaces sample applications: