Modified: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.html URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.html?rev=427744&r1=427743&r2=427744&view=diff ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.html (original) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.html Tue Aug 1 14:29:56 2006 @@ -1,38 +1,124 @@ - + + + + + + + - + + + + + + + + + + + -forrest:views - x output formats, one config +Dispatcher (Draft - feature under development)
+ +
+MyGroup + > MyProject + +
+
+
- + + + +
+
+spacer
- -
-
-
-
-
- -
-
- -
-
-
-
-

forrest:views - x output formats, one config

+

Dispatcher (Draft - feature under development)

-This plugin depends on a ViewHelper and a BusinessHelper implementation.
+ + + + - -
-

view

+
+
Warning
+
The "dispatcher" is new functionality which is still in + development phase. That is why it is in the "whiteboard" section of the + Forrest distribution. We are working at the moment on moving this plugin + from the whiteboard into the core plugins. Further all dispatcher related + documents will be moved into the plugin as well. See Status of + Themes: Skins and Dispatcher.
+ +

Introduction

-

Together with the ViewHelper and the BusinessHelper (to be implemented) - plugin this plugin is following the DispatcherView pattern - and building the final view which will be delivered to the client. This implementation follows exactly the pattern shown on - corej2eepatterns.com -

-

- A view will be configured by a config file - which basically contains the following tags (it is still evolving):

-
<forrest:view type="xhtml">
-  <forrest:css url="common.css"/>
-  <forrest:contract name="meta"/>
-  <forrest:hook name="container">
-   <forrest:contract name="feedback"/>
-  </forrest:hook />
-</forrest:view>
-

The view tag's @type determines the final output format. The idea is to -configure different output formats within a forrest:views. That means a forrest:views -can contain n different "forrest:view" configurations for n different formats.
-In short: x formats, one config. :)

-
<forrest:views
-  xmlns:forrest="http://apache.org/forrest/templates/1.0">
-<forrest:view type="xhtml">
-  <forrest:css url="common.css"/>
-  <forrest:contract name="meta"/>
-  <forrest:hook name="container">
-   <forrest:contract name="feedback"/>
-  </forrest:hook />
-</forrest:view>
-<forrest:view type="fo">
-  <forrest:hook name="container">
-   <forrest:contract name="feedback"/>
-  </forrest:hook />
-</forrest:view>
-/forrest:views>
-
- -
-

viewHelper

+

As stated in the Skin documentation the aim of the Forrest skins is + to provide many capabilities so that extra skins are not needed. + Experience showed that many Forrest users still decided to create a new + skin because the default skin did not offer the features that they + wanted or they "just" needed extra content in some pages. We introduced + skinconf.xml where the user could configure some features of skins but + it was up to the skin to support it and did not solve the problem to + add page specific extra content. That led us to develop a new concept + of creating skins (we called the result "themes") which would be more + easily extensible by a user.

+ +

Dispatcher - advanced separation of concerns

-

viewHelper class/implementation - a class/implementation which will -access the presentation model and transform its models. In other words -it is a presentation producing factory. -

-
-
Note
-
The <forrest:contract name="nav-main"/> expects a certain model -(now produced by leather-dev - tab2menu.xsl) to transform it. In the -future this dependency will be on a businessHelper implementation that -has to be defined in the view. For now it depends on leather-dev. I -guess leather-dev is still not dead till the businessHelper plugin comes -(which will implement the businessHelper of leather-dev). ;-)
-
-

-Each forrest:css will be transformed into a <link rel="stylesheet" type="text/css" url="{$root}skin/{url}"> tag (in html -output [only format that has an implementation]). -This tags are designed to help web-designers to freely implemend their own css-implementations for a view. -

-

-Each forrest:hook will be transformed into a <div/> tag (in html -output [only format that has an implementation]). -This tags are designed to help web-designers to freely move -around and group contracts into design container. -

-

