FetchContact

Table of Contents

Overview

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.

Getting Started

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>

Attributes

TagLib Documentation
This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available here.

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.

Event Listeners

None.

Client Behavior Events

None.

JavaScript API

None.

Keyboard Support

Standard keyboard actions for HTML buttons are supported, such as tabindex and pressing the enter or space keys to activate the button.

Known Issues

None.

Additional Resources

Sample Applications

This component appears in the following ICEfaces sample applications:

Tutorials

This component appears in the following ICEfaces tutorials:

None

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2021 ICEsoft Technologies Canada Corp.