Return-Path: Delivered-To: apmail-cocoon-cvs-archive@www.apache.org Received: (qmail 774 invoked from network); 27 Sep 2007 19:59:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Sep 2007 19:59:25 -0000 Received: (qmail 58310 invoked by uid 500); 27 Sep 2007 19:59:15 -0000 Delivered-To: apmail-cocoon-cvs-archive@cocoon.apache.org Received: (qmail 58195 invoked by uid 500); 27 Sep 2007 19:59:15 -0000 Mailing-List: contact cvs-help@cocoon.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@cocoon.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@cocoon.apache.org Received: (qmail 58157 invoked by uid 99); 27 Sep 2007 19:59:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2007 12:59:14 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2007 19:59:11 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5012A1A9846; Thu, 27 Sep 2007 12:58:51 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r580139 [4/28] - in /cocoon/site/site/2.2: ./ blocks/ blocks/ajax/ blocks/ajax/1.0/ blocks/ajax/1.0/apidocs/ blocks/ajax/1.0/css/ blocks/ajax/1.0/images/ blocks/ajax/1.0/images/logos/ blocks/css/ blocks/forms/ blocks/forms/1.0/ blocks/forms... Date: Thu, 27 Sep 2007 19:57:38 -0000 To: cvs@cocoon.apache.org From: reinhard@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20070927195851.5012A1A9846@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: cocoon/site/site/2.2/blocks/ajax/1.0/1220_1_1.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.2/blocks/ajax/1.0/1220_1_1.html?rev=580139&view=auto ============================================================================== --- cocoon/site/site/2.2/blocks/ajax/1.0/1220_1_1.html (added) +++ cocoon/site/site/2.2/blocks/ajax/1.0/1220_1_1.html Thu Sep 27 12:56:05 2007 @@ -0,0 +1,222 @@ + + + + + + + + + + + + + + Cocoon Ajax + + + + + + + +
+

Apache » Cocoon »

+
+ + + +
+ + +

Introduction

TODO

Errors and Improvements? If you see any errors or potential improvements in this document please help + us: View, Edit or comment on the latest development version (registration required). +
+
+ + + + + + Added: cocoon/site/site/2.2/blocks/ajax/1.0/1242_1_1.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.2/blocks/ajax/1.0/1242_1_1.html?rev=580139&view=auto ============================================================================== --- cocoon/site/site/2.2/blocks/ajax/1.0/1242_1_1.html (added) +++ cocoon/site/site/2.2/blocks/ajax/1.0/1242_1_1.html Thu Sep 27 12:56:05 2007 @@ -0,0 +1,222 @@ + + + + + + + + + + + + + + Cocoon Ajax + + + + + + + +
+

Apache » Cocoon »

+
+ + + +
+ + +

Samples

TODO

Errors and Improvements? If you see any errors or potential improvements in this document please help + us: View, Edit or comment on the latest development version (registration required). +
+
+ + + + + + Added: cocoon/site/site/2.2/blocks/ajax/1.0/1350_1_1.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.2/blocks/ajax/1.0/1350_1_1.html?rev=580139&view=auto ============================================================================== --- cocoon/site/site/2.2/blocks/ajax/1.0/1350_1_1.html (added) +++ cocoon/site/site/2.2/blocks/ajax/1.0/1350_1_1.html Thu Sep 27 12:56:05 2007 @@ -0,0 +1,253 @@ + + + + + + + + + + + + + + Cocoon Ajax + + + + + + + +
+

Apache » Cocoon »

+
+ + + +
+ + +

Migration guide

Introduction

Ajax block has been recently adapted to use features that servlet services +framework provides. For in-depth details of adoption process take a look at +COCOON-1991 +issue.

Here you'll find description of migration process which should be easy and +straightforward. It is assumed that you already have proper block structure +created with archetype, see Your first Cocoon application +using Maven 2.

Connecting servlets

First of all, in order to get access to the resources that Ajax block makes +available you need to create a connection to its servlet. Open +src/main/resources/META-INF/cocoon/spring/servlet-service.xml for edition and +put this configuration inside <servlet:context> tag:

<servlet:connections>
+  <entry key="ajax" value-ref="org.apache.cocoon.ajax.impl.servlet"/>
+</servlet:connections>
+

