Resource.Attribute

Content resource attributes are information you keep in your data store about your content. For example, if an expiration date is data about your articles describing special discounts, then expirationDate might be an attribute of your Article resource. The Resource.Attribute would be Article.expirationDate. Likewise, if appropriate age is data about training courses you display on your Web pages, then appropriateAge might be an attribute of your Course resource. The Resource.Attribute would be Course.appropriateAge.

Your data must be registered as resources for your current project in order for resources to appear as selections in the rule description field.

Some stock objects that may appear in the Resource.Attribute list are:

  • current Action Count — inspects the number of certain types of actions performed by the current Web site visitor; requires the use of logging beans to log these events.
  • current Action Names — inspects the names of actions performed by the current Web site visitor.
  • current BrowserCapability — inspects the attributes of the browser the current Web site visitor is using.
  • current Category Count — inspects numbers stored in various categories during the current Web site visit; requires the use of implicit profiling.
  • current Category Names — inspects names of categories stored during the current Web site visit; requires implicit profiling.
  • current Date — inspects the current date, day or time (local to the Web site visitor).
  • current Portlet Settings — inspects key-value pairs used by a portal to provide a concrete portlet with its dynamic configuration
  • current Request Attributes— inspects information forwarded to the current page as a request attribute.
  • current Request Parameters — inspects information passed to the current page in a query string.
  • current Session Attributes — inspects information stored in the user session.

The word "current" means the resource attributes relate to an actual Web site visitor during the time of his or her visit. If your resources include objects created during a visitor's session (such as what the visitor has selected while at the site), these objects will be designated as current. Many of the attributes you use with current objects cannot be registered with a project, therefore, they may not initially appear as selections in the attribute list in the Specify a Resource Attribute window. However, you can input and manage these attributes using the Add, Edit, and Delete buttons next to the Attribute list.


Home |