Avaya 4600 IP Phone User Manual


 
Creating Websites for the 4610SW and 4620 IP Telephones
Event Elements
C-11
<onevent> tag - The onevent tag serves as a container for code that you wish to be executed
automatically when one of the four intrinsic events occurs. The onevent element is said to bind
(associate) the tasks (code) to the event for the element. The intrinsic event must be specified
using the mandatory type attribute.
For example, when a user presses the BACK softkey, instead of being routed to the previous
screen, the user will be directed to another specified page because this tag carries out a
onevent backward event.
The intrinsic events are:
The template element creates code that is inserted into all cards in a single deck. The nested tags
are as follows, go, noop, prev, and refresh.
There are no visual implications for supporting the <onevent> tag.
<postfield> tag - The postfield tag is used to set a name/value pair that can be transmitted to
an origin server (source of the request) during a URL request. The name is set by the name
attribute and must be a valid WML variable name. The value is set by the value attribute.
There are no visual rendering implications with this tag.
Event Permitted Tags Description
onenterbackward card or template Occurs when a <prev> navigates
back onto a card. SUPPORTED.
onenterforward card or template Occurs when a <go> navigates into a
card. SUPPORTED
onpick option Occurs when an item is selected/
unselected by a user. SUPPORTED
ontimer card or template Occurs when the time expires.
SUPPORTED
Attribute Value Description Comments
type onenterbackward
onenterforward
onpick
ontimer
REQUIRED. Specifies the type
of the “onevent” element
SUPPORTED
Attribute Value Description Comments
name cdata REQUIRED. The name of the field SUPPORTED
value cdata REQUIRED. The value of the field SUPPORTED