Documentation Center

Adding UI Hooks

Before you begin

To install customized UI hooks to TransPort pages that you have developed and compiled as Java snippets using the WorldServer SDK:

Procedure

  1. Extract the ui_samples.zip file contained in the wssdk_install.zip to a directory. The ui_samples.zip contains a simple example of how to create various WorldServer UI hooks.
  2. Go to Management > Administration > Customization and choose UI hooks.
  3. Click Add and Browse to locate the ui_samples.zip file.
  4. Select the ZIP file, click Open and then click OK.
  5. The sample UI Hooks Component description displays.
  6. Browse to the WorldServer Home page to view the sample UI Hooks component.
  7. Create your own classes using the generateTransPortSnippet method in WSUIHooksComponent.java.
  8. Compile WSUIHooksComponent.java and install the new version of your customized UI hooks.
  9. Add each UI hook to each TransPort page using page tokens.
    The Customized UI section is displayed after the page instructions.