Motorola CA50 Developer & User Manual page 299

Table of Contents

Advertisement

Example 3 - Both Soft Keys Defined by the Web Application
Figure 10-3
and the HTML that follows shows a Web page where both keys are defined by the Web application. In
most cases this would not be a good idea. If the user wanted to change walkie-talkie channels at this moment, he
or she could not. In this case, the Web application is expecting a Yes/No response. The Yes/No response is
expected in a short amount of time so it is not a problem that the user cannot get to the UCA client application
features at that moment. Using the <font> HTML tag the font can be changed and/or the size increased or
decreased. HTML tag <b> can be used to make the text bold.
10:52
User Already
logged in
Continue?
Yes
No
Both Soft Keys Defined
Figure 10-3
HTML for Web Application Defining Both Soft Keys
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Dup Login Page</title>
</head>
<body>
<form name="form2" method="post"
action="ConfirmDuplicateLogin.aspx?userName=10017319&sStoreNumber=0002" id="form2">
<font FACE="courier" size=2>
<b>User Already</b><br/>
<b>logged in.</b><br/>
<b>Continue ?</b>
</font>
<input type="submit" name= "btn" id="RightSoftKey" value="No">
<input type="submit"name= "btn" id="LeftSoftKey" value="Yes">
<input type="hidden" name= "userName" value="10017319">
<input type="hidden" name= "sStoreNumber" value="0002">
</form>
</body>
</html>
CA50 Business Application Development 10 - 15

Advertisement

Table of Contents
loading

Table of Contents