Each forrest:contract will dispatch a xml file (ViewHelper) that contains -xsl:stylesheets (for now, but other implementations to transform the presentation - model are/should be possible) for the different output formats of a contract. - For html, the only format that we have implemented so far, we -have three different kind of templates:

-

-<xsl:templates name="{contract/@name}-css/>
-Here the contract specific css will be stored. -

-

-<xsl:templates name="{contract/@name}-head/>
-Here goes everything that belongs in the html head. e.g. scripts. -

-

-<xsl:templates name="{contract/@name}-body/>
-Everything that belongs into the body. -

-
- -
-

BusinessHelper

+

The aim of the "dispatcher" concept is to provide a flexible + framework for creating site and page specific layout in different + formats from different content through an advanced seperation of + concerns.

+

The dispatcher is a filter that limits the data-model to a minimum by + only requesting what the strucuter (e.g. common.fv) need. This leads to + a different URL handling focus - away from document centric. A document + can (but do not have to) be behind a certain URL. Like said a + structurer can request any given data as input not only a document and + the forrest core contracts (like navigation). It may be the main + enhancement in comparison to skins that this concept let you easily + extend the default data models provided by forrest.

+

Since the dispatcher has implemented a fallback concept it makes + maintenance of custom themes which are based on forrest core ones very + easy and less time consuming. The principal is to override or extend + only certain parts (contracts) of the core. This is based on the + observation that normally only a small percentage of core skin + contracts have been changed. At the same time the new plugin system + emerged. Plugins are a way of extending Forrest to satisfy + site-specific needs. This includes to provide plugin specific + contracts.

+ +

Structurer - configuration for themes

+

We developed the structurer to let the user decide + where to place elements in e.g. html pages. We started this work with the + skinconf.xml where you could configure certain elements and + their positions. These elements were known under certain names. It was up + to the skin designer to support this configuration and the elements.

+

The work started with grouping elements (the ones from skinconf). We + used css-contracts that we added as @attributes e.g. <div id="content-main"/> + . That made it possible to use the same elements in different + skins. For the full list refer to the + initial contract list

+

Around this contracts we developed a configuration Domain Specific + Language - called the structurer. The + structurer allows us to define the order in which + forrest:contracts appear, and also to group them using + forrest:hooks.

+

forrest:hooks are containers that are only used for + layout reasons. They do not add any content nor + functionality to the output. They add only layout + information to the output. Actually e.g. a <forrest:hook name="layoutId"/> + will be transformed to <div id="layoutId"/> +

+

forrest:contracts are functionality or extra content + that a theme can use to display the request. Sometimes a contract + delivers format-specific markup, other times it delivers + a format-independent string. We decide different kind of + contracts, static one (like described in the contract howto), semi static + (which offer configuration parameter in the structurer) and dynamic + contracts (which offer semi-static configuration and/or requesting the + content).

+

The structurer is as well a configuration file for the dispatcher. + The new think on the dispatcher is that one can include any content + from any given business service by dispatching a request against it. In + "old fashion" skins and in v1 contracts we assumed a given data model. + In the dispatcher there is no given data model any + more. All data has to be defined in the structurer that they can be + dispatched.

+ +

Contracts - grouped functionality

+

The result of the leather-dev development were grouped functionality + in named container. We gave those code snippets names (based on their + functionality) and called them contracts. This naming enabled us to + keep the contract separate from the position code itself. Further + since major parts of the code of skins never have been documentended + we started to add for each contract a description and an explanation + how to use this contract. The skinconf.xml gave an excellent + source for this documentation effort, since it described most + features of the pelt skin.

+

Contracts are standalone, self explaining, configurable + pieces of xsl templates created out of pure maintaining reasons.

+

Since this contracts are working from the input given in the structurer, it works on different input + sources. Further one can pass variables into the contracts that can + be used to apply presentation logic in the xsl (like sorting order, + ...).

+ +

Background

-

-businessHelper class/implementation - a class/implementation which will -access businessServices to produce models for the presentation model. In -other word it is a data producing factory. -