Links adjustments

Now you can reference resources with special servlet: scheme. For +example, if you have following link to dojo.js:

<script type="text/javascript" src="${cocoon.request.contextPath}/_cocoon/resources/dojo/dojo.js"/>
+

You will have to change it into following form:

<script type="text/javascript" src="servlet:ajax:/resource/external/dojo/dojo.js"/>
+

Basically, replacing +${cocoon.request.contextPath}/_cocoon/resources/ and similar constructs +with servlet:ajax:/resource/external/ should do the trick.

Sitemap adjustments

Naturally, browsers do not understand servlet: scheme and all links +containing it should be rewritten before sent any content is sent to the +browser. For this purpose, special servletLinkRewriter has been +created. You have to put it in your pipeline near html serializer to be sure +that it catches all links that need rewriting. Let's take as example pipeline +from cocoon-ajax-sample:

<map:match pattern="*.html">
+   <map:generate type="jx" src="{1}.xml"/>
+   <map:call resource="simple-page2html"/>
+   <map:transform type="servletLinkRewriter"/> <!-- this is transformation step you need to add -->
+   <map:serialize type="html"/>
+</map:match>
+

Revisiting all your rendering pipelines and adding transformer is last step +of migration.

At the end, rebuild your block, clear browser's cache and test the changes. +All should work as before migration.

See also

You may also be insterested in Forms migration +guide.

Errors and Improvements? If you see any errors or potential improvements in this document please help + us: View, Edit or comment on the latest development version (registration required). +
+
+ + + + + + Added: cocoon/site/site/2.2/blocks/ajax/1.0/910_1_1.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.2/blocks/ajax/1.0/910_1_1.html?rev=580139&view=auto ============================================================================== --- cocoon/site/site/2.2/blocks/ajax/1.0/910_1_1.html (added) +++ cocoon/site/site/2.2/blocks/ajax/1.0/910_1_1.html Thu Sep 27 12:56:05 2007 @@ -0,0 +1,229 @@ + + + + + + + + + + + + + + Cocoon Ajax + + + + + + + +
+

Apache » Cocoon »

+
+ + + +
+ + +

BrowserUpdateTransformer

Summary

No summary available. The summary needs to be defined using the + @cocoon.sitemap.component.documentation annotation in the Java source file for this component:

Basic information

Component typeorg.apache.cocoon.ajax.BrowserUpdateTransformer
Cocoon blockTransformer
Java classajax
CachableNo

Documentation

No documentation available yet.

Errors and Improvements? If you see any errors or potential improvements in this document please help + us: View, Edit or comment on the latest development version (registration required). +
+
+ + + + + + Added: cocoon/site/site/2.2/blocks/ajax/1.0/945_1_1.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.2/blocks/ajax/1.0/945_1_1.html?rev=580139&view=auto ============================================================================== --- cocoon/site/site/2.2/blocks/ajax/1.0/945_1_1.html (added) +++ cocoon/site/site/2.2/blocks/ajax/1.0/945_1_1.html Thu Sep 27 12:56:05 2007 @@ -0,0 +1,229 @@ + + + + + + + + + + + + + + Cocoon Ajax + + + + + + + +
+

Apache » Cocoon »

+
+ + + +
+ + +

AjaxRequestSelector

Summary

No summary available. The summary needs to be defined using the + @cocoon.sitemap.component.documentation annotation in the Java source file for this component:

Basic information

Component typeorg.apache.cocoon.ajax.AjaxRequestSelector
Cocoon blockSelector
Java classajax
Cachable

Documentation

No documentation available yet.

