Scheduled maintenance alert

Our website will undergo maintenance from Di, 19.11.2024, 20:00 CEST to Di, 19.11.2024, 22:00 CEST, which may cause occasional service disruptions. We apologize for any inconvenience and appreciate your understanding.

Content

Page tree

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: