formfragment

Purpose

Used to set form fragment link text values from the page.

Contained by

Attribute groups

Example

<?xml version="1.0" encoding="UTF-8"?>
<canvas layoutName="/formfragment.mlyt" pageTitle="formfragment">
  <layout>
    <formfragment name="formFragment1" backLinkText="Return to Login"/>
    <formfragment name="formFragment2" linkText="Choose platform"
      backLinkText="Choose different platform"/>
    <formfragment name="formFragment3" linkText="Next"/>
  </layout>
  <xfform name="formControls" action="download.jsp">
    <xftextinput name="login" caption="Login" captionPane="pane1"
      entryPane="pane1"/>
    <xfsiselect name="select" caption="Choose platform" captionPane="pane2"
      entryPane="pane2" initial="linux">
      <xfoption caption="Windows" value="windows"/>
      <xfoption caption="MacOS X" value="mac"/>
      <xfoption caption="Linux" value="linux"/>
    </xfsiselect>
    <xfaction type="submit" caption="Download" captionPane="pane3"
      entryPane="pane3"/>
  </xfform>
</canvas>

The formfragment.mlyt layout may have the following structure.

formfragment.mlyt

Related topics