Datasheet

Attribute Name Description
portlet-section- This style is used for highlighting a particular set of cells for the user.
selected
portlet-section- If you have subheadings in your table that you need to distinguish
subheader from your table header, you use this style.
portlet-section-footer If you include a footer to your table, this style would be used for
those cells.
portlet-section-text This style is used for things that do not fit in the other style
definitions.
portlet-form-label This is to style the label for the whole form, such as “User Regis-
tration Form.”
portlet-form-input- This is for the text that a user enters into an input field.
field
portlet-form-button This is for the text that appears on the face of a button.
portlet-icon-label This styles text next to an application-specific icon, such as “Export.”
portlet-dlg-icon-label This styles text next to a standard icon, such as “Cancel.”
portlet-form-field- This styles text that separates form fields (such as radio buttons).
label
portlet-form-field This is used for labels of checkboxes, but not for input fields.
portlet-menu This styles the menu itself (e.g., color).
portlet-menu-item Use this to style an ordinary menu item that is not selected.
portlet-menu-item- This is used to style an item that has been selected.
selected
portlet-menu-item- Use this to style an ordinary menu item when the mouse hovers
hover over it.
portlet-menu-item- This is used to style a selected item when the mouse hovers over it.
hover-selected
portlet-menu-cascade- Use this to style an unselected menu item that has menu items
item nested underneath it.
portlet-menu-cascade- Use this to style a selected menu item that has menu items nested
item-selected underneath it.
portlet-menu-description This styles text that is used to describe the menu.
portlet-menu-caption This is used for the menu caption.
By using these styles, portlet developers ensure that their portlets can be reused in many portlet applica-
tions, and be consistent with WSRP. In addition, it enables developers to apply “skins” from other port-
let applications to their portlet.
23
The Java Portlet API (JSR 168)
04 469513 Ch01.qxd 1/16/04 11:04 AM Page 23