<?xml version="1.0" encoding="ISO-8859-1"?>

<xform style="twocolumn" bundle="com.tonbeller.jpivot.table.resources">
  <title value="fmt:sortform.title">
    <imgButton src="wcf/form/cancel.png" action="revert" label="fmt:sortform.close" hide="true" handler="com.tonbeller.wcf.form.ButtonHandler"/>
  </title>

  <listBox1 type="int" bookmark="false" modelReference="extensions(sortRank).sortMode" label="fmt:sortform.mode">
  <listItem value="1" label="fmt:sortform.hierup"/>
  <listItem value="2" label="fmt:sortform.hierdown"/>
  <listItem value="3" label="fmt:sortform.flatup"/>
  <listItem value="4" label="fmt:sortform.flatdown"/>
  <listItem value="5" label="fmt:sortform.topcount"/>
  <listItem value="6" label="fmt:sortform.bottomcount"/>
  </listBox1>

  <textField type="posint" bookmark="false" modelReference="extensions(sortRank).topBottomCount" label="fmt:sortform.rowcount" title="fmt:sortform.enternumber"/>
  <checkBox modelReference="rowAxisBuilder.axisConfig.propertyConfig.showProperties" label="fmt:sortform.showprops"/>

  <buttons>
    <button action="validate" label="fmt:sortform.ok" handler="com.tonbeller.wcf.form.ButtonHandler" hide="true"/>
    <button action="revert" label="fmt:sortform.cancel" handler="com.tonbeller.wcf.form.ButtonHandler" hide="true"/>
  </buttons>
</xform>
