Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > Tools and Techniques

   

Named Configurations

Once you have customized a page, you can capture the settings in a named configuration . Named configurations are used when you need more than one page for a particular task and entity. Consider a page that lists movies for a video rental store. A customer would want to see the names of the movies and plot summaries. A store clerk would want to see how many copies are available for rental and how long they can be rented. In addition, the customer should not be able to edit any information, while the store clerk might be able to edit some properties. To set up such a system, you create two named configurations for listing movies: one for the customer and the other for the store clerk.

Named configurations can only be displayed programmatically; the Web Assistant can edit named configurations but can't display the changes in your browser.

To save the settings of the current task and entity in a named configuration:

  1. Click Add.

    A panel appears with a text field containing a default name for the configuration (the page name followed by the entity name).

  2. Enter a new name for the configuration if you choose.

  3. Click Ok.

To edit a named configuration, select it from the Named Configurations pop-up list. You can now change settings on the Properties and Page displays.

Note:  When you edit a named configuration, the changes are not reflected in your browser. Named configurations can only be displayed programmatically.

To delete a named configuration, select it from the Named Configurations pop-up list and click Delete.


© 1999 Apple Computer, Inc. – (Last Updated July 27 99)