Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

What is the Administration Navigation Channel
Registering Links
Pluggability of User Interface (Tree anyone?)
List Model's static links file: adminNav.xml
Tutorial: Adding a Static Link
Registering Links Via CAR Descriptors

...

The ResourceBundleProvider instance is then passed to an instance of XMLLinksFileLoader along with the path to adminNav.xml. XMLLinksFileLoader loads an XML file using an instance of XMLLinksHandler which defines the structure found in adminNav.xml and is responsible for making the calls to register the links found there-in. Copious comments are include in adminNav.xml explaining the XML structure that should be used when defining static links. Remember: for each link registered the appropriate entries should be added to the resource bundles that will provide the locale specific versions of the labels for those links.

...

As an example, lets add the Number Guessing Game to the list of links that appear in Admin Nav. Using the Channel Manager channel we look at the publishing information for Number Guessing Game. It has a functional name of 'number-guessing-game'. Furthermore, since the labels for ListModel come from adminNav.properties and its derivative property resource bundles we'll use a lable id that does not conflict with any other keys in those property files, say 'NUMBER_GUESSING_GAME'. Following the comments in properties/adminNav.xml we add the following declaration:

...