Suche Home Einstellungen Anmelden Hilfe  

prev next Up Title Contents Index

2.4.1 Document Classes in WaveMaster

When document classes have been declared for your server, a default collection, probably with the title Document Classes (the Name attribute must have the value hw_documentclasses) will appear in the collection listing. this is where all instances of document classes will be created.

When document classes are declared on Hyperwave Information Server, the interface will change in certain ways. These changes, however, are dynamically implemented according to what specifications were made when the document class was programmed. For example, extra menu items might appear, depending on what was programmed for the document class. These changes occur on the Publish menu and possibly in the main Hyperwave Information Server interface.

CHANGES IN THE PUBLISH MENU

When you access the Publish menu, new items will be displayed that represent anything that is insertable under the Document Classes scheme.

Let us look at our example. The document class AddressBookEntry has been declared, and you now want to instantiate it. When you navigate to where you want to insert the instance of this document class and click on the Publish menu, the item AddressBookEntry will be listed on the menu as an element that can be inserted. Similarly, commands that are not valid for this document class (Text, HTML, etc.) will be disabled on the menu.

It is possible to configure how many document classes types appear on the Publish menu: the default is five. If there are more than this number of document classes declared for the server, an item More4 will appear, with a sub-menu containing the document classes types.

Figure 73: Publish menu for Document Classes
CHANGES IN THE MODIFY MENU

Like the Publish menu, certain changes may affect that Modify menu, depending on what document class is declared for the current object. In the case of the AddressBookEntry for example, the item Edit Members will appear on the Modify menu. Similarly to other functions on Hyperwave Information Server, when you navigate to an instance of a certain document class, any standard menu items under the Modify menu that are not valid for this particular document class will be disabled.

DYNAMICALLY GENERATED MENU

As well as the changes in the menu listings under Publish and Modify, an extra menu point will also be dynamically generated when you navigate to an instance of a document class. This menu will appear at the on the Hyperwave Information Server menu bar and will be labeled DC.

This menu will list any methods that may be available for this document class, including methods that require the user to input further parameters. For example, it may be possible to send a mail to a person based on the information available from the instance attributes. In this case, the item Send will appear in the menu listing.

Figure 74: DC menu for instance of document class AddressBookEntry


prev next Up Title Contents Index

Benutzer: gast • Besitzer: hwsystem • Zuletzt geändert am: