![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Rather than using Design Studio to create transformations, you can include CTE XHTML extensions in HTML/XML files to indicate transformations for a particular device. For background information and complete instructions on using XHTML extensions, refer to Chapter 8 of the Design Studio User Guide.
Table 3-1 summarizes the XHTML extensions that are particularly useful for IP phones.
XHTML Extension | Usage |
---|---|
Creates a Soft Key on the specified cards. Attributes are as follows:
The child of the SoftKeyItem element, name, is the Soft Key label text. | |
| Forces a card break. Useful for keeping two related elements together. You can also specify a cardbreak attribute on a div element as follows: <div rule="cardbreak" class="transform_rule"
devices="devices">
|
Refreshes the card after the number of seconds specified with the refresh attribute. A refresh of "0" means that the card will not refresh or that a refresh set earlier in the card deck will stop. | |
| The _keypad_mode and _input_label attributes are extensions to the input and textarea elements. The _keypad_mode attribute specifies the input type for an input field. The _keypad_mode attribute corresponds to the Cisco IP phone XML object InputFlag, with the following values: A (plain ASCII text; the default) The optional _input_label attribute specifies the prompt that an IP phone will display for the input field. A label can be up to 15 characters. Suppose that a web page contains an input field for zip code and a text area for a tracking identifier. The input and textarea elements might appear as follows: <input type="text" name="zip" value="90210" _keypad_mode="N"
_input_label="Zip Code"></input>
<textarea name="track" _keypad_mode="U" _input_label="Tracking
ID"></textarea>
|
Posted: Thu Dec 12 14:45:32 PST 2002
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.