The Technology Explorer for IBM DB2 uses an XML based menu system. For the tutorial to be loaded the menu item to the right will need to be created.
Steps to complete:
- Create a file called 'menu_30_tableJoinTutorial.xml' in the folder './tutorials/'
- Copy the contents of tab 'menu_30_tableJoinTutorial.xml ' located to the right into the new created file
- Save & close the file
- From the menu select 'File->Reload menu'
- Once the menu has reloaded open your tutorial from 'Learn->About table joins'
Nothing Exciting will be shown as you have no pages in your tutorial yet.
Extra:
Menus are a tutorial in them selves below is a brief description of the menu structure presented to the right
Root element 'menu'
- attribute 'type'
- Value option : 'leaf' (indicates that something is to be loaded, 'branch' (expect the attribute 'branchDirectory' that will be a sub directory where more menu files can be loaded), 'line' (will produce a line break with in the generated menu)
- attribute 'branchDirectory'
- Value sub directory where to load more menu files from, will only be used when the type is 'branch'
- element 'description'
- String value used as the title for the menu item
- element 'pageWindow'
- This indicate that a page layout is to be loaded
- attribute 'target'
- This indicates the window name to open the layout in, special name '_blank' (opens a new tab), '_final' (opens a new tab, no history is saved, will not accept a new layout or load new content from outside of the tab
- element 'panel'
- This is a basic component that will display content
- attribute 'name'
- This is a unique identifier for the panel, no two panels within a 'pageWindow' element can have the same name
- attribute 'PrimaryContainer'
- This indicates if the panel has the rights to set the window title and use the space within the window title bar, only one panel within a 'pageWindow' element should have this set to true
- element 'link'
- Defines a content type to be loaded
- attribute 'type'
- Indicates the type of the link content to load, in this case it will load a client or server action
- element 'parameterList'
- Contains a list of element that are parameters to be sent back into the calling object
- element 'parameter'
- A signle parameter to send to the object that is being called, the value contained is sent
- attribute 'name'
- The name of the parameter that is to be sent
- attribute 'value'
- Specifies a special registry variable to be sent in, this will be replaced when the menu is processed
Parameter that are sent Back
- action
- This is the action that is to be called
- tutorialName
- this is the sub directory where the tutorial is stored
- CurrentMenuLocation
- using the special registry variable CURRENT_MENU_LOCATION this will send back the location of where the menu item was loaded from.