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). Code Block |
---|
| <?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: Image Added
Include Page |
---|
| Howto Footer - uni-en |
---|
| Howto Footer - uni-en |
---|
|
Content by Label |
---|
showLabels | false |
---|
max | 50 |
---|
spaces | PW |
---|
showSpace | false |
---|
sort | title |
---|
type | page |
---|
cql | label = "xml-minibrowser" and label = "callbacks" and type = "page" |
---|
labels | dect dect-multicell |
---|
|
|