-
-
Note
-
Right now we are using the default forrest businessHelper (defined -by the skin you are using). There are contracts that depend on a -businessHelper implementation of leather-dev (tab2menu.xsl, site2xhtml.xsl,...). -We will create a businessHelper plugin to overcome this problem.
-
-

Right now it is implemented for the forrest way of producing the models -for the view but we will create an independent BusinessHelper to -access all BusinessServices you may have in your application.

-
- -
-

links

+

The problem with the forrest skins so far has been that even if + "only" the design changed (html-skeleton), we still had to write a + completely new skin and implement all functionality. Another problem + was that the functionality was not easily extensible by a user. We + decided to support a standard regarding naming conventions for css + elements. This standard has been developed on the OSCOM + website, where you can find some more background information.

+ +

Definition of naming conventions

+

"A naming convention is an attempt to systematize names in a field + so they unambiguously convey similar information in a similar + manner." wikipedia +

+ +

leather-dev

+

That led to the development of the "leather-dev" skin which + established a semantic container approach for div elements. + Leather-dev evolved from the "pelt" skin and almost used the same + functionality (contracts). We had started to encapsulate functional + code into templates, but there have been still in 4 xsl files and without + any documentation what they are doing and how to use them. The + problems with leather-dev was pointed out in the mail "status on leather-dev?". The main proplem was to limit users to + only one html-skeleton was way too limiting regarding design. Since + we had now grouped functionality in named container we were ready to + start the dispatcher (aka forrest:views).

+ +

Further information

-
-
Note
-
There are/were lots of mails on the dev-list. Please, search the list
-
-

Background mailings around the views concept

- +

See the various How-to documents about the dispatcher, starting with + the quickstart +

+

Apache Forrest 1.0 Specification (Draft, not yet published): + site-author/content/xdocs/TR/2005/WD-forrest10.html

Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.old.dispatcher.css URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.old.dispatcher.css?rev=427744&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.old.dispatcher.css (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.old.dispatcher.css Tue Aug 1 14:29:56 2006 @@ -0,0 +1,45 @@ + +/* branding-theme-profiler-theme: Pelt */ +#header .round-top-left-small { + background-image: url(themes/images/roundcorner-t-l-5-bg294563-stroke4a6d8c-fg4a6d8c.png); + background-repeat: no-repeat; + background-position: top left; +} +#header .round-top-right-small { + background-image: url(themes/images/roundcorner-t-r-5-bg294563-stroke4a6d8c-fg4a6d8c.png); + background-repeat: no-repeat; + background-position: top right; +} +#nav-main li { + background-image: url(themes/images/roundcorner-t-r-5-bg294563-strokeCEDFEF-fgCEDFEF.png); + background-repeat: no-repeat; + background-position: top right; +} +#nav-main li a { + background-image: url(themes/images/roundcorner-t-l-5-bg294563-strokeCEDFEF-fgCEDFEF.png); + background-repeat: no-repeat; + background-position: top left; +} +#nav-main .current { + background-image: url(themes/images/roundcorner-t-r-5-bg294563-stroke4a6d8c-fg4a6d8c.png); + background-repeat: no-repeat; + background-position: top right; +} +#nav-main .current a { + background-image: url(themes/images/roundcorner-t-l-5-bg294563-stroke4a6d8c-fg4a6d8c.png); + background-repeat: no-repeat; + background-position: top left; +} +#roundbottom { + background-image: url(themes/images/roundcorner-b-r-15-bgffffff-stroke4a6d8c-fg4a6d8c.png); + background-repeat: no-repeat; + background-position: bottom right; +} +#roundbottomLeft { + background-image: url(themes/images/roundcorner-b-l-15-bgffffff-stroke4a6d8c-fg4a6d8c.png); + background-repeat: no-repeat; + background-position: bottom left; +} + + + Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.old.dispatcher.css ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.old.html URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.old.html?rev=427744&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.old.html (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.old.html Tue Aug 1 14:29:56 2006 @@ -0,0 +1,350 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +forrest:views - x output formats, one config + + + +
+ +
+MyGroup + > MyProject + +
+ + +
+
+
+ + + + + + +
+
+spacer +
+
+
+ +
+ +

forrest:views - x output formats, one config

+ +This plugin depends on a ViewHelper and a BusinessHelper implementation.
+ +
+ + + +

view

+
+

Together with the ViewHelper and the BusinessHelper (to be implemented) + plugin this plugin is following the DispatcherView pattern + and building the final view which will be delivered to the client. This implementation follows exactly the pattern shown on + corej2eepatterns.com +

+

+ A view will be configured by a config file + which basically contains the following tags (it is still evolving):

+
<forrest:view type="xhtml">
+  <forrest:css url="common.css"/>
+  <forrest:contract name="meta"/>
+  <forrest:hook name="container">
+   <forrest:contract name="feedback"/>
+  </forrest:hook />
+</forrest:view>
+

The view tag's @type determines the final output format. The idea is to +configure different output formats within a forrest:views. That means a forrest:views +can contain n different "forrest:view" configurations for n different formats.
+In short: x formats, one config. :)

