svn commit: r1239494 - in /cocoon/site/site/3.0: css/apache-cocoon-thien-maven-skin.min.css distribution-management.html js/apache-cocoon-thien-maven-skin.min.js reference/html-single/wicket-integration.html

[email protected]
Newsgroups gmane.text.xml.cocoon.cvs
Message-ID <[email protected]>
Author: simonetripodi
Date: Thu Feb  2 09:01:41 2012
New Revision: 1239494

URL: http://svn.apache.org/viewvc?rev=1239494&view=rev
Log:
added missing css/js and new doc pages

Added:
    cocoon/site/site/3.0/css/apache-cocoon-thien-maven-skin.min.css   (with props)
    cocoon/site/site/3.0/distribution-management.html   (with props)
    cocoon/site/site/3.0/js/apache-cocoon-thien-maven-skin.min.js   (with props)
    cocoon/site/site/3.0/reference/html-single/wicket-integration.html   (with props)

Added: cocoon/site/site/3.0/css/apache-cocoon-thien-maven-skin.min.css
URL: http://svn.apache.org/viewvc/cocoon/site/site/3.0/css/apache-cocoon-thien-maven-skin.min.css?rev=1239494&view=auto
==============================================================================
--- cocoon/site/site/3.0/css/apache-cocoon-thien-maven-skin.min.css (added)
+++ cocoon/site/site/3.0/css/apache-cocoon-thien-maven-skin.min.css Thu Feb  2 09:01:41 2012
@@ -0,0 +1 @@
+body{margin:0;padding:0}#content div.main{margin:0 20px 0 185px}.section{margin:0 20px 0 0;padding:0}.section .section{margin:0}img{border:0}acronym{cursor:help;border-bottom:1px dotted #0086b3}select,input{color:#626262}code{border:1px solid #aaa;background:#efefef;font-size:110%;padding:10px}li code,td code{border:0;font-size:110%;background:transparent;padding:0}#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:.4em 0 .5em 0;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:url(../images/icon_success_sml.gif) no-repeat 10px 7px}.infomark{background:url(../images/note.gif) no-repeat 10px 7px}.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{colo
 r:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{col
 or:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0;padding-left:15px}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}body{font-family:Arial,Helvetica,sans-serif;font-size:.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:0}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 #aaa;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}#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:0;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:0;border:0;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:0;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{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-t
 itle.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.g
 if) 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}#contentBody{margin:0 20px 0 0;padding:0}#contentBody.withSidebar{margin-right:190px}.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}.includedDoc .editUrl{display:none}#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}#getting{margin:0;padding:0;display:inline
 -block;width:100%}/*\*/* html #getting{height:1%;width:auto}#getting{display:table}/**/#getting div{margin:0 5px 5px 0;padding:0;width:150px;height:16em;background:#9bcd52 url(../images/gett
 ing-bottom.gif) no-repeat bottom;border:0;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 .more
 Download{height:auto;width:auto;margin:0;padding:0 10px;background:#2e93b5;color:#fff}#getting .moreDownload a{color:#fff}.news{margin:10px 0 0 0;padding:0}.news dt{margin-bottom:5px;font-we
 ight: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}.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{border-top:1px solid #f2f
 2f2;text-align:center;clear:both}
\ No newline at end of file

