OverviewSince 4.0
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. Getting StartedTo 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> Attributes
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. Event ListenersNone. Client Behavior EventsNone. JavaScript APINone. Keyboard SupportStandard keyboard actions for HTML buttons are supported, such as tabindex and pressing the enter or space keys to activate the button. Known IssuesNone. Additional ResourcesSample ApplicationsThis component appears in the following ICEfaces sample applications: TutorialsThis component appears in the following ICEfaces tutorials: None |
Scan
© Copyright 2021 ICEsoft Technologies Canada Corp.