Avaya 4600 Series User Manual

Page 141

Advertising
background image

Creating Websites for the 4620 IP Telephone

Event Elements

C-9

<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.

If more than one page of softkey labels are specified, pressing the MORE softkey
automatically presents the user with the next page of labels. If the last page is displayed
and the user presses the MORE softkey, the first page of labels is then displayed. As
implied by the above, the softkey buttons are labeled in sequential order of the <do> tags.

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

Advertising