Content
This section demonstrates the edit_mode and next_edit_mode callbacks. In order to demonstrate this better we are also using the next_edit_mode fragment (for changing the modes).
<?xml version="1.0" encoding="UTF-8"?> <!--in the next line we use the edit_mode and next_edit_mode callbacks--> <SnomIPPhoneMenu name="Edit mode:$(edit_mode); Next edit mode:$(next_edit_mode)" speedselect="off"> <InputField> <Handler event="keypress">file:///xml/text.xml#var:text=$[current_input]</Handler> <Key>ENTER</Key> <Prompt>Input:</Prompt> </InputField> <SoftKeyItem> <Name>F1</Name> <Label>Next mode</Label> <Icon>kIconTypeFkeyRight</Icon> <Url>snom://mb_nop#next_edit_mode</Url> <!--here we use the next_edit_mode fragment--> </SoftKeyItem> </SnomIPPhoneMenu>
Result:
Further Information
Related articles