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:scan component renders a button that launches the Bridgeit application on the user's device to scan a QR code and send the decoded message to the server to store it as the value of this component.
To start using the Scan component, simply place the mobi:scan tag inside a form and bind the value to a backing bean property.
<h:form>
<mobi:scan id="scan"
value="#{bean.message}"
buttonLabel="Scan"
captureMessageLabel="Code scanned"/>
</h:form>
TagLib Documentation
This section covers attributes involved in the typical use-cases for this component.
The value attribute will contain the decoded message.
The buttonLabel specifies the label of the button before it is activated.
The captureMessageLabel specifies the label to be displayed on the button on a successful message capture.
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: