Return-Path: Delivered-To: apmail-forrest-svn-archive@www.apache.org Received: (qmail 94236 invoked from network); 27 Aug 2009 12:08:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Aug 2009 12:08:49 -0000 Received: (qmail 20914 invoked by uid 500); 27 Aug 2009 12:08:49 -0000 Delivered-To: apmail-forrest-svn-archive@forrest.apache.org Received: (qmail 20838 invoked by uid 500); 27 Aug 2009 12:08:49 -0000 Mailing-List: contact svn-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Forrest Developers List" List-Id: Delivered-To: mailing list svn@forrest.apache.org Received: (qmail 20829 invoked by uid 99); 27 Aug 2009 12:08:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 12:08:49 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 12:08:44 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 972A72388998; Thu, 27 Aug 2009 12:08:00 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r808385 [9/14] - in /forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher: ./ resources/stylesheets/ resources/stylesheets/fo/ resources/stylesheets/helper/ resources/stylesheets/html/ resources/styleshe... Date: Thu, 27 Aug 2009 12:07:47 -0000 To: svn@forrest.apache.org From: thorsten@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090827120800.972A72388998@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/fo/layout-master-set.contract.xml URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/fo/layout-master-set.contract.xml?rev=808385&r1=808384&r2=808385&view=diff ============================================================================== --- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/fo/layout-master-set.contract.xml (original) +++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/fo/layout-master-set.contract.xml Thu Aug 27 12:07:38 2009 @@ -15,17 +15,14 @@ See the License for the specific language governing permissions and limitations under the License. --> - + -

- layout master set generate the ... -

+

layout master set generate the ...

- + - - + + + - + select="string($config/page/@orientation)" /> + - - - + select="string($config/margins/@double-sided)" /> + + + - - + select="string($config/margins/outer)" /> - - - + + + - + - + - + - + - + - - - - + - - - - + - - - + + + Modified: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/fo/noFt.contract.xml URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/fo/noFt.contract.xml?rev=808385&r1=808384&r2=808385&view=diff ============================================================================== --- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/fo/noFt.contract.xml (original) +++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/fo/noFt.contract.xml Thu Aug 27 12:07:38 2009 @@ -1,4 +1,4 @@ - + - + -

- Error 440 -
- Template not found. This functions is a fallback when no ft is found. This - is just a dummy, it will output *nothing*. -

+

Error 440 +
Template not found. This functions is a fallback when no ft is found. + This is just a dummy, it will output *nothing*.

-]]> - - - + ]]> +
+ + - - Error 440 - Template not found. - + Error 440 - Template not found. Modified: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/fo/page-footer-copyright.contract.xml URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/fo/page-footer-copyright.contract.xml?rev=808385&r1=808384&r2=808385&view=diff ============================================================================== --- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/fo/page-footer-copyright.contract.xml (original) +++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/fo/page-footer-copyright.contract.xml Thu Aug 27 12:07:38 2009 @@ -15,18 +15,15 @@ See the License for the specific language governing permissions and limitations under the License. --> - + -

- page-footer-copyright display the footer of the pdf.. -

+

page-footer-copyright display the footer of the pdf..

- + - + 2005 The Acme Software Foundation. @@ -36,37 +33,34 @@ [©, ®, ™...]
]]> - - - - + + + + - - - + + + © - - - + + + All rights reserved. - - - + + + Copyright @@ -75,51 +69,48 @@ - + - + - + -   -   - -   -   - - - +   +   + +   +   + + + left="0pt" top="2pt" bottom="150pt" height="20pt" font-size="8pt"> - + - - + + - - + + - - + -

- page-footer-numbering defines the page numbering format of the pdf - document.. -

+

page-footer-numbering defines the page numbering format of the pdf + document..

- + [[true|false]] [Page 1]
]]> - - - - - + + + + + - + + - + + + - + + - + + + - + + - + + + - + + - + + + - + - - + + - - - + + + - - + + start - - - + + + end - - - + + + start @@ -138,7 +135,6 @@ -
Modified: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/fo/page-header.contract.xml URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/fo/page-header.contract.xml?rev=808385&r1=808384&r2=808385&view=diff ============================================================================== --- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/fo/page-header.contract.xml (original) +++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/fo/page-header.contract.xml Thu Aug 27 12:07:38 2009 @@ -15,73 +15,69 @@ See the License for the specific language governing permissions and limitations under the License. --> - + -

- page-header define the header of the pdf. -

+

page-header define the header of the pdf.

-]]> - - - - - + + + + + - + + - + + + - + + - + + + - + + - + + + - + - - - + + + - - + + start @@ -90,7 +86,7 @@ end - + Modified: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/ajax-example.contract.xml URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/ajax-example.contract.xml?rev=808385&r1=808384&r2=808385&view=diff ============================================================================== --- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/ajax-example.contract.xml (original) +++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/ajax-example.contract.xml Thu Aug 27 12:07:38 2009 @@ -1,4 +1,4 @@ - + - + -

- This contract is an example how to use ajax in forrest. -

+

This contract is an example how to use ajax in forrest.

Warning
-
You need to include ]]> - in your view!!! If you are not, it will not work.
+
You need to include +]]> +in your view!!! If you are not, it will not work.
Warning
-
This example only works in http://localhost:8888/.
+
This example + onlyworks in + http://localhost:8888/.
-]]> - + ]]> + - + name="ajax-example" inputFormat="xsl"> + - - + + - - -
-
Warning
-
This example only works in http://localhost:8888/.
-
-

- This is an example how to use AJAX in forrest. The - test will update the - testDiv with the output of url = - 'http://localhost:8888/less.contract.project-ajax-example.xml'; -

-
testDiv
+ + +
+
Warning
+
This example + onlyworks in + http://localhost:8888/.
+
+

This is an example how to use AJAX in forrest. The + testwill update the + testDiv with the output of url = + 'http://localhost:8888/less.contract.project-ajax-example.xml';

+
testDiv
Modified: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/apache-ssi.contract.xml URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/apache-ssi.contract.xml?rev=808385&r1=808384&r2=808385&view=diff ============================================================================== --- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/apache-ssi.contract.xml (original) +++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/apache-ssi.contract.xml Thu Aug 27 12:07:38 2009 @@ -1,4 +1,4 @@ - + - - - apache-ssi will output a ssi include link for the Apache webserver. You can - either use "virtual" or "file" includes. Will output something like: + + apache-ssi will output a ssi include link for the Apache + webserver. You can either use "virtual" or "file" includes. Will output + something like: ]]> - + - + virtual|file index.html ]]> - + - - - + name="apache-ssi" inputFormat="xsl"> + + + - #include - - - virtual=" - " - - file=" - " - - - + #include + + virtual=" + " + file=" + " + - + Modified: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/blank.contract.xml URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/blank.contract.xml?rev=808385&r1=808384&r2=808385&view=diff ============================================================================== --- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/blank.contract.xml (original) +++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/blank.contract.xml Thu Aug 27 12:07:38 2009 @@ -1,4 +1,4 @@ - + - - - - blank will output {contract-funtion}. This is just a blank contract, it will - output *nothing*. - + blank will output {contract-funtion}. This is just a blank + contract, it will output *nothing*. -]]> - + ]]> + - - - + name="blank" inputFormat="xsl"> + + + - - + + Modified: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-breadcrumbs.contract.xml URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-breadcrumbs.contract.xml?rev=808385&r1=808384&r2=808385&view=diff ============================================================================== --- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-breadcrumbs.contract.xml (original) +++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-breadcrumbs.contract.xml Thu Aug 27 12:07:38 2009 @@ -1,4 +1,4 @@ - + - - branding-breadcrumbs will output the breadcrumbs. - +xmlns:forrest="http://apache.org/forrest/templates/1.0"> + branding-breadcrumbs will output the breadcrumbs. - + @@ -30,42 +28,41 @@ ]]> - - - - - - + + + + + + - - + - | start breadtrail - + + + + | start breadtrail +
- - - - - > - - - - > - + + + + + - + + > + + + + + > + + + +
- + - | end breadtrail - + + + | end breadtrail +
Modified: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-css-links.contract.xml URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-css-links.contract.xml?rev=808385&r1=808384&r2=808385&view=diff ============================================================================== --- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-css-links.contract.xml (original) +++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-css-links.contract.xml Thu Aug 27 12:07:38 2009 @@ -1,4 +1,4 @@ - + - + -

- branding-css-links will output html link elements for css usage. -

- -

- The contract includes css files which are passed in parameter with the - following syntax : -

+

branding-css-links will output html link elements for css usage.

+

The contract includes css files which are passed in parameter with the + following syntax :

-media.css" [media="screen|print"] [theme="themeName"]]]> - + +media.css" [media="screen|print"] [theme="themeName"] +]]> +
    -
  • url attribute indicates the name of the css file, the dispatcher - searches for this file in the following order : -
      -
    • Does the css file exists in the following directory - if yes, use this one : - $PROJECT_HOME/src/documentation/resources/themes/yourtheme/css/
    • -
    • Otherwise, does the css file exists in the following directory - if yes, use this one : - $FORREST_HOME/whiteboard/plugins/org.apache.forrest.themes.core/resources/themes/yourtheme/css/
    • -
    • Otherwise, does the css file exists in the following directory - if yes, use this one : - $FORREST_HOME/whiteboard/plugins/org.apache.forrest.themes.core/resources/themes/common/css/
    • -
    - The url attribute is required. -
  • -
  • media attribute indicates to the browser the stylesheets to use - depending on the detination media : -
      -
    • screen : the stylesheet is used with the browser displaying the page on the screen,
    • -
    • print : the stylesheet is used while printing the document - or print preview...
    • -
    • othervalues can also be managed by browsers.cf. W3C Media Types.
    • -
    -
    -
    Firefox has a bug !
    -
    -

    - There is a bug with firefox which does not manage media attribute - while printing, the bug is already declared twice in bugzilla, so - we are waiting... -

    -
    -
  • -
  • theme attribute indicates to the browser for which theme this - stylesheet should be used, letting you add several css files - corresponding to different themes of the same page.
    - If omitted, the theme attribute take the value of the dispatcher.theme property that you should have defined in your forrest.properties.xml file. -
  • +
  • + urlattribute indicates the name of the css file, the + dispatcher searches for this file in the following order : +
      +
    • Does the css file exists in the following directory - if yes, use + this one : + + $PROJECT_HOME/src/documentation/resources/themes/yourtheme/css/
    • +
    • Otherwise, does the css file exists in the following directory - if + yes, use this one : + + $FORREST_HOME/whiteboard/plugins/org.apache.forrest.themes.core/resources/themes/yourtheme/css/
    • +
    • Otherwise, does the css file exists in the following directory - if + yes, use this one : + + $FORREST_HOME/whiteboard/plugins/org.apache.forrest.themes.core/resources/themes/common/css/
    • +
    The + urlattribute is required.
  • +
  • + mediaattribute indicates to the browser the stylesheets + to use depending on the detination media : +
      +
    • + screen: the stylesheet is used with the browser displaying the + page on the screen,
    • +
    • + print: the stylesheet is used while printing the document - or + print preview...
    • +
    • othervalues can also be managed by browsers.cf. + W3C Media Types.
    • +
    +
    +
    Firefox has a bug !
    +
    +

    There is a bug with firefox which does not manage media attribute + while printing, the bug is already declared twice in bugzilla, so we + are waiting...

    +
    +
  • +
  • + themeattribute indicates to the browser for which theme + this stylesheet should be used, letting you add several css files + corresponding to different themes of the same page. +
    If omitted, the + themeattribute take the value of the + dispatcher.themeproperty that you should have defined in + your forrest.properties.xml file.
- +
]]> - + - - - - - + name="branding-css-links" inputFormat="xsl"> + + + + + - + - - + + - - - - <![endif] + [if + ]> + <![endif] - + - - - - - - - - stylesheet - - - - - - - - - - - - - - - - - + + + + - themes/ - + stylesheet + - - - - - - - - - - - - - - - <link type="text/css" - - rel="" - rel="stylesheet" - + + + + + + + + + + + + + - title="" - title=" - " + + + + themes/ - - - - - - themes/ - - href=" - - " - media="" - - - + + + + + + + + + + + + + + + + + rel=" + " + rel="stylesheet" + + + title=" + " + title=" + " + + + + + + + themes/ + + href=" + + + + " media=" + "<link + type="text/css" + > Modified: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-fontsize.contract.xml URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-fontsize.contract.xml?rev=808385&r1=808384&r2=808385&view=diff ============================================================================== --- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-fontsize.contract.xml (original) +++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-fontsize.contract.xml Thu Aug 27 12:07:38 2009 @@ -1,4 +1,4 @@ - + - - branding-fontsize lets users change the size of the font via javascript. - +xmlns:forrest="http://apache.org/forrest/templates/1.0" +xmlns:i18n="http://apache.org/cocoon/i18n/2.1"> + branding-fontsize lets users change the size of the font via + javascript. -]]> - - - - - + ]]> + + + + + - + - - Font size: -   -   -   - + + Font size:  +   +   + Modified: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-logo.contract.xml URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-logo.contract.xml?rev=808385&r1=808384&r2=808385&view=diff ============================================================================== --- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-logo.contract.xml (original) +++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-logo.contract.xml Thu Aug 27 12:07:38 2009 @@ -1,4 +1,4 @@ - + +xmlns:forrest="http://apache.org/forrest/templates/1.0"> -

- This contract will output images. You can configure it like follow: -

+

This contract will output images. You can configure it like follow:

    -
  • branding-logo-name - will be used for @alt value of the <img>
  • -
  • branding-logo-description - will be used for @title value of the <img>
  • -
  • branding-logo-url - will be used for the @href location of a surrounding <a>
  • -
  • branding-logo-logo - will be used for @src value of the <img>
  • -
  • branding-logo-over - if used then a javascript will be rendered which switches the images. - Will be used for @onmouseover image @src value of the <img>
  • -
  • branding-logo-width - will be used for @width value of the <img>
  • -
  • branding-logo-height - will be used for @height value of the <img>
  • +
  • branding-logo-name - will be used for @alt value of the + <img>
  • +
  • branding-logo-description - will be used for @title value of the + <img>
  • +
  • branding-logo-url - will be used for the @href location of a + surrounding <a>
  • +
  • branding-logo-logo - will be used for @src value of the + <img>
  • +
  • branding-logo-over - if used then a javascript will be rendered which + switches the images. Will be used for @onmouseover image @src value of + the <img>
  • +
  • branding-logo-width - will be used for @width value of the + <img>
  • +
  • branding-logo-height - will be used for @height value of the + <img>
- + Apache Forrest Apache Forrest http://forrest.apache.org/ @@ -42,42 +47,44 @@ [500] [490]
]]> - - + - - - - - - - - - - - + + + + + + + + + + + - + - |start Logo - + + + |start Logo + - - - - - - - - + + + + + + + + - + - |end group Logo - + + + |end group Logo + Modified: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-tagline.contract.xml URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-tagline.contract.xml?rev=808385&r1=808384&r2=808385&view=diff ============================================================================== --- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-tagline.contract.xml (original) +++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/html/branding-tagline.contract.xml Thu Aug 27 12:07:38 2009 @@ -1,4 +1,4 @@ - + - - - branding-tagline will output the site name and tagline. - + + branding-tagline will output the site name and + tagline. - + new seed powered by forrest:structurer ]]> - - - - - + + + + +
- +
- +