Propchange: cocoon/site/site/3.0/css/apache-cocoon-thien-maven-skin.min.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: cocoon/site/site/3.0/distribution-management.html
URL: http://svn.apache.org/viewvc/cocoon/site/site/3.0/distribution-management.html?rev=1239494&view=auto
==============================================================================
--- cocoon/site/site/3.0/distribution-management.html (added)
+++ cocoon/site/site/3.0/distribution-management.html Thu Feb  2 09:01:41 2012
@@ -0,0 +1,172 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+  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.
+-->
+
+
+
+
+
+
+
+
+<html>
+  <head>
+    <title>      Project Distribution Management
+  </title>
+    <link rel="stylesheet" href="./css/apache-cocoon-thien-maven-skin.min.css" />
+    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+    <script src="./js/apache-cocoon-thien-maven-skin.min.js" language="javascript" type="text/javascript"></script>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+  </head>
+  <body onload="javascript:prettyPrint();">
+    <div id="breadtrail">
+       <p><a href="http://www.apache.org">Apache</a> &raquo; <a href="../">Cocoon</a> &raquo;</p>
+    </div>
+    <div id="top">
+      <div id="header">
+          <div class="projectlogo">
+             <a href="../"><img class="logoImage"
+               src="images/cocoon_logo.jpg"
+                alt="Apache Cocoon" border="0" /></a>
+          </div>
+          <div class="grouplogo">
+             <p class="grouptitle"><a href="../">The Apache Cocoon Project</a><img
+               src="images/apache-logo.jpg" alt="Cocoon Project Logo" /></p>
+             <form class="searchbox" action="http://www.google.com/search" method="get">
+               <input value="cocoon.apache.org" name="sitesearch" type="hidden" />
+               <input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google" />&nbsp;
+               <input class="searchboxsubmit" name="Search" value="Search" type="submit" />
+             </form>
+         </div>
+         </div>
+         <div id="projectBar">
+           <p class="cocoonHome"><a href="./index.html"><img
+           src="images/pmc-home.gif"
+           alt="  Cocoon 3
+   homepage"
+           border="0" title="  Cocoon 3
+   homepage" /></a></p>
+           <h1 class="projectTitle"><a href="./index.html">  Cocoon 3
+  </a></h1>
+                         <ul class="projectList">
+                <li><strong><a href="../2.2/">Cocoon 2.2</a></em></strong></li>
+                <li><strong><a href="../3.0/">Cocoon 3.0</a></em></strong></li>
+                <li><strong><a href="../subprojects/">Subprojects</a></strong></li>
+              </ul>
+                    </div>
+         <div class="projectBarClear"><!-- --></div>
+      </div>
+    <!-- end of top -->
+
+    <div id="content">
+         <ul id="menu">
+        <li>
+              Documentation
+            <ul>
+                  
+    <li >
+              <a href="index.html">Index</a>
+        </li>
+                  
+    <li >
+              <a href="changes-report.html">Changelog</a>
+        </li>
+                  
+    <li >
+              <a href="roadmap.html">Roadmap</a>
+        </li>
+                  
+    <li >
+              <a href="reference/index.html">Userguide</a>
+        </li>
+                  
+    <li >
+              <a href="features.html">Features</a>
+        </li>
+              </ul>
+    </li>
+      <li>
+              Project
+            <ul>
+                  
+    <li >
+              <a href="license.html">License</a>
+        </li>
+                  
+    <li >
+              <a href="team-list.html">Team list</a>
+        </li>
+                  
+    <li >
+              <a href="contributions.html">Contributions</a>
+        </li>
+                  
+    <li >
+              <a href="mail-lists.html">Mailing lists</a>
+        </li>
+                  
+    <li >
+              <a href="building.html">Building</a>
+        </li>
+                  
+    <li >
+              <a href="source-repository.html">Source Repository</a>
+        </li>
+                  
+    <li >
+              <a href="apidocs/index.html">API</a>
+        </li>
+                  
+    <li >
+              <a href="https://issues.apache.org/jira/browse/COCOON3">Issue Tracking</a>
+        </li>
+                  
+    <li >
+              <a href="download.html">Download</a>
+        </li>
+              </ul>
+    </li>
+      </ul>
+       <div class="main">
+         <div class="section"><h2>Overview<a name="Overview"></a></h2><a name="Overview"></a><p>The following is the distribution management information used by this project.</p><div class="section"><h3>Repository - apache.releases.https<a name="Repository_-_apache.releases.https"></a></h3><a name="Repository_-_apache.releases.https"></a><a class="externalLink" href="https://repository.apache.org/service/local/staging/deploy/maven2">https://repository.apache.org/service/local/staging/deploy/maven2</a></div><div class="section"><h3>Snapshot Repository - apache.snapshots.https<a name="Snapshot_Repository_-_apache.snapshots.https"></a></h3><a name="Snapshot_Repository_-_apache.snapshots.https"></a><a class="externalLink" href="https://repository.apache.org/content/repositories/snapshots">htt
 ps://repository.apache.org/content/repositories/snapshots</a></div><div class="section"><h3>Site - website<a name="Site_-_website"></a></h3><a name="Site_-_website"></a><p>file:///tmp/C3_SIT
 E//3.0/</p></div></div>
+       </div>
+    </div>
+
+    <!-- end of content -->
+    <div id="footer">
+      <p>Copyright &copy;  
+          2008-2012
+    
+          The Apache Software Foundation
+      All Rights Reserved.</p>
+
+      <p>
+      Apache Cocoon, Apache, the Apache feather logo, and the Apache Cocoon project logos are trademarks of The Apache Software Foundation.
+      All other marks mentioned may be trademarks or registered trademarks of their respective owners.
+      </p>
+    </div>
+    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+    </script>
+    <script type="text/javascript">
+      _uacct = "UA-1740622-3";
+      urchinTracker();
+    </script>
+
+  </body>
+</html>
\ No newline at end of file

