Main Elements attributes #
selectable #
Demo
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneMenu xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../minibrowser_test.xsd" selectable="off">
<Menu name="m1">
<MenuItem name="mi1"></MenuItem>
<MenuItem name="mi2"></MenuItem>
<MenuItem name="mi3"></MenuItem>
</Menu>
<Menu name="m2">
<MenuItem name="mi1"></MenuItem>
<MenuItem name="mi2"></MenuItem>
<MenuItem name="mi3"></MenuItem>
</Menu>
<Menu name="m3">
<MenuItem name="mi1"></MenuItem>
<MenuItem name="mi2"></MenuItem>
<MenuItem name="mi3"></MenuItem>
</Menu>
<Menu name="m4"></Menu>
<Menu name="m5"></Menu>
<Menu name="m6"></Menu>
<Menu name="m7"></Menu>
</SnomIPPhoneMenu>
sort #
Demo
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneMenu xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../minibrowser_test.xsd" sort="yes">
<MenuItem name="z line 1"></MenuItem>
<MenuItem name="b line 2"></MenuItem>
<MenuItem name="o line 3"></MenuItem>
<MenuItem name="k line 4"></MenuItem>
</SnomIPPhoneMenu>
Result
state #
Demo
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneBatch xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../minibrowser_test.xsd">
<SnomIPPhoneMenu id="menu1">
<MenuItem name="state relevant">
<URL>http://docs.snom.io/xml_minibrowser/examples/xml/state.xml.tpl#sub=*[@id="relevant"])</URL>
</MenuItem>
<MenuItem name="state only_mb">
<URL>http://docs.snom.io/xml_minibrowser/examples/xml/state.xml.tpl#sub=*[@id="only_mb"])</URL>
</MenuItem>
<MenuItem name="state others_except_mb">
<URL>http://docs.snom.io/xml_minibrowser/examples/xml/state.xml.tpl#sub=*[@id="others_except_mb"])</URL>
</MenuItem>
</SnomIPPhoneMenu>
<SnomIPPhoneText id="relevant" state="relevant">
<Text>state = relevant </Text>
</SnomIPPhoneText>
<SnomIPPhoneText id="only_mb" state="only_mb">
<Text>state = only_mb </Text>
</SnomIPPhoneText>
<SnomIPPhoneText id="others_except_mb" state="others_except_mb">
<Text>state = others_except_mb </Text>
</SnomIPPhoneText>
</SnomIPPhoneBatch>
Info
To test this scenario you can setup 2 cases:
Case 1
- Configure a function key as a speed dial to dial another extension
- Activate this XML application
- Press the speed dial after selecting a state
Case 2
- Call the phone from another phone
- On the called phone activate this XML application
- Press the CANCEL key after selecting a state