Motorola CA50 Developer & User Manual page 292

Table of Contents

Advertisement

10 - 8 CA50/UCA Client & Server Developer & User Guide
HTML Elements Contained in the Body Element
The proprietary HTML elements contained in the body are all custom "input" elements.
Input elements are not rendered even if they are of type text due to the dimensions of the display. The UCA client
application behaves as though the custom input tags are visible and "clickable" by a user. Each custom input tag
must be within a form element. All input fields that are not of type "submit" or "button" and the input field that was
activated are sent to the server using the value of the "action" attribute and the value of the "method" attribute. The
form data is sent as GET or POST based on the value of the "method" attribute. POST is used if the "method"
attribute is not contained in the form element.
HTML Elements Contained in the Body Element
Table 10-2
Element
<input type=type = "submit" id="ScanData"
name="Price" value = "" />
<input type="submit" id="LeftSoftKey"
name="SoftKey" value="Prev"
<input type="button" id="RightSoftKey"
name="SoftKey" value="Next"
This input element allows a form to be submitted when the user scans a bar
code label. The id attribute's value must be "ScanData" and the type attribute
must be "submit" or "button". The value for the "value" attribute is the bar
code label scanned when the form is submitted. The name value pair is as
follows, "Price=xxxxx" where "xxxxx" is the bar code label scanned.
This input element allow a form to be submitted when the user presses the
/>
left soft key on the CA50 device. The id attribute's value must be
"LeftSoftKey" and the type attribute must be "submit" or "button". The value
for the "value" attribute is the label for the left soft key on the device. Keep in
mind that keys defined by the Web application take precedence over the keys
defined in the <MenuStates> area of the XML profile.
Note: The name attribute's value must be the same as the value for the name
attribute of the "RightSoftKey" when both are on a page of the business
application.
This input element allows a form to be submitted when the user presses the
right soft key on the CA50 device. The id attribute's value must be
/>
"RightSoftKey" and the type attribute must be "submit" or "button". The value
for the "value" attribute is the label for the right soft key on the device. Keep in
mind that keys defined by the Web application take precedence over the keys
defined in the <MenuStates> area of the XML profile.
Note: The name attribute's value must be the same as the value for the name
attribute of the "LeftSoftKey" when both are on a page of the business
application.
The labels for the soft keys are displayed above the physical buttons on the
device. In addition, the soft keys are controlled by the UCA client application
if these soft key inputs are not present.
Description

Advertisement

Table of Contents
loading

Table of Contents