|
|
Working with Properties
This chapter describes how to add a property to a property set. We will create a property and then add a default value.
This topic includes the following sections:
Adding Properties Within a Property Set
WebLogic Personalization Server provides Administration Tools that make it easy to personalize your application. We will start by adding a property to a property set using the Property Set Management tool.
Creating a Property Within the exampleportal Property Set
In this section, we will add the AcmePoints property to the existing exampleportal User Property property set. The AcmePoints property will be used to track the number of times a user visits the site.
Follow these steps to add the AcmePoints property to the exampleportal properties set:
Note: The default port is 7501. Refer to the configuration section in the installation guide for more information about setting the ListenPort in the weblogic.properties file.
Note: Be sure to click on the exampleportal property set under the "User Property Sets" titlebar, and not under the "Application Initialization Property Sets" titlebar.
Note: The "single" option refers to those properties having only one option (for example, Property: FavoriteColor, Attribute: red). The "multiple" option refers to those properties having multiple options (for example, Property: Colors, Attributes: red, green, blue, and so on).
Note: Restricted categories refer to user input via a list, radio buttons, check boxes, and so on. Unrestricted categories refer to instances in which users populate a form field.
Adding a Default Value to the AcmePoints Property
Now we will add a default value so the application will always find a value.
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|