Errors and Improvements? If you see any errors or potential improvements in this document please help + us: View, Edit or comment on the latest development version (registration required). +
+
+ + + + + + Added: cocoon/site/site/2.2/blocks/ajax/1.0/LICENSE.txt URL: http://svn.apache.org/viewvc/cocoon/site/site/2.2/blocks/ajax/1.0/LICENSE.txt?rev=580139&view=auto ============================================================================== --- cocoon/site/site/2.2/blocks/ajax/1.0/LICENSE.txt (added) +++ cocoon/site/site/2.2/blocks/ajax/1.0/LICENSE.txt Thu Sep 27 12:56:05 2007 @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. Added: cocoon/site/site/2.2/blocks/ajax/1.0/NOTICE.txt URL: http://svn.apache.org/viewvc/cocoon/site/site/2.2/blocks/ajax/1.0/NOTICE.txt?rev=580139&view=auto ============================================================================== --- cocoon/site/site/2.2/blocks/ajax/1.0/NOTICE.txt (added) +++ cocoon/site/site/2.2/blocks/ajax/1.0/NOTICE.txt Thu Sep 27 12:56:05 2007 @@ -0,0 +1,5 @@ +Apache Cocoon +Copyright 1999-2006 The Apache Software Foundation. + +This product includes software developed by +The Apache Software Foundation (http://www.apache.org/). Added: cocoon/site/site/2.2/blocks/ajax/1.0/apidocs/create-apidocs.sh URL: http://svn.apache.org/viewvc/cocoon/site/site/2.2/blocks/ajax/1.0/apidocs/create-apidocs.sh?rev=580139&view=auto ============================================================================== --- cocoon/site/site/2.2/blocks/ajax/1.0/apidocs/create-apidocs.sh (added) +++ cocoon/site/site/2.2/blocks/ajax/1.0/apidocs/create-apidocs.sh Thu Sep 27 12:56:05 2007 @@ -0,0 +1,29 @@ +echo "----------------------------------------------------------------" +echo "Creating JavaDocs for cocoon-ajax-impl:1.0.0-RC1" +f=cocoon-ajax-impl-1.0.0-RC1-javadoc.jar +jd=org/apache/cocoon/cocoon-ajax-impl/1.0.0-RC1/$f +dl=0 + +if [ -f $f ] +then +else + wget --header "User-Agent: Mozilla/5.0 Firefox/2.0.0.7" http://repo1.maven.org/maven2/$jd + dl=1 +fi + +if [ -f $f ] +then +else + wget --header "User-Agent: Mozilla/5.0 Firefox/2.0.0.7" http://people.apache.org/builds/cocoon/$jd + dl=1 +fi + +if [ $dl -eq 0 ] +then + echo "No downloads." + exit 0 +else + unzip -qo $f +fi + +exit 0 Added: cocoon/site/site/2.2/blocks/ajax/1.0/apidocs/index.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.2/blocks/ajax/1.0/apidocs/index.html?rev=580139&view=auto ============================================================================== --- cocoon/site/site/2.2/blocks/ajax/1.0/apidocs/index.html (added) +++ cocoon/site/site/2.2/blocks/ajax/1.0/apidocs/index.html Thu Sep 27 12:56:05 2007 @@ -0,0 +1,229 @@ + + + + + + + + + + + + + + Cocoon Ajax + + + + + + +
+

Apache » Cocoon »

+
+ + + +
+ + +

JavaDoc API documentation.

Run the download script in order to get the Java API docs instead of this page.

+
+ + + + + + Added: cocoon/site/site/2.2/blocks/ajax/1.0/changes-report.html URL: http://svn.apache.org/viewvc/cocoon/site/site/2.2/blocks/ajax/1.0/changes-report.html?rev=580139&view=auto ============================================================================== --- cocoon/site/site/2.2/blocks/ajax/1.0/changes-report.html (added) +++ cocoon/site/site/2.2/blocks/ajax/1.0/changes-report.html Thu Sep 27 12:56:05 2007 @@ -0,0 +1,229 @@ + + + + + + + + + + + + + + Cocoon Ajax + + + + + + +
+

Apache » Cocoon »

+
+ + + +
+ + +

Changes Report

Release History

VersionDateDescription
1.0.0-RC12007-??-??unreleased
1.0.0-M42007-??-??unreleased
1.0.0-M12007-??-??unreleased


Release 1.0.0-RC1 - 2007-??-??

TypeChangesBy
updatenullAjax block made use of deprecated dojo.animation.Timer. Fixes COCOON-2059. Thanks to Alexander Klimetschek.gkossakowski
fixAdded missing dojo.require("dojo.ns") statement. Fixes COCOON-2062. Thanks to Alexander Klimetschek.gkossakowski

Release 1.0.0-M4 - 2007-??-??

