Content

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languageen

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
languagexml
<?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
showLabelsfalse
max50
spacesPW
showSpacefalse
sorttitle
typepage
cqllabel = "xml-minibrowser" and label = "callbacks" and type = "page"
labelsdect dect-multicell

...