Creating Websites for the 4620 IP Telephone
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.
■<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:
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 |
|
|
|
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.
Attribute | Value | Description | Comments |
|
|
|
|
type | onenterbackward | REQUIRED. Specifies | SUPPORTED |
| onenterforward | the type of the |
|
| onpick | “onevent” element |
|
| ontimer |
|
|
|
|
|
|
Event Elements