Content

Page tree

Versions Compared

Key

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

Example: Hold the new setting until the flush fragment is called. At the SnomIPPhoneText with page1 id, the setcache callback value for fkey_label0 setting is shown weather.

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneBatch>
    <SnomIPPhoneText id="page0">
    <!-- setcache callback not working, but setcache fragment and flush are working -->
        <Title>page 0</Title>
        <SoftKeyItem>
            <Name>*</Name>
            <Url>http://link_to_this_example.xml#sub=*[@id="page1"]&amp;setcache:fkey_label0=weather</Url>
        </SoftKeyItem>
        <Text>set:fkey_label0:$(set:fkey_label0)<br />
            setcache:fkey_label0:$(setcache:fkey_label0)<br/>
            prees * to continue to setcache</Text>
    </SnomIPPhoneText>
    <!-- set: old value -->
    <SnomIPPhoneText id="page1">
        <Title>page 1</Title>
        <SoftKeyItem>
            <Name>*</Name>
            <Url>http://link_to_this_example.xml#sub=*[@id="page2"]&amp;flush</Url>
        </SoftKeyItem>
        <Text>set:fkey_label0:$(set:fkey_label0)<br />
            setcache:fkey_label0:$(setcache:fkey_label0)<br/>
            prees * to continue flush</Text>
    </SnomIPPhoneText>
    <SnomIPPhoneText id="page2">
        <Title>page 2</Title>
        <SoftKeyItem>
            <Name>*</Name>
            <Url>http://link_to_this_example.xml#sub=*[@id="page3"]</Url>
        </SoftKeyItem>
        <Text>set:fkey_label0:$(set:fkey_label0)<br />
            setcache:fkey_label0:$(setcache:fkey_label0)<br/>
            prees * to continue</Text>
    </SnomIPPhoneText>
    <SnomIPPhoneText id="page3">
        <Title>page 3</Title>
        <Text>set:fkey_label0:$(set:fkey_label0)<br />
            setcache:fkey_label0:$(setcache:fkey_label0)</Text>
    </SnomIPPhoneText>
</SnomIPPhoneBatch>


Result:

Image Added


Include Page
Howto Footer - uni-en
Howto Footer - uni-en

Content by Label
showLabelsfalse
max50
spacesPW
showSpacefalse
sorttitle
typepage
cqllabel = "callbacks" and type = "page"
labels minibrowser xml-minibrowser

Sv translation
languagede

Beispiel: Halten Sie die neue Einstellung, bis das Flush-Fragment aufgerufen wird. Beim SnomIPPhoneText mit page1 id wird der setcache-Callback-Wert für die Einstellung fkey_label0 mit "weather" angezeigt.

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneBatch>
    <SnomIPPhoneText id="page0">
    <!-- setcache callback not working, but setcache fragment and flush are working -->
        <Title>page 0</Title>
        <SoftKeyItem>
            <Name>*</Name>
            <Url>http://link_to_this_example.xml#sub=*[@id="page1"]&amp;setcache:fkey_label0=weather</Url>
        </SoftKeyItem>
        <Text>set:fkey_label0:$(set:fkey_label0)<br />
            setcache:fkey_label0:$(setcache:fkey_label0)<br/>
            prees * to continue to setcache</Text>
    </SnomIPPhoneText>
    <!-- set: old value -->
    <SnomIPPhoneText id="page1">
        <Title>page 1</Title>
        <SoftKeyItem>
            <Name>*</Name>
            <Url>http://link_to_this_example.xml#sub=*[@id="page2"]&amp;flush</Url>
        </SoftKeyItem>
        <Text>set:fkey_label0:$(set:fkey_label0)<br />
            setcache:fkey_label0:$(setcache:fkey_label0)<br/>
            prees * to continue flush</Text>
    </SnomIPPhoneText>
    <SnomIPPhoneText id="page2">
        <Title>page 2</Title>
        <SoftKeyItem>
            <Name>*</Name>
            <Url>http://link_to_this_example.xml#sub=*[@id="page3"]</Url>
        </SoftKeyItem>
        <Text>set:fkey_label0:$(set:fkey_label0)<br />
            setcache:fkey_label0:$(setcache:fkey_label0)<br/>
            prees * to continue</Text>
    </SnomIPPhoneText>
    <SnomIPPhoneText id="page3">
        <Title>page 3</Title>
        <Text>set:fkey_label0:$(set:fkey_label0)<br />
            setcache:fkey_label0:$(setcache:fkey_label0)</Text>
    </SnomIPPhoneText>
</SnomIPPhoneBatch>


Ergebnis:

Image Added


Include Page
Howto Footer - de
Howto Footer - de

Content by Label
showLabelsfalse
max50
spacesPW
showSpacefalse
sorttitle
typepage
cqllabel = "callbacks" and type = "page"
labels

...

minibrowser xml-

...

minibrowser