Example

Example details an example tab navigation configuration file, which would be stored in a file called SimpleNavigation.nav.

Figure 1. SimpleNavigation.nav
<?xml version="1.0" encoding="UTF-8"?>
<nc:navigation
   id="SimpleNavigation"

  <nc:loader-registry>
    <nc:loader class="some.pkg.SimpleNavStateLoader"/>
  </nc:loader-registry>

  <nc:nodes>
    <nc:navigation-page id="Home"
                        page-id="Home"
                        title="Home.Title"/>

    <nc:navigation-group id="Background"
                         title="Background.Title">
      <nc:navigation-page id="Addresses"
                          page-id="ParticipantAddressList"
                          title="Addresses.Title"/>
      <nc:navigation-page id="PhoneNumbers"
                          page-id="ParticipantPhoneNumbers"
                          title="Phone.Title"/>
    </nc:navigation-group>

    <nc:navigation-page id="Identity"
                        title="Identity.Title"
                        page-id="ParticipantIdentity"
                        dynamic="true"/>
  </nc:nodes>

</nc:navigation>

The SimpleNavigation.nav should have a corresponding SimpleNavigation.properties file, which details the localizable content. For example:

Home.Title=Home
Background.Title=Background
Addresses.Title=Addresses
Phone.Title=Phone Numbers
Identity.Title=Identity