Essentials Overview Features License Installation FAQ Sample Sites Resources Todo Changes Download Binaries Source Code Supporting Projects Documentation Configuration Guide Javadocs Development Jetspeed Tutorial Portlet Catalog Components Registry Security Syndication WAP Customization Cache PSML Get Involved Contributors CVS Repository View CVS CVS Branches Coding Spec Bug Database |
Description
Skins are used to define color, font, and borders for various components in Jetspeed. The skin definition is used in the Template files used to general the HTML sent to the user's browser.
Skin Files
> Skin file are located in `<jetspeed_home>/WEB-INF/conf/`
> File Name | Description
> --- | ---
> skins.xreg | Skin definitions that are part of the Jetspeed distribution. Since this is part of the distribution, modifications and additions are discouraged. If a skin is not used, then it should be hidden.
> local-skins.xreg | Installation specific skin definitions should be places in this file. This file is not part the the Jetspeed distribution. To create it, just skins.xreg and remove all of the skin entries.
Parameters
> Parameter | Description
> --- | ---
> text-color | Color of normal text It is recommended that the text color be set using in styles used by the skin.
> background-color | Color of background. It is recommended that the background color be set in the styles used by the skin.
> title-text-color | Color of text used in titles It is recommended that the text color be set in the style defined by title-style-class.
> title-background-color | Background color of titles. It is recommended that the background color be set in the styles used by the skin.
> title-style-class | Style that defines text color, font, and background-color for title Only set font and color properties.
> highlight-text-color | Color of text used in selected titles It is recommended that the text color be set in the style defined by highlight-title-style-class.
> highlight-background-color | Background color of selected titles. It is recommended that the background color be set in the style defined by highlight-title-style-class.
> highlight-title-style-class | Style that defines text color, font, and background-color for selected title. Only set font and color properties.
> controller-style-class | Style that defines text color, font, background-color, and border used by controllers.
> portlet-style-class | Style that defines text color, font, background-color, and border used by portlet controls.
> content-style-class | Style that defines text color, font, background-color, and border used to display portlet content.
> tab-style-class | Style that defines text color, font, background-color, and border used to display tabs.
> tab-title-style-class | Style that defines text color, font, and background-color used to display tab titles. Only set font and color properties.
> tab-content-style-class | Style that defines text color, font, background-color, and border used to display tab content.
Parameter Usage Summary in Velocity templates
General Recommendations
Reuse styles, as defined in the stylesheet, as often as practical. This will help keep the size of the stylesheet small. Set only *-style-class parameter in the skin definition. This will keep the generated HTML simpler without the losing functionality.
Copyright © 1999-2002, Apache Software Foundation