EMC Documentum WebDevelopmentKit WebDevelopmentKit Version6 Tutorial P/N300005262A02 EMCCorporation CorporateHeadquarters: Hopkinton,MA01748‑9103 1‑508‑435‑1000

  • View
    222

  • Download
    3

Embed Size (px)

Text of EMC Documentum WebDevelopmentKit WebDevelopmentKit Version6 Tutorial P/N300005262A02 EMCCorporation...

  • EMC DocumentumWeb Development Kit

    Version 6

    TutorialP/N 300005262A02

    EMC CorporationCorporate Headquarters:

    Hopkinton, MA 01748910315084351000www.EMC.com

  • Copyright 2005 2007 EMC Corporation. All rights reserved.

    Published November 2007

    EMC believes the information in this publication is accurate as of its publication date. The information is subject to changewithout notice.

    THE INFORMATION IN THIS PUBLICATION IS PROVIDED AS IS. EMC CORPORATION MAKES NO REPRESENTATIONSOR WARRANTIES OF ANY KINDWITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLYDISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

    Use, copying, and distribution of any EMC software described in this publication requires an applicable software license.

    For the most uptodate listing of EMC product names, see EMC Corporation Trademarks on EMC.com.

    All other trademarks used herein are the property of their respective owners.

  • Table of Contents

    Preface ................................................................................................................................. 9

    Chapter 1 Tutorial Preparation and Basics .................................................................. 11Typographical conventions used in the tutorials ................................................. 11Setting up the environment for the WDK tutorials .............................................. 11Tutorial basics .................................................................................................. 12Clearing caches and refreshing ...................................................................... 12Overview of the custom layer ........................................................................ 13Custom layer inheritance and overrides ..................................................... 13

    Setting up an IDE ............................................................................................. 14Creating a project in Eclipse .......................................................................... 14

    Chapter 2 Configuring the Webtop menubar ............................................................... 17Finding the files................................................................................................ 17Adding a command to a menu .......................................................................... 17Removing a command from a menu .................................................................. 21Rearranging commands in a menu..................................................................... 22Replacing a command in a menu ....................................................................... 23Removing an entire menu ................................................................................. 24When the application behaves in an unexpected manner..................................... 26Small changes, big impact ................................................................................. 27

    Chapter 3 Configuring Columns in a Webtop List Control ........................................... 29Areas of confusion ............................................................................................ 29Finding the files................................................................................................ 30Adding a column.............................................................................................. 31Removing a column.......................................................................................... 32Rearranging columns........................................................................................ 33

    Chapter 4 Hello Webtop ............................................................................................... 35Step 1 Configuring the MenuBar ................................................................... 35Step 2 Configuring the Hello World action ..................................................... 36Step 3 Configuring the Hello World component.............................................. 37Step 4 Creating the Hello World JSP page....................................................... 38Step 5 Adding static controls to the JSP page .................................................. 40Step 6 Adding dynamic controls to the JSP page ............................................. 45Step 7 Adding databound controls to the JSP page.......................................... 49Step 8 Linking to a second JSP page ............................................................... 57

    EMC Documentum Web Development Kit Version 6 Tutorial 3

  • Table of Contents

    Chapter 5 Starting in a Specific Component ................................................................ 67Task objective ................................................................................................... 67Technical overview ........................................................................................... 67Modifying the main component definition ......................................................... 68Extending the main component class ................................................................. 69Testing the configuration................................................................................... 70Variations on this tutorial .................................................................................. 70

    Chapter 6 Creating an Action List Component ............................................................ 71Task objective ................................................................................................... 71Technical overview ........................................................................................... 72Creating the component definition..................................................................... 73Creating the component layout.......................................................................... 73Creating the component class ............................................................................ 75Supporting navigation between pages................................................................ 77Creating the action list datagrid......................................................................... 78Creating the action info datagrid ....................................................................... 80Creating the resource bundle............................................................................. 84Testing the customization.................................................................................. 85Variations on this tutorial .................................................................................. 85

    Chapter 7 Creating a Content Transfer Listener .......................................................... 87Task objective ................................................................................................... 87Technical overview ........................................................................................... 88Creating the component definition..................................................................... 88Creating the component layout.......................................................................... 88Creating the component class ............................................................................ 89Creating the resource bundle............................................................................. 91Testing the customization.................................................................................. 91Variations on this tutorial .................................................................................. 92

    Chapter 8 Limiting Import Types .................................................................................. 95Task objective ................................................................................................... 95Technical overview ........................................................................................... 96Creating the component definition..................................................................... 96Creating the component layout.......................................................................... 97Creating the component class ............................................................................ 97Creating the resource bundle............................................................................. 99Testing the customization................................................................................ 100Variations on this tutorial ................................................................................ 102

    Chapter 9 Using Tracing and Logging in a Component ............................................. 105Task objective ................................................................................................. 105Technical overview ......................................................................................... 106Creating the tracing class ................................................................................ 106

    4 EMC Documentum Web Development Kit Version 6 Tutorial

  • Table of Contents

    Adding tracing to the component class ............................................................ 107Adding custom tracing to the actionlist component .......................................... 108Turning on tracing .......................................................................................... 108Testing the customization................................................................................ 109Examining the trace log................................................................................... 109Variations on this tutorial ....

Recommended

View more >