Propchange: cocoon/site/site/3.0/distribution-management.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/site/site/3.0/distribution-management.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: cocoon/site/site/3.0/distribution-management.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: cocoon/site/site/3.0/js/apache-cocoon-thien-maven-skin.min.js
URL: http://svn.apache.org/viewvc/cocoon/site/site/3.0/js/apache-cocoon-thien-maven-skin.min.js?rev=1239494&view=auto
==============================================================================
--- cocoon/site/site/3.0/js/apache-cocoon-thien-maven-skin.min.js (added)
+++ cocoon/site/site/3.0/js/apache-cocoon-thien-maven-skin.min.js Thu Feb  2 09:01:41 2012
@@ -0,0 +1 @@
+function getBlank(b,a){if(b.value==a){b.value=""}return true}var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;(function(){function d(F){function w(J){var K=J.charCodeAt(0);if(K!==92){return K}var I=J.charAt(1);return(K=k[I])?K:"0"<=I&&I<="7"?parseInt(J.substring(1),8):I==="u"||I==="x"?parseInt(J.substring(2),16):J.charCodeAt(1)}function C(I){if(I<32){return(I<16?"\\x0":"\\x")+I.toString(16)}I=String.fromCharCode(I);if(I==="\\"||I==="-"||I==="["||I==="]"){I="\\"+I}return I}function A(J){for(var M=J.substring(1,J.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),J=[],I=[],O=M[0]==="^",P=O?1:0,L=M.length;P<L;++P){var K=M[P];if(/\\[bdsw]/i.test(K)){J.push(K)}else{var K=w(K),N;P+2<L&&"-"===M[P+1]?(N=w(M[P+2]),P+=2):N=K;I.push([K,N]);N<65||K>122|
 |(N<65||K>90||I.push([Math.max(65,K)|32,Math.min(N,90)|32]),N<97||K>122||I.push([Math.max(97,K)&-33,Math.min(N,122)&-33]))}}I.sort(function(Q,R){return Q[0]-R[0]||R[1]-Q[1]});M=[];K=[NaN,NaN
 ];for(P=0;P<I.length;++P){L=I[P],L[0]<=K[1]+1?K[1]=Math.max(K[1],L[1]):M.push(K=L)}I=["["];O&&I.push("^");I.push.apply(I,J);for(P=0;P<M.length;++P){L=M[P],I.push(C(L[0])),L[1]>L[0]&&(L[1]+1>L[0]&&I.push("-"),I.push(C(L[1])))}I.push("]");return I.join("")}function E(J){for(var M=J.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),I=M.length,N=[],O=0,L=0;O<I;++O){var K=M[O];K==="("?++L:"\\"===K.charAt(0)&&(K=+K.substring(1))&&K<=L&&(N[K]=-1)}for(O=1;O<N.length;++O){-1===N[O]&&(N[O]=++G)}for(L=O=0;O<I;++O){K=M[O],K==="("?(++L,N[L]===void 0&&(M[O]="(?:")):"\\"===K.charAt(0)&&(K=+K.substring(1))&&K<=L&&(M[O]="\\"+N[L])}for(L=O=0;O<I;++O){"^"===M[O]&&"^"!==M[O+1]&&(M[O]="")}if(J.ignoreCase&&H){for(O=0;O<I;++O){K=M[O],J=K.charA
 t(0),K.length>=2&&J==="["?M[O]=A(K):J!=="\\"&&(M[O]=K.replace(/[A-Za-z]/g,function(P){P=P.charCodeAt(0);return"["+String.fromCharCode(P&-33,P|32)+"]"}))}}return M.join("")}for(var G=0,H=!1,x
 =!1,u=0,D=F.length;u<D;++u){var B=F[u];if(B.ignoreCase){x=!0}else{if(/[a-z]/i.test(B.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){H=!0;x=!1;break}}}for(var k={b:8,t:9,n:10,v:11,f:12,r:13},v=[],u=0,D=F.length;u<D;++u){B=F[u];if(B.global||B.multiline){throw Error(""+B)}v.push("(?:"+E(B)+")")}return RegExp(v.join("|"),x?"gi":"g")}function c(B){function u(E){switch(E.nodeType){case 1:if(x.test(E.className)){break}for(var F=E.firstChild;F;F=F.nextSibling){u(F)}F=E.nodeName;if("BR"===F||"LI"===F){w[D]="\n",C[D<<1]=A++,C[D++<<1|1]=E}break;case 3:case 4:F=E.nodeValue,F.length&&(F=k?F.replace(/\r\n?/g,"\n"):F.replace(/[\t\n\r ]+/g," "),w[D]=F,C[D<<1]=A,A+=F.length,C[D++<<1|1]=E)}}var x=/(?:^|\s)nocode(?:\s|$)/,w=[],A=0,C=[],D=0,v;B.currentStyle?v=B.currentStyle.whiteSpace:window.
 getComputedStyle&&(v=document.defaultView.getComputedStyle(B,q).getPropertyValue("white-space"));var k=v&&"pre"===v.substring(0,3);u(B);return{a:w.join("").replace(/\n$/,""),c:C}}function t(
 u,k,w,v){k&&(u={a:k,d:u},w(u),v.push.apply(v,u.e))}function h(u,k){function x(P){for(var F=P.d,C=[F,"pln"],L=0,J=P.a.match(A)||[],B={},E=0,N=J.length;E<N;++E){var K=J[E],O=B[K],D=void 0,M;if(typeof O==="string"){M=!1}else{var I=w[K.charAt(0)];if(I){D=K.match(I[1]),O=I[0]}else{for(M=0;M<v;++M){if(I=k[M],D=K.match(I[1])){O=I[0];break}}D||(O="pln")}if((M=O.length>=5&&"lang-"===O.substring(0,5))&&!(D&&typeof D[1]==="string")){M=!1,O="src"}M||(B[K]=O)}I=L;L+=K.length;if(M){M=D[1];var H=K.indexOf(M),G=H+M.length;D[2]&&(G=K.length-D[2].length,H=G-M.length);O=O.substring(5);t(F+I,K.substring(0,H),x,C);t(F+I+H,M,s(O,M),C);t(F+I+G,K.substring(G),x,C)}else{C.push(F+I,O)}}P.e=C}var w={},A;(function(){for(var G=u.concat(k),B=[],F={},H=0,E=G.length;H<E;++H){var D=G[H],I=D[3];if(I){for(var C=I.length;--
 C>=0;){w[I.charAt(C)]=D}}D=D[1];I=""+D;F.hasOwnProperty(I)||(B.push(D),F[I]=q)}B.push(/[\S\s]/);A=d(B)})();var v=k.length;return x}function o(u){var k=[],w=[];u.tripleQuotedStrings?k.push(["
 str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):u.multiLineStrings?k.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,q,"'\"`"]):k.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);u.verbatimStrings&&w.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var v=u.hashComments;v&&(u.cStyleComments?(v>1?k.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):k.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),w.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):k.push(["com",/^#[^\n\
 r]*/,q,"#"]));u.cStyleComments&&(w.push(["com",/^\/\/[^\n\r]*/,q]),w.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));u.regexLiterals&&w.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|
 &=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(v=u.types)&&w.push(["typ",v]);u=(""+u.keywords).replace(/^ | $/g,"");u.length&&w.push(["kwd",RegExp("^(?:"+u.replace(/[\s,]+/g,"|")+")\\b"),q]);k.push(["pln",/^\s+/,q," \r\n\t\xa0"]);w.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return h(k,w)}function r(H,x){function E(K){switch(K.nodeType){case 
 1:if(B.test(K.className)){break}if("BR"===K.nodeName){C(K),K.parentNode&&K.parentNode.removeChild(K)}else{for(K=K.firstChild;K;K=K.nextSibling){E(K)}}break;case 3:case 4:if(v){var k=K.nodeVa
 lue,L=k.match(I);if(L){var M=k.substring(0,L.index);K.nodeValue=M;(k=k.substring(L.index+L[0].length))&&K.parentNode.insertBefore(J.createTextNode(k),K.nextSibling);C(K);M||K.parentNode.removeChild(K)}}}}function C(K){function k(M,R){var Q=R?M.cloneNode(!1):M,P=M.parentNode;if(P){var P=k(P,1),O=M.nextSibling;P.appendChild(Q);for(var N=O;N;N=O){O=N.nextSibling,P.appendChild(N)}}return Q}for(;!K.nextSibling;){if(K=K.parentNode,!K){return}}for(var K=k(K.nextSibling,0),L;(L=K.parentNode)&&L.nodeType===1;){K=L}F.push(K)}var B=/(?:^|\s)nocode(?:\s|$)/,I=/\r\n?|\n/,J=H.ownerDocument,A;H.currentStyle?A=H.currentStyle.whiteSpace:window.getComputedStyle&&(A=J.defaultView.getComputedStyle(H,q).getPropertyValue("white-space"));var v=A&&"pre"===A.substring(0,3);for(A=J.createElement("LI");H.firstChild
 ;){A.appendChild(H.firstChild)}for(var F=[A],D=0;D<F.length;++D){E(F[D])}x===(x|0)&&F[0].setAttribute("value",x);var u=J.createElement("OL");u.className="linenums";for(var w=Math.max(0,x-1|0
 )||0,D=0,G=F.length;D<G;++D){A=F[D],A.className="L"+(D+w)%10,A.firstChild||A.appendChild(J.createTextNode("\xa0")),u.appendChild(A)}H.appendChild(u)}function z(u,k){for(var w=k.length;--w>=0;){var v=k[w];y.hasOwnProperty(v)?window.console&&console.warn("cannot override language handler %s",v):y[v]=u}}function s(u,k){if(!u||!y.hasOwnProperty(u)){u=/^\s*</.test(k)?"default-markup":"default-code"}return y[u]}function p(X){var L=X.g;try{var T=c(X.h),Q=T.a;X.a=Q;X.c=T.c;X.d=0;s(L,Q)(X);var N=/\bMSIE\b/.test(navigator.userAgent),L=/\n/g,F=X.a,G=F.length,T=0,M=X.c,I=M.length,Q=0,U=X.e,R=U.length,X=0;U[R]=G;var H,K;for(K=H=0;K<R;){U[K]!==U[K+2]?(U[H++]=U[K++],U[H++]=U[K++]):K+=2}R=H;for(K=H=0;K<R;){for(var A=U[K],S=U[K+1],W=K+2;W+2<=R&&U[W+1]===S;){W+=2}U[H++]=A;U[H++]=S;K=W}for(U.length=H;Q<I;){
 var J=M[Q+2]||G,V=U[X+2]||G,W=Math.min(J,V),P=M[Q+1],O;if(P.nodeType!==1&&(O=F.substring(T,W))){N&&(O=O.replace(L,"\r"));P.nodeValue=O;var E=P.ownerDocument,D=E.createElement("SPAN");D.class
 Name=U[X+1];var B=P.parentNode;B.replaceChild(D,P);D.appendChild(P);T<J&&(M[Q+1]=P=E.createTextNode(F.substring(W,J)),B.insertBefore(P,D.nextSibling))}T=W;T>=J&&(Q+=2);T>=V&&(X+=2)}}catch(C){"console" in window&&console.log(C&&C.stack?C.stack:C)}}var m=["break,continue,do,else,for,if,return,while"],j=[[m,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],n=[j,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typen
 ame,using,virtual,where"],l=[j,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],i=[l,"as,base,by,c
 hecked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],j=[j,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],g=[m,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],f=[m,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],m=[m,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],e=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?
 iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,b=/\S/,a=o({keywords:[n,i,j,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package
 ,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+g,f,m],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),y={};z(a,["default-code"]);z(h([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);z(h([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/
 i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+
 )/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);z(h([],[["atv",/^[\S\s]+/]]),["uq.val"]);z(o({keywords:n,hashComments:!0,cStyleComments:!0,types:e}),["c","cc","cpp","cxx","cyc","m"]);z(o({keywords:"null,true,false"}),["json"]);z(o({keywords:i,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:e}),["cs"]);z(o({keywords:l,cStyleComments:!0}),["java"]);z(o({keywords:m,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);z(o({keywords:g,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py"]);z(o({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN
 ,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);z(o({keywords:f,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);z(o({keywords:j,cStyleComments
 :!0,regexLiterals:!0}),["js"]);z(o({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);z(h([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(u,k,w){var v=document.createElement("PRE");v.innerHTML=u;w&&r(v,w);p({g:k,i:w,h:v});return v.innerHTML};window.prettyPrint=function(E){function v(){for(var L=window.PR_SHOULD_USE_CONTINUATION?w.now()+250:Infinity;u<A.length&&w.now()<L;u++){var O=A[u],I=O.className;if(I.indexOf("prettyprint")>=0){var I=I.match(B),K,H;if(H=!I){H=O;for(var M=void 0,N=H.firstChild;N;N=N.nextSibling){var J=N.nodeType,M=J===1?M?H:N:J===
 3?b.test(N.nodeValue)?H:M:M}H=(K=M===H?void 0:M)&&"CODE"===K.tagName}H&&(I=K.className.match(B));I&&(I=I[1]);H=!1;for(M=O.parentNode;M;M=M.parentNode){if((M.tagName==="pre"||M.tagName==="cod
 e"||M.tagName==="xmp")&&M.className&&M.className.indexOf("prettyprint")>=0){H=!0;break}}H||((H=(H=O.className.match(/\blinenums\b(?::(\d+))?/))?H[1]&&H[1].length?+H[1]:!0:!1)&&r(O,H),D={g:I,h:O,i:H},p(D))}}u<A.length?setTimeout(v,250):E&&E()}for(var C=[document.getElementsByTagName("pre"),document.getElementsByTagName("code"),document.getElementsByTagName("xmp")],A=[],x=0;x<C.length;++x){for(var F=0,G=C[x].length;F<G;++F){A.push(C[x][F])}}var C=q,w=Date;w.now||(w={now:function(){return +new Date}});var u=0,D,B=/\blang(?:uage)?-([\w.]+)(?!\S)/;v()};window.PR={createSimpleLexer:h,registerLangHandler:z,sourceDecorator:o,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_S
 OURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ"}})();
\ No newline at end of file

Propchange: cocoon/site/site/3.0/js/apache-cocoon-thien-maven-skin.min.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/site/site/3.0/js/apache-cocoon-thien-maven-skin.min.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: cocoon/site/site/3.0/js/apache-cocoon-thien-maven-skin.min.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cocoon/site/site/3.0/reference/html-single/wicket-integration.html
URL: http://svn.apache.org/viewvc/cocoon/site/site/3.0/reference/html-single/wicket-integration.html?rev=1239494&view=auto
==============================================================================
--- cocoon/site/site/3.0/reference/html-single/wicket-integration.html (added)
+++ cocoon/site/site/3.0/reference/html-single/wicket-integration.html Thu Feb  2 09:01:41 2012
@@ -0,0 +1,173 @@
+<html><head>
+      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+   <title>Chapter&nbsp;5.&nbsp;Wicket Integration</title><link rel="stylesheet" href="css/html.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.72.0"><link rel="start" href="index.html" title="Cocoon 3.0 ALPHA - Reference Documentation"><link rel="up" href="index.html" title="Cocoon 3.0 ALPHA - Reference Documentation"><link rel="prev" href="webapps.html" title="Chapter&nbsp;4.&nbsp;Web applications"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div xmlns:fo="http://www.w3.org/1999/XSL/Format" id="top"><div id="header"><div class="projectlogo"><a href="./"><img class="logoImage" src="images/cocoon_logo.jpg" alt="Apache Cocoon" border="0"></a></div></div></div><div xmlns:fo="http://www.w3.org/1999/XSL/Format" class=
 "mhSpacer"></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="wicket-integration"></a>Chapter&nbsp;5.&nbsp;Wicket Integration</h2></div></div></
 div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="wicket.introduction"></a>5.1.&nbsp;Introduction</h2></div></div></div><p>
+      Apache Wicket has become on of the most popular web frameworks of these days.
+      Especially developers with a strong Java background benefit from its Java-centric approach because all
+      object-oriented features can be applied. This results in highly reusable code.
+    </p><p>
+      On the other side Cocoon implementing the pipe/filter pattern has its merits in the 
+      field of generating resources in different output formats. 
+    </p><p>
+      The Cocoon-Wicket integration module bridges between those two web application frameworks
+      in order to use the strenghts of both. This integration supports the integration of
+      Cocoon into Wicket as well as the integration of Wicket into Cocoon.
+    </p><p><span class="emphasis"><em>Note:</em></span> This is <span class="emphasis"><em>not</em></span> an introduction into Apache Wicket. This documentation
+      explains to the experienced Wicket user what needs to be done to integrate Cocoon 3 into a Wicket application.
+    </p></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="wicket.wicket-cocoon-integration"></a>5.2.&nbsp;Integrate Cocoon into Wicket</h2></div></div></div><p>
+      The integration of Cocoon into Wicket is available in several ways:  
+      </p><div class="itemizedlist"><ul type="disc"><li><p>A <span class="emphasis"><em>Cocoon sitemap</em></span> can be mounted as 
+          <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://wicket.apache.org/docs/1.4/org/apache/wicket/request/target/coding/IRequestTargetUrlCodingStrategy.html" target="_top"><code class="literal">IRequestTargetUrlCodingStrategy</code></a></p></li><li><p>A single <span class="emphasis"><em>Cocoon pipeline</em></span> can be mounted as <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://wicket.apache.org/docs/1.4/org/apache/wicket/request/target/coding/IRequestTargetUrlCodingStrategy.html" target="_top"><code class="literal">IRequestTargetUrlCodingStrategy</code></a> (not implemented yet)</p></li><li><p>A <span class="emphasis"><em>CocoonSAXPipeline Wicket component</em></span> can be added to a 
+          <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/WebPage.html" target="_top"><code class="literal">WebPage</code></a></p></li></ul></div><p>      
+    </p><p>
+      Whatever approach is chosen, the first step is adding <code class="literal">cocoon-wicket</code> and all
+      its transitive dependencies to your project's classpath:
+    </p><pre class="programlisting">&lt;<span class="hl-tag">dependency</span>&gt;
+  &lt;<span class="hl-tag">groupId</span>&gt;org.apache.cocoon.wicket&lt;<span class="hl-tag">/groupId</span>&gt;
+  &lt;<span class="hl-tag">artifactId</span>&gt;cocoon-wicket&lt;<span class="hl-tag">/artifactId</span>&gt;
+  &lt;<span class="hl-tag">version</span>&gt;3.0.0-alpha-2&lt;<span class="hl-tag">/version</span>&gt;
+&lt;<span class="hl-tag">/dependency</span>&gt;</pre><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="wicket.wicket-cocoon-integration.sitemap"></a>5.2.1.&nbsp;Mount a Cocoon sitemap</h3></div></div></div><p>
+        Mounting in the context of Wicket means a class implementing <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://wicket.apache.org/docs/1.4/org/apache/wicket/request/target/coding/IRequestTargetUrlCodingStrategy.html" target="_top"><code class="literal">IRequestTargetUrlCodingStrategy</code></a>
+        is added to a Wicket web application. This interface is implemented by <code class="literal">CocoonSitemap</code>:          
+      </p><div class="programlistingco"><pre class="programlisting"><span class="hl-keyword">import</span> org.apache.cocoon.wicket.target.CocoonSitemap;
+<span class="hl-keyword">import</span> org.apache.wicket.protocol.http.WebApplication;
+
+<span class="hl-keyword">public</span> <span class="hl-keyword">class</span> SomeWebApplication <span class="hl-keyword">extends</span> WebApplication {
+
+    @Override
+    <span class="hl-keyword">protected</span> <span class="hl-keyword">void</span> init() {
+        ...
+        <span class="hl-keyword">this</span>.mount(<span class="hl-keyword">new</span> CocoonSitemap(<span class="hl-string">"/sitemap"</span>, <span class="hl-string">"/sitemap.xmap.xml"</span>));                  <span class="co"><img src="images/callouts/1.png" alt="(1)"></span>
+        ...
+    }
+}</pre><div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left"><img src="images/callouts/1.png" alt="1" border="0"></td><td valign="top" align="left"><p>
+             The first parameter is the mount path which is a part of the request URI that should be
+             handled by <code class="literal">CocoonSitemap</code>. The second parameter is the location of
+             the sitemap relativ to the servlet context.  
+           </p></td></tr></table></div></div><p>
+       Additionally you have to make sure that all Spring bean definitions provided by the Cocoon modules are
+       loaded into the web application's Spring application context. Cocoon's own bean definitions are located in
+       <code class="literal">META-INF/cocoon/spring/*.xml</code>.
+     </p><p>
+       The simplest solution for this task is referring to the Cocoon Spring Configurator in your main Spring application context, 
+       which is usually located in <code class="literal">[servlet-context-base-directory]/WEB-INF/applicationContext.xml</code>. It will
+       automatically load all bean definitions located in <code class="literal">META-INF/cocoon/spring/*.xml</code> of all libraries
+       on the classpath.
+       The <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://cocoon.apache.org/subprojects/configuration/1.0/spring-configurator/2.1/1303_1_1.html" target="_top">
+       Cocoon Spring Configurator documentation</a> contains further details.
+     </p><p>
+       Note that the Spring Configurator is one of the transitive dependencies of <code class="literal">cocoon-wicket</code>.
+     </p><p>
+       That's it! Everything else is the same as using Cocoon 3 outside of Wicket except that the
+       <code class="literal">servlet:/</code> protocol won't work in this environment.
+     </p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="wicket.wicket-cocoon-integration.pipeline"></a>5.2.2.&nbsp;Mount a Cocoon pipeline</h3></div></div></div><p>
+        <span class="emphasis"><em>NOTE: This hasn't been implemented yet!</em></span>
+      </p><p>
+        Mounting a Cocoon pipeline follows the same idea as mounting a whole sitemap. However, it's only a single pipeline
+        that is added to Wicket's URI path and that this can be done without having to write any XML.
+      </p><p>
+        All that needs to be done is subclassing from <code class="literal">org.apache.cocoon.wicket.AbstractCocoonPipeline</code>
+        and implementing its <code class="literal">addComponents</code> method:
+      </p><div class="programlistingco"><pre class="programlisting"><span class="hl-keyword">import</span> com.mycompany.MyCocoonPipeline;
+<span class="hl-keyword">import</span> org.apache.wicket.protocol.http.WebApplication;
+
+<span class="hl-keyword">public</span> <span class="hl-keyword">class</span> SomeWebApplication <span class="hl-keyword">extends</span> WebApplication 
+
+    @Override
+    <span class="hl-keyword">protected</span> <span class="hl-keyword">void</span> init() {
+        ...
+        <span class="hl-keyword">this</span>.mount(<span class="hl-keyword">new</span> MyCocoonPipeline(<span class="hl-string">"/my-pipeline"</span>));                                <span class="co"><img src="images/callouts/1.png" alt="(1)"></span>
+        ...
+    }
+}</pre><div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left"><img src="images/callouts/1.png" alt="1" border="0"></td><td valign="top" align="left"><p>
+             The only parameter is the path where the pipeline should be be mounted by Wicket.  
+           </p></td></tr></table></div></div><p>
+        In <code class="literal">MyCocoonPipeline</code> all that needs to be done is subclassing from 
+        <code class="literal">org.apache.cocoon.wicket.AbstractCocoonPipeline</code> and implementing its abstract method 
+        <code class="literal">addComponents</code>:
+      </p><div class="programlistingco"><pre class="programlisting"><span class="hl-keyword">package</span> com.mycompany;
+<span class="hl-keyword">import</span> org.apache.cocoon.wicket.AbstractCocoonPipeline;
+<span class="hl-keyword">import</span> org.apache.wicket.protocol.http.WebApplication;
+
+<span class="hl-keyword">public</span> <span class="hl-keyword">class</span> MyCocoonPipeline <span class="hl-keyword">extends</span> 
+    org.apache.cocoon.wicket.AbstractCocoonPipeline&lt;SAXPipelineComponent&gt;
+
+    @Override
+    <span class="hl-keyword">protected</span> <span class="hl-keyword">void</span> addComponents() {                                                     <span class="co"><img src="images/callouts/1.png" alt="(1)"></span>
+        <span class="hl-keyword">this</span>.addComponent(<span class="hl-keyword">new</span> FileGenerator(<span class="hl-keyword">this</span>.getClass().getResource(<span class="hl-string">"test.xml"</span>)));
+        <span class="hl-keyword">this</span>.addComponent(<span class="hl-keyword">new</span> XSLTTransformer(<span class="hl-keyword">this</span>.getClass().getResource(<span class="hl-string">"test.xsl"</span>)));        
+        <span class="hl-keyword">this</span>.addComponent(<span class="hl-keyword">new</span> XMLSerializer());        
+    }
+}</pre><div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left"><img src="images/callouts/1.png" alt="1" border="0"></td><td valign="top" align="left"><p>
+             Add all pipeline components that are required.  
+           </p></td></tr></table></div></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="wicket.wicket-cocoon-integration.component"></a>5.2.3.&nbsp;CocoonSAXPipeline Wicket component</h3></div></div></div><p>
+        The third alternative of using Cocoon in Wicket is adding a Cocoon pipeline as 
+        <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/WebComponent.html" target="_top"><code class="literal">WebComponent</code></a>.
+        This is as simple as instantiating <code class="literal">CocoonSAXPipeline</code> and adding
+        all generators and transformers that are required: 
+      </p><div class="programlistingco"><pre class="programlisting"><span class="hl-keyword">import</span> org.apache.cocoon.pipeline.NonCachingPipeline;
+<span class="hl-keyword">import</span> org.apache.cocoon.sax.SAXPipelineComponent;
+<span class="hl-keyword">import</span> org.apache.cocoon.sax.component.StringGenerator;
+<span class="hl-keyword">import</span> org.apache.cocoon.sax.component.XSLTTransformer;
+<span class="hl-keyword">import</span> org.apache.cocoon.wicket.CocoonSAXPipeline;
+<span class="hl-keyword">import</span> org.apache.wicket.markup.html.WebPage;
+      
+    <span class="hl-keyword">public</span> <span class="hl-keyword">class</span> Homepage <span class="hl-keyword">extends</span> WebPage {
+
+    <span class="hl-keyword">public</span> Homepage() {
+        CocoonSAXPipeline pipeline = <span class="hl-keyword">new</span> CocoonSAXPipeline(<span class="hl-string">"cocoon-pipeline-component"</span>,  <span class="co"><img src="images/callouts/1.png" alt="(1)"></span>
+                <span class="hl-keyword">new</span> NonCachingPipeline&lt;SAXPipelineComponent&gt;());
+        pipeline.addComponent(<span class="hl-keyword">new</span> StringGenerator(<span class="hl-string">"&lt;b&gt;hello, Cocoon!&lt;/b&gt;"</span>));             <span class="co"><img src="images/callouts/2.png" alt="(2)"></span>
+        pipeline.addComponent(<span class="hl-keyword">new</span> XSLTTransformer(
+                <span class="hl-keyword">this</span>.getClass().getResource(<span class="hl-string">"transform.xslt"</span>)));
+        <span class="hl-keyword">this</span>.add(pipeline);
+    }
+}
+</pre><div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left"><img src="images/callouts/1.png" alt="1" border="0"></td><td valign="top" align="left"><p>
+             Instantiate the component  
+           </p></td></tr><tr><td width="5%" valign="top" align="left"><img src="images/callouts/2.png" alt="2" border="0"></td><td valign="top" align="left"><p>
+             Adding SAX pipeline components
+           </p></td></tr></table></div></div><p>
+       The pipeline's result is added to the HTML produced by this page. This is the reason
+       why only generators and transformers can be added to this component because the
+       pipeline is always serialized as XHTML. An XHTMLSerializer is added implicitly to
+       each pipeline.
+     </p></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="wicket.cocoon-wicket-integration"></a>5.3.&nbsp;Integrate Wicket into Cocoon</h2></div></div></div><p>
+      <span class="emphasis"><em>Note:</em></span> The integration of Wicket into Cocoon os mostly a proof of concept. 
+      It is experimental and has neither been optimized nor tested yet.
+    </p><p>
+      The integration of Wicket into Cocoon means that the output of Wicket is added to the content stream of a pipeline.
+      The currently available solution is a reader but alternatively a generator or a transformer would offer an even more
+      alternatives. 
+    </p><p>
+      As pointed out for the Wicket-Cocoon integration, the first step in every case is adding <code class="literal">cocoon-wicket</code> and all
+      its transitive dependencies to your project's classpath:
+    </p><pre class="programlisting">&lt;<span class="hl-tag">dependency</span>&gt;
+  &lt;<span class="hl-tag">groupId</span>&gt;org.apache.cocoon.wicket&lt;<span class="hl-tag">/groupId</span>&gt;
+  &lt;<span class="hl-tag">artifactId</span>&gt;cocoon-wicket&lt;<span class="hl-tag">/artifactId</span>&gt;
+  &lt;<span class="hl-tag">version</span>&gt;3.0.0-alpha-2&lt;<span class="hl-tag">/version</span>&gt;
+&lt;<span class="hl-tag">/dependency</span>&gt;</pre><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="wicket.cocoon-wicket.reader"></a>5.3.1.&nbsp;Wicket reader</h3></div></div></div><p>
+        By using the Wicket reader a servlet request is referred to a Wicket web application. The current implementation
+        expects exactly one Wicket web application being available as Spring bean:
+      </p><pre class="programlisting">&lt;<span class="hl-tag">beans</span>&gt;
+  &lt;<span class="hl-tag">bean</span> <span class="hl-attribute">id</span>=<span class="hl-value">"wicketWebapp"</span> 
+    <span class="hl-attribute">class</span>=<span class="hl-value">"com.mycompany.MyWicketWebapp"</span>/&gt;
+&lt;<span class="hl-tag">/beans</span>&gt;</pre><p>
+        By adding the bean definition file as resource into <code class="literal">META-INF/cocoon/spring</code> the 
+        Wicket web application bean will be loaded automatically.
+      </p><p>
+        Then the Wicket reader has be to used in the sitemap:
+      </p><div class="programlistingco"><pre class="programlisting">&lt;<span class="hl-tag">map:sitemap</span>&gt;
+  &lt;<span class="hl-tag">map:pipelines</span>&gt;    
+    &lt;<span class="hl-tag">map:pipeline</span> <span class="hl-attribute">type</span>=<span class="hl-value">"noncaching"</span>&gt;
+      &lt;<span class="hl-tag">map:match</span> <span class="hl-attribute">wildcard</span>=<span class="hl-value">"my-wicket-app/**"</span>&gt;
+        &lt;<span class="hl-tag">map:read</span> <span class="hl-attribute">type</span>=<span class="hl-value">"wicket"</span> <span class="hl-attribute">base-path</span>=<span class="hl-value">"/my-wicket-app"</span> /&gt;                            <span class="co"><img src="images/callouts/1.png" alt="(1)"></span>
+      &lt;<span class="hl-tag">/map:match</span>&gt;                                                                       <span class="co"><img src="images/callouts/2.png" alt="(2)"></span>
+    &lt;<span class="hl-tag">/map:pipeline</span>&gt;
+  &lt;<span class="hl-tag">/map:pipelines</span>&gt;
+&lt;<span class="hl-tag">/map:sitemap</span>&gt;</pre><div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left"><img src="images/callouts/1.png" alt="1" border="0"></td><td valign="top" align="left"><p>
+             Use a <code class="literal">**</code> wildcard to match all requests that start with
+             <code class="literal">my-wicket-app</code>.           
+           </p></td></tr><tr><td width="5%" valign="top" align="left"><img src="images/callouts/2.png" alt="2" border="0"></td><td valign="top" align="left"><p>
+             The name of the reader is <code class="literal">wicket</code>. It's also required
+             to define the base path so that Wicket can calclulate realtive URLs correctly.
+           </p></td></tr></table></div></div></div></div></div><div xmlns:fo="http://www.w3.org/1999/XSL/Format" class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="webapps.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right">&nbsp;</td></tr><tr><td width="40%" align="left" valign="top">Chapter&nbsp;4.&nbsp;Web applications&nbsp;</td><td width="20%" align="center"><span style="color:white;font-size:85%;"><a href="http://cocoon.apache.org/3.0/" title="The Apache Cocoon community">The Apache Cocoon community</a></span></td><td width="40%" align="right" valign="top">&nbsp;</td></tr></table></div></body></html>
\ No newline at end of file

Propchange: cocoon/site/site/3.0/reference/html-single/wicket-integration.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/site/site/3.0/reference/html-single/wicket-integration.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: cocoon/site/site/3.0/reference/html-single/wicket-integration.html
------------------------------------------------------------------------------
    svn:mime-type = text/html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.