+
<forrest:views
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+<forrest:view type="xhtml">
+  <forrest:css url="common.css"/>
+  <forrest:contract name="meta"/>
+  <forrest:hook name="container">
+   <forrest:contract name="feedback"/>
+  </forrest:hook />
+</forrest:view>
+<forrest:view type="fo">
+  <forrest:hook name="container">
+   <forrest:contract name="feedback"/>
+  </forrest:hook />
+</forrest:view>
+/forrest:views>
+
+ +

viewHelper

+
+

viewHelper class/implementation - a class/implementation which will +access the presentation model and transform its models. In other words +it is a presentation producing factory. +

+
+
Note
+
The <forrest:contract name="nav-main"/> expects a certain model +(now produced by leather-dev - tab2menu.xsl) to transform it. In the +future this dependency will be on a businessHelper implementation that +has to be defined in the view. For now it depends on leather-dev. I +guess leather-dev is still not dead till the businessHelper plugin comes +(which will implement the businessHelper of leather-dev). ;-)
+
+

+Each forrest:css will be transformed into a <link rel="stylesheet" type="text/css" url="{$root}skin/{url}"> tag (in html +output [only format that has an implementation]). +This tags are designed to help web-designers to freely implemend their own css-implementations for a view. +

+

+Each forrest:hook will be transformed into a <div/> tag (in html +output [only format that has an implementation]). +This tags are designed to help web-designers to freely move +around and group contracts into design container. +

+

Each forrest:contract will dispatch a xml file (ViewHelper) that contains +xsl:stylesheets (for now, but other implementations to transform the presentation + model are/should be possible) for the different output formats of a contract. + For html, the only format that we have implemented so far, we +have three different kind of templates:

+

+<xsl:templates name="{contract/@name}-css/>
+Here the contract specific css will be stored. +

+

+<xsl:templates name="{contract/@name}-head/>
+Here goes everything that belongs in the html head. e.g. scripts. +

+

+<xsl:templates name="{contract/@name}-body/>
+Everything that belongs into the body. +

+
+ +

BusinessHelper

+
+

+businessHelper class/implementation - a class/implementation which will +access businessServices to produce models for the presentation model. In +other word it is a data producing factory. +

+
+
Note
+
Right now we are using the default forrest businessHelper (defined +by the skin you are using). There are contracts that depend on a +businessHelper implementation of leather-dev (tab2menu.xsl, site2xhtml.xsl,...). +We will create a businessHelper plugin to overcome this problem.
+
+

Right now it is implemented for the forrest way of producing the models +for the view but we will create an independent BusinessHelper to +access all BusinessServices you may have in your application.

+
+ +

links

