Sha256: 569f2e6ff7745ea5aa1753b918d98ebb4e3a5d35b2ebdc2fe4bc5b92cc88dd03

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

<?xml version="1.0" encoding="ISO-8859-1"?>
<tml xmlns="http://www.ingenico.co.uk/tml" cache="deny">
  <head />

  <screen id="init" next="#main">
    <!-- maybe some init here one day? maybe not... -->
  </screen>

  <!-- #main doubles as a hyperlink test -->
  <screen id="main" next="#main">
    <display>
      Choose a test:
      <a href="#hyperlinks">hyperlinks</a><br/>
      <a href="#hotkeys">hotkeys</a><br/>
    </display>
  </screen>

  <!-- conclusion of the epic Hyperlink series... -->
  <screen id="hyperlinks" next="#hyperlinks">
    <display>
      The hyperlink worked...
    </display>
  </screen>

  <!-- hotkey test -->
  <screen id="hotkeys">
    <next uri="#hotkeys">
      <variant uri="#init" key="1" />
    </next>
    <display>
      Press 1 to leave.
    </display>
  </screen>

  <!-- menu and cancel button test -->
  <screen id="test_menu" cancel="#on_cancel" menu="#on_menu">
    <display>
      Press MENU for menu.
    </display>
  </screen>
  <screen id="on_menu" />
  <screen id="on_cancel">
    <next uri="#test_menu">
      <variant uri="#main" key="1" />
    </next>
  </screen>
</tml>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rtml-2.0.4 spec/support/raw_tml/user_input.tml