TypeChangesBy
updateDojo toolkit upgraded to 0.4.3 version. It contains fix for security bug. See http://dojotoolkit.org/releaseNotes/0.4.3. Fixes COCOON-2073. Thanks to Alexander Klimetschek.gkossakowski

Release 1.0.0-M1 - 2007-??-??

TypeChangesBy
addInitial creation.reinhard
+
+ + + + + + Added: cocoon/site/site/2.2/blocks/ajax/1.0/css/maven-base.css URL: http://svn.apache.org/viewvc/cocoon/site/site/2.2/blocks/ajax/1.0/css/maven-base.css?rev=580139&view=auto ============================================================================== --- cocoon/site/site/2.2/blocks/ajax/1.0/css/maven-base.css (added) +++ cocoon/site/site/2.2/blocks/ajax/1.0/css/maven-base.css Thu Sep 27 12:56:05 2007 @@ -0,0 +1,44 @@ +/* + * 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 { + margin: 0px; + padding: 0px; +} + +/* mimic contentBody in site.css */ +.section { + margin: 0 20px 0 185px; + padding: 0; +} +/* reverse for subsections */ + +.section .section { + margin: 0; +} + +img { + border: none; +} + +acronym { + cursor: help; + border-bottom: 1px dotted #0086b3; +} + Added: cocoon/site/site/2.2/blocks/ajax/1.0/css/maven-theme.css URL: http://svn.apache.org/viewvc/cocoon/site/site/2.2/blocks/ajax/1.0/css/maven-theme.css?rev=580139&view=auto ============================================================================== --- cocoon/site/site/2.2/blocks/ajax/1.0/css/maven-theme.css (added) +++ cocoon/site/site/2.2/blocks/ajax/1.0/css/maven-theme.css Thu Sep 27 12:56:05 2007 @@ -0,0 +1,98 @@ +/* + * 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. + */ + +select, input { + color:#626262; +} + +/* code is equal to pre in site.css */ + +code { + border:1px solid #aaaaaa; + background: #efefef; + font-size: 110%; + padding:10px; +} +li code, td code { + border:0px; + font-size: 110%; + background: transparent; + padding:0px; +} + +#legend li.externalLink { + background: url(../images/external.png) left top no-repeat; + padding-left: 18px; +} +a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { + background: url(../images/external.png) right center no-repeat; + padding-right: 18px; +} +#legend li.newWindow { + background: url(../images/newwindow.png) left top no-repeat; + padding-left: 18px; +} +a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { + background: url(../images/newwindow.png) right center no-repeat; + padding-right: 18px; +} + +p { margin: 0.4em 0em 0.5em 0em; + line-height: 1.35em; +} + +table.bodyTable th { + background: #0086b3; + color: #fff; +} + +table.bodyTable tr.b { + background: #cce7f0; +} + +.subsectionTitle { + font-size: 13px; + font-weight: bold; + color: #666; +} + +.pl-version-small { + font-size:70%; +} + +.errormark, .warningmark, .donemark, .infomark { + margin: 10px 0; + padding: 0 0 0 45px; + border: 1px solid #9bcd52; +} +.errormark { + background: url(../images/errors.gif) no-repeat 10px 7px; +} + +.warningmark { + background: url(../images/warning.gif) no-repeat 10px 7px; +} + +.donemark { + background-image: url(../images/icon_success_sml.gif) no-repeat 10px 7px; +} + +.infomark { + background: url(../images/note.gif) no-repeat 10px 7px; +} Added: cocoon/site/site/2.2/blocks/ajax/1.0/css/print.css URL: http://svn.apache.org/viewvc/cocoon/site/site/2.2/blocks/ajax/1.0/css/print.css?rev=580139&view=auto ============================================================================== --- cocoon/site/site/2.2/blocks/ajax/1.0/css/print.css (added) +++ cocoon/site/site/2.2/blocks/ajax/1.0/css/print.css Thu Sep 27 12:56:05 2007 @@ -0,0 +1,25 @@ +/* + * 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. + */ +#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn { + display: none !important; +} +#bodyColumn, body.docs div.docs { + margin: 0 !important; + border: none !important +} Added: cocoon/site/site/2.2/blocks/ajax/1.0/css/site.css URL: http://svn.apache.org/viewvc/cocoon/site/site/2.2/blocks/ajax/1.0/css/site.css?rev=580139&view=auto ============================================================================== --- cocoon/site/site/2.2/blocks/ajax/1.0/css/site.css (added) +++ cocoon/site/site/2.2/blocks/ajax/1.0/css/site.css Thu Sep 27 12:56:05 2007 @@ -0,0 +1,83 @@ +/* + * 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: Arial, Helvetica, sans-serif; font-size: 0.8em; color: #4c4c4c; } a:link, a:visited { color: #0086b3; } a:hover { text-decoration: none; } h1 { + margin: 25px 0 15px 0; padding: 0 0 5px 17px; background: url(../images/h1-image.gif) no-repeat left 4px; font-size: 130%; color: #0086b3; border-bottom: 1px solid #0086b3; } +h1.docTitle { + margin: 0 0 10px 0; + padding: 0 0 5px 0; + font-size: 150%; + background: none; +} + h2 { font-size: 120%; } + +h3, h4, h5 { + font-size: 100%; + font-weight: bold; +} + ul { margin: 5px 0 10px 0; padding: 0 0 0 20px; list-style: none; } li { padding-left: 15px; padding-bottom: 3px; } +ul li { + background: url(../images/list.gif) no-repeat left 3px; +} +ol li { + padding-left: 5px; +} +tt { + font-size: 130%; +} +pre { border:1px solid #aaaaaa; background: #efefef; font-size: 110%; padding:10px; } table { margin: 0 0 10px 0; width: 99.5%; border: 1px solid #cce7f0; } table th, table td { padding: 4px; } thead { background: #0086b3; color: #fff; } tbody { background: #e5f3f7; } table .alt { background: #cce7f0; } /* Header part +--------------------------------------*/ +#breadtrail { background: #2698be url(../images/breadtrail-bg.gif) repeat-x bottom left; } #breadtrail p { margin: 0; padding: 2px 0 5px 20px; color: #fff; } #breadtrail a { color: #fff; text-decoration: none; } #breadtrail a:hover { text-decoration: underline; } #top { background: url(../images/top-background.jpg) repeat-x; } #header { height: 129px; background: url(../images/logo-background.jpg) no-repeat; } .projectlogo { float: left; } .logoImage { margin: 30px 0 0 34px; } .grouplogo { margin: 10px 10px 0 0; float: right; } .grouptitle { margin: 0; padding-bottom: 5px; background: url(../images/group-title-line.gif) repeat-x bottom; } .grouptitle a:link, .grouptitle a:visited { color: #545454; text-decoration: none; } .searchbox { margin: 3px 0; padding: 0; } .searchbox input { padding: 3px; font-size: 11px; border: 1px solid #626262; color: #626262; } .searchbox .searchboxsubmit { background: #626262; border: none; color: #fff; } #projectBar { margin-bottom: 10px; height: 25px; border-top: 1px solid #f2f2f2; border-bottom: 1px solid #f2f2f2; } #projectBar .projectTitle { margin: 0; padding: 6px 0 0 5px; background: none; border: none; float: left; font-size: 100%; color: #0086b3; } .projectTitle a { text-decoration: none; } .projectTitle a:hover { text-decoration: underline; } #projectBar .projectList { margin: 5px 15px 0 0; padding: 0; list-style: none; float: right; } #projectBar .projectList li { padding: 0 8px; background: none; float: left; border-right: 1px solid #f2f2f2; } #projectBar .projectList a { color: #acacac; text-decoration: none; } #projectBar .projectList a:hover { text-decoration: underline; } .projectList img { padding-top: 2px; } .cocoonHome { margin: 0; padding: 4px 0 0 10px; float: left; } .projectBarClear { height: 1%; clear: both; } +/* Menu +--------------------------------------*/ #menu { margin: 0; padding: 0; width: 170px; list-style: none; font-weight: bold; float: left; } #menu li { margin-left: 10px; padding: 3px 5px 3px 10px; background: url(../images/menu-title.gif) no-repeat left 8px; color: #7c7c7c; } #menu li ul { margin: 0; padding: 0; list-style: none; font-weight: normal; } #menu li ul li { margin: 0; padding: 3px 0 0 10px; background: url(../images/menu-list.gif) no-repeat left 7px; border-bottom: 1px solid #ebebeb; } #menu li ul .menuCollapse { background: url(../images/menu-collapse.gif) no-repeat left 7px; } #menu li ul li a { color: #7c7c7c; text-decoration: none; } #menu li ul li a:hover { text-decoration: underline; } #menu .menuVersions { color: #2e93b5; } +/* Content +--------------------------------------*/ #contentBody { margin: 0 20px 0 185px; padding: 0; } +#contentBody.withSidebar { + margin-right: 190px; +} +/* IncludedDocs should not add the default margin and padding +*/ +.includedDoc #contentBody { + margin: 0; +} +.includedDoc h1.docTitle { + margin: 0; padding: 0 0 0 17px; background: url(../images/h1-image.gif) no-repeat bottom left; font-size: 130%; color: #0086b3; border-bottom: 1px solid #0086b3; +} +/* hide the link to Daisy for included documents */ +.includedDoc .editUrl { + display: none; +} + +/* Intro on home page +--------------------------------------*/ + #intro { width: 180px; float: right; background: #ebebeb; } #intro div { margin: 2px; border: 1px solid #fff; } #intro h2 { color: #0086b3; } #intro p, #intro h2 { margin: 8px; } +/* Green + blue getting boxes on + * home page +--------------------------------------*/ #getting { margin: 0; padding: 0; display: inline-block; width: 100%; } /* Hide from IE-mac \*/ * html #getting { height: 1%; width: auto; } #getting { display: table; } /* End hide from IE-mac */ #getting div { margin: 0 5px 5px 0; padding: 0; width: 150px; height: 16em; background: #9bcd52 url(../images/getting-bottom.gif) no-repeat bottom; border: none; float: left; } #getting div div { margin: 0; + height: auto; padding: 10px 0 0 10px; background: url(../images/getting-top.gif) no-repeat; } #getting h2 { margin: 0 10px; padding: 4px 0; font-size: 120%; color: #fff; border-bottom: 1px solid #fff; } #getting ul { margin: 0 10px 10px 10px; padding: 0; color: #fff; list-style: none; } #getting ul li { padding: 2px 0 2px 7px; background: url(../images/getting-list.gif) no-repeat left 6px; } #getting ul li a { color: #fff; } #getting ul li a:hover { text-decoration: none; } #getting #gettingDownload { + background: #2e93b5 url(../images/download-bottom.gif) no-repeat bottom left; } #gettingDownload .downloadVersion { margin: 0; + height: auto; padding: 83px 0 25px 0; background: url(../images/download-bg.jpg) no-repeat; font-size: 120%; font-weight: bold; text-align: center; } #getting .moreDownload { height: auto; + width: auto; margin: 0; padding: 0 10px; background: #2e93b5; color: #fff; } #getting .moreDownload a { color: #fff; } /* News section +--------------------------------------*/ .news { margin: 10px 0 0 0; padding: 0; } .news dt { margin-bottom: 5px; font-weight: bold; font-size: 110%; } .news dd { margin: 0; padding: 0; } .news .newsMeta { margin: 5px 0 15px 0; padding-left: 8px; background: url(../images/news-meta.gif) no-repeat left 4px; font-size: 90%; color: #959595; } + .errors, .fixme, .warning, .note { margin: 10px 0; padding: 0 0 0 45px; border: 1px solid #9bcd52; } .errors div, .fixme div, .warning div, .note div { margin: 5px; padding: 8px 0; } .errors { background: url(../images/errors.gif) no-repeat 10px 7px; } .fixme { background: url(../images/fixme.gif) no-repeat 10px 7px; } .warning { background: url(../images/warning.gif) no-repeat 10px 7px; } .note { background: url(../images/note.gif) no-repeat 10px 7px; } +/* Bottom link to Daisy page +--------------------------------------*/ .editUrl { + margin-top: 1em; padding: 0 0 0 45px; background: url(../images/errors.gif) no-repeat 10px 7px; border: 1px solid #9bcd52; } .editUrl div { margin: 5px; padding: 8px 0; } +/* Footer +--------------------------------------*/ #footer { border-top: 1px solid #f2f2f2; text-align: center; clear: both; } \ No newline at end of file