summaryrefslogtreecommitdiff
path: root/server/xml/macros/test_button.xml
blob: 84f172e477acc44ffdd6a19ee9b9d797b86029e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version='1.0' encoding='UTF-8'?>
<macro name="test_button" version="1.0">
  <resume>
		<script>
			return value('dims')
		</script>
	</resume>
  <queries>
  </queries>
  <maps>
  </maps>
  <scripts>
  </scripts>
  <widgets caption="Test Button"
          layout="vbox">

    <checkbox name="dims" caption="Er dette en checkbox?"
	      truevalue="ja" falsevalue="nej"
	      value="ja"/>

    <frame layout="hbox">
      <spacer />
      <button caption="Annullér" action="cancel"/>
      <button caption="Reset" action="reset"/>
      <button caption="Gem" action="commit"/>
    </frame>
  </widgets>
</macro>