WML syntax specifications for Avaya J100 Series IP Phones
General WML syntax specifications
The following table shows WML syntax requirements supported by Avaya J100 Series IP Phones and exceptions to them:
|
Specification
|
External standard reference
|
Exception
|
|---|---|---|
|
Support for HTTP and HTTPS to obtain files specified by URLs and negotiate to SSL 3.0
|
N/A
|
No
|
|
WML 1.3 support
|
Wireless Application Protocol, Wireless Markup Language Specification, Version 1.3, WAP-191-WML
|
The following are the groups of 1.3 elements are their attributes which will be ignored by the Avaya J100 Series IP Phones WML browser:
|
|
A <wml> element can contain files up to 1 MB. All data exceeding this limit will be discarded.
|
N/A
|
No
|
|
Support for WML encoded by the UFT-8 encoding of Unicode
|
The Unicode Standard, Version 5.0, Fifth Edition
|
The UTF-16 encoding of Unicode is not supported.
|
|
Support for the following WML variables:
|
N/A
|
Changing the value of these variables via a <setvar> element is not allowed.
|
|
A History Stack can store URLs and ID attributes for up to 100 cards.
If the History Stack is full, the oldest entry will be deleted before a new entry is added.
|
N/A
|
No
|
|
Error messages are created in the following cases:
Avaya J100 Series IP Phones display the “Page cannot be rendered” notification.
|
N/A
|
Any undefined 4xx response code is treated as 400 (Bad Request).
Any undefined 5xx response code is treated as 500 (Internal Server Error).
|
WML elements in Avaya J100 Series IP Phones
The following table shows WML elements supported by the Avaya J100 Series IP Phones WML browser, their attributes, values, and description:
|
Element name
|
Attributes and values
|
Description
|
|---|---|---|
|
<wml>
|
style: specifies CSS properties. If not defined specifically, all child elements inherit this element.
For more information about this attribute syntax and values, see Cascading Style Sheet support.
|
A core WML element. Inherits values from the Cascading Style Sheets (CSS) color properties of the default text.
|
|
<head>
|
N/A
|
A core WML element. Contains only a <meta> element.
This element is not visually rendered on Avaya J100 Series IP Phones.
|
|
<meta>
|
The following attributes are supported:
|
A core WML element. It is not visually rendered.
The name attribute can be only specified as title, and its value is rendered as the title on the Title line of a WML browser.
|
|
<card>
|
The following attributes are supported:
|
A core WML element. Equivalent to an HTML page element.
|
|
<template>
|
The following attributes are supported:
|
This element is used to apply do and onevent elements to all cards in a deck.
The event type set as an attribute has a higher priority than the event type set in a <onevent> element. However, if event attribute is not set in a <template> element, it is inherited from an <onevent> element.
|
|
<br>
|
Only style attribute is supported for this element.
|
A WML element which defines a line break.
|
|
<p>
|
The following attributes are supported:
|
A WML element which defines a paragraph of the text which is rendered in a new line.
This element can contain the following text elements:
|
|
<a>
|
The following attributes are supported:
|
This element provides a simpler alternative to an anchor element with an embedded <go> element.
|
|
<anchor>
|
The following attributes are supported:
|
Enables navigation between WML cards of the same deck or a different one.
|
|
<img>
|
The following attributes are supported:
|
A WML element used to include an image in a WML card.
|
|
<do>
|
The following attributes are supported:
|
A WML element used to associate a UI element to a certain task.
The <do> element can be used to specify soft keys additional to default soft keys.
Note:
In Input mode, the Edit soft key is added to empty locations.
If no <do> elements are specified, the default soft keys are rendered (the order of list items corresponds to four soft key labels from left to right):
If one <do> element is specified, it is displayed on the leftmost soft key and the default soft keys are shifted to the right:
If two <do> elements are specified, they are displayed as follows:
(Page 1 soft keys)
(Page 2 soft keys)
If three <do> elements are specified, they are displayed as follows:
(Page 1 soft keys)
(Page 2 soft keys)
If four <do> elements are specified, they are displayed as follows:
(Page 1 soft keys)
(Page 2 soft keys)
(Page 3 soft keys)
If five <do> elements are specified, they are displayed as follows:
(Page 1 soft keys)
(Page 2 soft keys)
(Page 3 soft keys)
|
|
<onevent>
|
Only type attribute is supported for this element. It specifies the type of the event.
The following values are allowed:
Note:
onenterbackward, onenterforward and ontimer attribute values are allowed when the <onevent> element is included into a <template> or a <card> element.
|
A WML element used to handle events.
The Avaya J100 Series IP Phones WML browser supports four standard types of WML events.
This element is not visually rendered.
|
|
<postfield>
|
The following attributes are supported:
|
A WML element used to send variables values to the server. The method used to obtain a deck is defined by method in a <go> element.
This element is not visually rendered.
|
|
<go>
|
The following attributes are supported:
|
A task element enclosed in the <do> element.
This element is not visually rendered.
|
|
<noop>
|
N/A
|
When the <noop> element is activated, no task is performed.
This element is not visually rendered.
|
|
<prev>
|
N/A
|
When the <prev> element is activated, a Back operation is invoked.
This element is not visually rendered.
|
|
<refresh>
|
N/A
|
When the <refresh> element is activated, the card that contains this element is redownloaded and rerendered. The History Stack is not changed when a card is refreshed.
This element is not visually rendered.
|
|
<input>
|
The following attributes are supported:
|
A WML element used to obtain alphanumeric data from users.
Input field is also associated with a variable which stores entered data.
|
|
<optgroup>
|
Only style attribute is supported for this element.
|
A WML element used to group different options together in a list.
This element is not visually rendered.
|
|
<option>
|
The following attributes are supported:
|
A WML element used to specify an item of a selection list.
|
|
<select>
|
The following attributes are supported:
|
A data collection element used to declare variables.
This element is not visually rendered.
|
|
<setvar>
|
The following attributes are supported:
|
A WML element used to declare variables.
This element is not visually rendered.
|
|
<timer>
|
The following attributes are supported:
|
Declares a timer in a WML card.
This element is not visually rendered.
|