+
+
+
Note
+
There are/were lots of mails on the dev-list. Please, search the list
+
+

Background mailings around the views concept

+ +
+ +
+
+ +
+ + Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.old.html ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.old.pdf URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.old.pdf?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.old.pdf ------------------------------------------------------------------------------ svn:mime-type = application/pdf Modified: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.pdf URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/index.pdf?rev=427744&r1=427743&r2=427744&view=diff ============================================================================== Binary files - no diff available. Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/linkmap.dispatcher.css URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/linkmap.dispatcher.css?rev=427744&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/linkmap.dispatcher.css (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/linkmap.dispatcher.css Tue Aug 1 14:29:56 2006 @@ -0,0 +1,45 @@ + +/* branding-theme-profiler-theme: Pelt */ +#header .round-top-left-small { + background-image: url(themes/images/roundcorner-t-l-5-bg294563-stroke4a6d8c-fg4a6d8c.png); + background-repeat: no-repeat; + background-position: top left; +} +#header .round-top-right-small { + background-image: url(themes/images/roundcorner-t-r-5-bg294563-stroke4a6d8c-fg4a6d8c.png); + background-repeat: no-repeat; + background-position: top right; +} +#nav-main li { + background-image: url(themes/images/roundcorner-t-r-5-bg294563-strokeCEDFEF-fgCEDFEF.png); + background-repeat: no-repeat; + background-position: top right; +} +#nav-main li a { + background-image: url(themes/images/roundcorner-t-l-5-bg294563-strokeCEDFEF-fgCEDFEF.png); + background-repeat: no-repeat; + background-position: top left; +} +#nav-main .current { + background-image: url(themes/images/roundcorner-t-r-5-bg294563-stroke4a6d8c-fg4a6d8c.png); + background-repeat: no-repeat; + background-position: top right; +} +#nav-main .current a { + background-image: url(themes/images/roundcorner-t-l-5-bg294563-stroke4a6d8c-fg4a6d8c.png); + background-repeat: no-repeat; + background-position: top left; +} +#roundbottom { + background-image: url(themes/images/roundcorner-b-r-15-bgffffff-stroke4a6d8c-fg4a6d8c.png); + background-repeat: no-repeat; + background-position: bottom right; +} +#roundbottomLeft { + background-image: url(themes/images/roundcorner-b-l-15-bgffffff-stroke4a6d8c-fg4a6d8c.png); + background-repeat: no-repeat; + background-position: bottom left; +} + + + Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/linkmap.dispatcher.css ------------------------------------------------------------------------------ svn:eol-style = native Modified: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/linkmap.html URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/linkmap.html?rev=427744&r1=427743&r2=427744&view=diff ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/linkmap.html (original) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/linkmap.html Tue Aug 1 14:29:56 2006 @@ -1,11 +1,31 @@ - + + + + + + + - + + + + + + + + + Site Linkmap @@ -13,26 +33,90 @@
+ +
+MyGroup + > MyProject + +
+
+
- + + + +
+
+spacer
- -
-
-
- -
-
- -
-
- -
-
-
Modified: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/linkmap.pdf URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/linkmap.pdf?rev=427744&r1=427743&r2=427744&view=diff ============================================================================== Binary files - no diff available. Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/breadcrumbs.js URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/breadcrumbs.js?rev=427744&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/breadcrumbs.js (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/breadcrumbs.js Tue Aug 1 14:29:56 2006 @@ -0,0 +1,237 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +/** + * This script, when included in a html file, builds a neat breadcrumb trail + * based on its url. That is, if it doesn't contains bugs (I'm relatively + * sure it does). + * + * Typical usage: + * + */ + +/** + * IE 5 on Mac doesn't know Array.push. + * + * Implement it - courtesy to fritz. + */ +var abc = new Array(); +if (!abc.push) { + Array.prototype.push = function(what){this[this.length]=what} +} + +/* ======================================================================== + CONSTANTS + ======================================================================== */ + +/** + * Two-dimensional array containing extra crumbs to place at the front of + * the trail. Specify first the name of the crumb, then the URI that belongs + * to it. You'll need to modify this for every domain or subdomain where + * you use this script (you can leave it as an empty array if you wish) + */ +var PREPREND_CRUMBS = new Array(); + +var link1 = "@skinconfig.trail.link1.name@"; +var link2 = "@skinconfig.trail.link2.name@"; +var link3 = "@skinconfig.trail.link3.name@"; + +var href1 = "@skinconfig.trail.link1.href@"; +var href2 = "@skinconfig.trail.link2.href@"; +var href3 = "@skinconfig.trail.link3.href@"; + + if(!(link1=="")&&!link1.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link1, href1 ) ); + } + if(!(link2=="")&&!link2.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link2, href2 ) ); + } + if(!(link3=="")&&!link3.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link3, href3 ) ); + } + +/** + * String to include between crumbs: + */ +var DISPLAY_SEPARATOR = " > "; +/** + * String to include at the beginning of the trail + */ +var DISPLAY_PREPREND = " > "; +/** + * String to include at the end of the trail + */ +var DISPLAY_POSTPREND = ""; + +/** + * CSS Class to use for a single crumb: + */ +var CSS_CLASS_CRUMB = "breadcrumb"; + +/** + * CSS Class to use for the complete trail: + */ +var CSS_CLASS_TRAIL = "breadcrumbTrail"; + +/** + * CSS Class to use for crumb separator: + */ +var CSS_CLASS_SEPARATOR = "crumbSeparator"; + +/** + * Array of strings containing common file extensions. We use this to + * determine what part of the url to ignore (if it contains one of the + * string specified here, we ignore it). + */ +var FILE_EXTENSIONS = new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" ); + +/** + * String that separates parts of the breadcrumb trail from each other. + * When this is no longer a slash, I'm sure I'll be old and grey. + */ +var PATH_SEPARATOR = "/"; + +/* ======================================================================== + UTILITY FUNCTIONS + ======================================================================== */ +/** + * Capitalize first letter of the provided string and return the modified + * string. + */ +function sentenceCase( string ) +{ return string; + //var lower = string.toLowerCase(); + //return lower.substr(0,1).toUpperCase() + lower.substr(1); +} + +/** + * Returns an array containing the names of all the directories in the + * current document URL + */ +function getDirectoriesInURL() +{ + var trail = document.location.pathname.split( PATH_SEPARATOR ); + + // check whether last section is a file or a directory + var lastcrumb = trail[trail.length-1]; + for( var i = 0; i < FILE_EXTENSIONS.length; i++ ) + { + if( lastcrumb.indexOf( FILE_EXTENSIONS[i] ) ) + { + // it is, remove it and send results + return trail.slice( 1, trail.length-1 ); + } + } + + // it's not; send the trail unmodified + return trail.slice( 1, trail.length ); +} + +/* ======================================================================== + BREADCRUMB FUNCTIONALITY + ======================================================================== */ +/** + * Return a two-dimensional array describing the breadcrumbs based on the + * array of directories passed in. + */ +function getBreadcrumbs( dirs ) +{ + var prefix = "/"; + var postfix = "/"; + + // the array we will return + var crumbs = new Array(); + + if( dirs != null ) + { + for( var i = 0; i < dirs.length; i++ ) + { + prefix += dirs[i] + postfix; + crumbs.push( new Array( dirs[i], prefix ) ); + } + } + + // preprend the PREPREND_CRUMBS + if(PREPREND_CRUMBS.length > 0 ) + { + return PREPREND_CRUMBS.concat( crumbs ); + } + + return crumbs; +} + +/** + * Return a string containing a simple text breadcrumb trail based on the + * two-dimensional array passed in. + */ +function getCrumbTrail( crumbs ) +{ + var xhtml = DISPLAY_PREPREND; + + for( var i = 0; i < crumbs.length; i++ ) + { + xhtml += ''; + xhtml += unescape( crumbs[i][0] ) + ''; + if( i != (crumbs.length-1) ) + { + xhtml += DISPLAY_SEPARATOR; + } + } + + xhtml += DISPLAY_POSTPREND; + + return xhtml; +} + +/** + * Return a string containing an XHTML breadcrumb trail based on the + * two-dimensional array passed in. + */ +function getCrumbTrailXHTML( crumbs ) +{ + var xhtml = ''; + xhtml += DISPLAY_PREPREND; + + for( var i = 0; i < crumbs.length; i++ ) + { + xhtml += ''; + xhtml += unescape( crumbs[i][0] ) + ''; + if( i != (crumbs.length-1) ) + { + xhtml += '' + DISPLAY_SEPARATOR + ''; + } + } + + xhtml += DISPLAY_POSTPREND; + xhtml += ''; + + return xhtml; +} + +/* ======================================================================== + PRINT BREADCRUMB TRAIL + ======================================================================== */ + +// check if we're local; if so, only print the PREPREND_CRUMBS +if( document.location.href.toLowerCase().indexOf( "http://" ) == -1 ) +{ + document.write( getCrumbTrail( getBreadcrumbs() ) ); +} +else +{ + document.write( getCrumbTrail( getBreadcrumbs( getDirectoriesInURL() ) ) ); +} + Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/breadcrumbs.js ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/getBlank.js URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/getBlank.js?rev=427744&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/getBlank.js (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/getBlank.js Tue Aug 1 14:29:56 2006 @@ -0,0 +1,40 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +/** + * getBlank script - when included in a html file and called from a form text field, will set the value of this field to "" + * if the text value is still the standard value. + * getPrompt script - when included in a html file and called from a form text field, will set the value of this field to the prompt + * if the text value is empty. + * + * Typical usage: + * + * + */ + Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/getBlank.js ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/chapter.gif URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/chapter.gif?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/chapter.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/chapter_open.gif URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/chapter_open.gif?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/chapter_open.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/current.gif URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/current.gif?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/current.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/instruction_arrow.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/instruction_arrow.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/instruction_arrow.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/page.gif URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/page.gif?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/page.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-l-15-bg294563-stroke4C6C8F-fg4C6C8F.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-l-15-bg294563-stroke4C6C8F-fg4C6C8F.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-l-15-bg294563-stroke4C6C8F-fg4C6C8F.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-l-15-bgffffff-stroke4C6C8F-fg4C6C8F.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-l-15-bgffffff-stroke4C6C8F-fg4C6C8F.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-l-15-bgffffff-stroke4C6C8F-fg4C6C8F.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-l-15-bgffffff-stroke4a6d8c-fg4a6d8c.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-l-15-bgffffff-stroke4a6d8c-fg4a6d8c.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-l-15-bgffffff-stroke4a6d8c-fg4a6d8c.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-l-5-bg294563-stroke4C6C8F-fg4C6C8F.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-l-5-bg294563-stroke4C6C8F-fg4C6C8F.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-l-5-bg294563-stroke4C6C8F-fg4C6C8F.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-r-15-bg294563-stroke4C6C8F-fg4C6C8F.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-r-15-bg294563-stroke4C6C8F-fg4C6C8F.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-r-15-bg294563-stroke4C6C8F-fg4C6C8F.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-r-15-bgffffff-stroke4C6C8F-fg4C6C8F.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-r-15-bgffffff-stroke4C6C8F-fg4C6C8F.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-r-15-bgffffff-stroke4C6C8F-fg4C6C8F.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-r-15-bgffffff-stroke4a6d8c-fg4a6d8c.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-r-15-bgffffff-stroke4a6d8c-fg4a6d8c.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-r-15-bgffffff-stroke4a6d8c-fg4a6d8c.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-r-5-bg294563-stroke4C6C8F-fg4C6C8F.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-r-5-bg294563-stroke4C6C8F-fg4C6C8F.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-r-5-bg294563-stroke4C6C8F-fg4C6C8F.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-r-5-bgffffff-stroke4C6C8F-fg4C6C8F.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-r-5-bgffffff-stroke4C6C8F-fg4C6C8F.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-b-r-5-bgffffff-stroke4C6C8F-fg4C6C8F.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-l-5-bg294563-stroke4C6C8F-fg4C6C8F.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-l-5-bg294563-stroke4C6C8F-fg4C6C8F.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-l-5-bg294563-stroke4C6C8F-fg4C6C8F.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-l-5-bg294563-stroke4a6d8c-fg4a6d8c.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-l-5-bg294563-stroke4a6d8c-fg4a6d8c.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-l-5-bg294563-stroke4a6d8c-fg4a6d8c.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-l-5-bg294563-strokeCEDFEF-fgCEDFEF.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-l-5-bg294563-strokeCEDFEF-fgCEDFEF.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-l-5-bg294563-strokeCEDFEF-fgCEDFEF.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-r-15-bgffffff-stroke4C6C8F-fg4C6C8F.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-r-15-bgffffff-stroke4C6C8F-fg4C6C8F.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-r-15-bgffffff-stroke4C6C8F-fg4C6C8F.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-r-5-bg294563-stroke4C6C8F-fg4C6C8F.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-r-5-bg294563-stroke4C6C8F-fg4C6C8F.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-r-5-bg294563-stroke4C6C8F-fg4C6C8F.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-r-5-bg294563-stroke4a6d8c-fg4a6d8c.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-r-5-bg294563-stroke4a6d8c-fg4a6d8c.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-r-5-bg294563-stroke4a6d8c-fg4a6d8c.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-r-5-bg294563-strokeCEDFEF-fgCEDFEF.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-r-5-bg294563-strokeCEDFEF-fgCEDFEF.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-r-5-bg294563-strokeCEDFEF-fgCEDFEF.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-r-5-bgffffff-stroke4C6C8F-fg4C6C8F.png URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-r-5-bgffffff-stroke4C6C8F-fg4C6C8F.png?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/roundcorner-t-r-5-bgffffff-stroke4C6C8F-fg4C6C8F.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/spacer.gif URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/spacer.gif?rev=427744&view=auto ============================================================================== Binary file - no diff available. Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/images/spacer.gif ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/leather-dev.css URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/leather-dev.css?rev=427744&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/leather-dev.css (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/leather-dev.css Tue Aug 1 14:29:56 2006 @@ -0,0 +1,50 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#container .breadtrail { + display: none; +} + +#container .logo { + display: none; +} + +#header .searchbox { + display: none; +} +#header .lastmodified { + display: none; +} +#leftbar #credit { + display: none; +} + +#leftbar hr { + display: none; +} + +#leftbar #credit2 { + display: none; +} + +.trail { + display: none; +} + +.motd-area { + display: none; +} Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/leather-dev.css ------------------------------------------------------------------------------ svn:eol-style = native Added: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/pelt.print.css URL: http://svn.apache.org/viewvc/forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/pelt.print.css?rev=427744&view=auto ============================================================================== --- forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/pelt.print.css (added) +++ forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/pelt.print.css Tue Aug 1 14:29:56 2006 @@ -0,0 +1,45 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +body { + font-family: Georgia, Palatino, serif; + font-size: 12pt; + background: white; +} + +#header, #leftbar,#export-link, .breadtrail, #siteinfo-compliance-links { display: none; } + +#content { + width: auto; + padding: 0; + float: none !important; + color: black; + background: transparent; +} + +a:link, a:visited { + color: #336699; + background: transparent; + text-decoration: underline; +} + +#footer { + margin-top: 4em; +} + +acronym { + border: 0; +} Propchange: forrest/site/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/themes/pelt.print.css ------------------------------------------------------------------------------ svn:eol-style = native