Modified: cocoon/site/site/2.1/developing/httprequest.html URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/developing/httprequest.html?view=diff&r1=159368&r2=159369 ============================================================================== --- cocoon/site/site/2.1/developing/httprequest.html (original) +++ cocoon/site/site/2.1/developing/httprequest.html Tue Mar 29 05:47:29 2005 @@ -2,14 +2,18 @@ <html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="forrest-site"> <title>Request Processing</title> <link type="text/css" href="../skin/page.css" rel="stylesheet"> +<link rel="shortcut icon" href="../"> </head> <body text="#000000" bgcolor="#FFFFFF"> <!--================= start Navigation Path ==================--> <table summary="navigation path" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> -<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td> +<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><a href="http://www.apache.org/">apache</a> > <a href="http://cocoon.apache.org/">cocoon</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td> </tr> <tr> <td bgcolor="#4C6C8F" height="2"><img height="2" width="2" alt="" src="../skin/images/spacer.gif" class="spacer"></td> @@ -20,9 +24,9 @@ <table summary="header with logos" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <!--================= start Group Logo ==================--> -<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../images/cocoon-project-logo.png"></a></td> +<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../images/cocoon-project-logo.png"></a></td> <!--================= end Group Logo ==================--> -<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../images/project-logo.gif"></a></td> +<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../images/project-logo.gif" title="Apache Cocoon"></a></td> <!--================= end Project Logo ==================--> <!--================= start Search ==================--><td valign="top" rowspan="2" bgcolor="#294563"> <form target="_blank" action="http://www.google.com/search" method="get"> @@ -31,13 +35,13 @@ <td colspan="3"><img height="10" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> -<td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="sitesearch" type="hidden"><input size="15" name="q" id="query" type="text"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit"> +<td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="as_sitesearch" type="hidden"><input size="15" name="as_q" id="query" type="text"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit"> <br> <font face="Arial, Helvetica, Sans-serif" size="2" color="white"> - the Apache Cocoon site - - - </font></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td> + the Apache Cocoon site + + + </font></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> <td><img alt="" border="0" height="10" width="9" src="../skin/images/search-left.gif"></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td><img alt="" border="0" height="10" width="9" src="../skin/images/search-right.gif"></td> @@ -45,7 +49,7 @@ </table> </form> </td> -<!--================= start Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td> +<!--================= end Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> <td valign="bottom" bgcolor="#294563" colspan="2"> @@ -64,10 +68,10 @@ </table> </div> <!--================= end Tabs ==================--> -</td><td bgcolor="#294563"><img alt="" width="1" height="1" src="../skin/images/spacer.gif" class="spacer"></td> +</td><td bgcolor="#294563"></td> </tr> <tr> -<td bgcolor="#4C6C8F" colspan="4"><img width="1" height="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td> +<td height="10" bgcolor="#4C6C8F" colspan="4"></td> </tr> </table> <!--================= end Banner ==================--> @@ -98,73 +102,93 @@ <li> <font color="#CFDCED">Navigation</font> <ul> + <li> <a href="../index.html">Main</a> </li> + </ul> </li> <li> <font color="#CFDCED">Concepts</font> <ul> + <li> <span class="sel"><font color="#ffcc00">Internals</font></span> </li> + <li> <a href="extending.html">Extending</a> </li> + <li> <a href="avalon.html">Avalon</a> </li> + <li> <a href="source.html">Source Handling</a> </li> + <li> <a href="stores.html">Stores</a> </li> + <li> <a href="datasources.html">Using Databases</a> </li> + <li> <a href="parent-component-manager.html">Parent CM</a> </li> + <li> <a href="deliquick.html">DELI Quick Start</a> </li> + <li> <a href="deli.html">DELI</a> </li> + </ul> </li> <li> <font color="#CFDCED">Webapps</font> <ul> + <li> <a href="webapps/index.html">Developing Webapps</a> </li> + </ul> </li> <li> <font color="#CFDCED">Portal</font> <ul> + <li> <a href="portal/index.html">Building a portal</a> </li> + </ul> </li> <li> <font color="#CFDCED">Blocks</font> <ul> + <li> <a href="web3.html">Connect to SAP R/3</a> </li> + </ul> </li> <li> <font color="#CFDCED">Java</font> <ul> + <li> <a target="_blank" href="../apidocs/index.html">API (Javadoc)</a> </li> + </ul> </li> </ul> @@ -206,28 +230,8 @@ <tr> <td valign="middle"> <h1>Request Processing</h1> -</td><script language="Javascript" type="text/javascript"> -function printit() { -if (window.print) { - window.print() ; -} else { - var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>'; -document.body.insertAdjacentHTML('beforeEnd', WebBrowser); - WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box WebBrowser1.outerHTML = ""; -} -} -</script><script language="Javascript" type="text/javascript"> -var NS = (navigator.appName == "Netscape"); -var VERSION = parseInt(navigator.appVersion); -if (VERSION > 3) { - document.write('<td nowrap="nowrap" width="40" align="center">'); - document.write(' <a class="dida" href="javascript:printit()">'); - document.write(' <img alt="Print this Page" src="../skin/images/printer.gif" class="skin"><br>'); - document.write(' print</a>'); - document.write('</td>'); -} -</script><td nowrap="nowrap" width="40" align="center"><a class="dida" href="httprequest.pdf"><img alt="PDF" src="../skin/images/pdfdoc.gif" class="skin"><br> - PDF</a></td> +</td><td nowrap="nowrap" width="40" align="center"><a class="dida" href="httprequest.pdf"><img alt="PDF" src="../skin/images/pdfdoc.gif" class="skin"><br> + PDF</a></td> </tr> </table> <p class="type">Type: Technical Document</p> @@ -261,12 +265,36 @@ <ul class="minitoc"> <li> <a href="#Role+of+Tomcat">Role of Tomcat</a> +<ul class="minitoc"> +<li> +<a href="#Initialize+CocoonServlet">Initialize CocoonServlet</a> +</li> +<li> +<a href="#Pass+HttpRequest">Pass HttpRequest</a> +</li> +</ul> </li> <li> <a href="#Initialization">Initialization</a> +<ul class="minitoc"> +<li> +<a href="#Overview">Overview</a> +</li> +<li> +<a href="#UML+sequence+diagram">UML sequence diagram</a> +</li> +</ul> </li> <li> <a href="#HttpRequest+handling">HttpRequest handling</a> +<ul class="minitoc"> +<li> +<a href="#Overview-N1011A">Overview</a> +</li> +<li> +<a href="#UML+sequence+diagram-N101CB">UML sequence diagram</a> +</li> +</ul> </li> </ul> </li> @@ -410,7 +438,7 @@ </map:sitemap> </pre> </div> -<a name="N10062"></a><a name="cocoon.xconf"></a> +<a name="N10061"></a><a name="cocoon.xconf"></a> <h4>cocoon.xconf</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -503,22 +531,22 @@ </div> </div> -<a name="N10083"></a><a name="The+sequence+of+things"></a> +<a name="N10081"></a><a name="The+sequence+of+things"></a> <h3>The sequence of things</h3> <div style="margin-left: 0 ; border: 2px"> -<a name="N10088"></a><a name="Role+of+Tomcat"></a> +<a name="N10086"></a><a name="Role+of+Tomcat"></a> <h4>Role of Tomcat</h4> <div style="margin-left: 0 ; border: 2px"> <p>The role of Tomcat is to initialize the CocoonServlet, and to receive the HttpRequest and pass it on to the CocoonServlet.</p> -<a name="N10090"></a><a name="Initialize+CocoonServlet"></a> +<a name="N1008E"></a><a name="Initialize+CocoonServlet"></a> <h5>Initialize CocoonServlet</h5> <div style="margin-left: 0 ; border: 2px"> <p>This is done by calling <span class="codefrag">CocoonServlet.init(ServletConfig)</span>. This is the standard servlet way to initialize a servlet.</p> </div> -<a name="N1009C"></a><a name="Pass+HttpRequest"></a> +<a name="N1009A"></a><a name="Pass+HttpRequest"></a> <h5>Pass HttpRequest</h5> <div style="margin-left: 0 ; border: 2px"> <p>On reception of a HttpRequest, Tomcat calls @@ -526,20 +554,20 @@ standard.</p> </div> </div> -<a name="N100A9"></a><a name="Initialization"></a> +<a name="N100A7"></a><a name="Initialization"></a> <h4>Initialization</h4> <div style="margin-left: 0 ; border: 2px"> -<a name="N100AE"></a><a name="Overview"></a> +<a name="N100AC"></a><a name="Overview"></a> <h5>Overview</h5> <div style="margin-left: 0 ; border: 2px"> <p>The steps that happen on initialization, are:</p> -<a name="N100B6"></a><a name="Find+the+classpath"></a> +<a name="N100B4"></a><a name="Find+the+classpath"></a> <h6>Find the classpath</h6> <div style="margin-left: 0 ; border: 2px"> <p>Cocoon needs to know the classpath for compilation of the files it generates itself. This is where the classpath is stored.</p> </div> -<a name="N100BF"></a><a name="Find+the+init+file"></a> +<a name="N100BD"></a><a name="Find+the+init+file"></a> <h6>Find the init file</h6> <div style="margin-left: 0 ; border: 2px"> <p>The init file (normally <span class="codefrag">cocoon.xconf</span>, as defined in @@ -551,7 +579,7 @@ normally be hard coded, but the use of this file increases potential reusability.</p> </div> -<a name="N100D5"></a><a name="Read+the+init+file"></a> +<a name="N100D3"></a><a name="Read+the+init+file"></a> <h6>Read the init file</h6> <div style="margin-left: 0 ; border: 2px"> <p>The init file is an xml file (normally @@ -582,16 +610,16 @@ </ol> </div> </div> -<a name="N10109"></a><a name="UML+sequence+diagram"></a> +<a name="N10107"></a><a name="UML+sequence+diagram"></a> <h5>UML sequence diagram</h5> <div style="margin-left: 0 ; border: 2px"> <p>You can find it <a href="images/initialize_Cocoon.png">here</a>.</p> </div> </div> -<a name="N10117"></a><a name="HttpRequest+handling"></a> +<a name="N10115"></a><a name="HttpRequest+handling"></a> <h4>HttpRequest handling</h4> <div style="margin-left: 0 ; border: 2px"> -<a name="N1011C"></a><a name="Overview-N1011A"></a> +<a name="N1011A"></a><a name="Overview-N1011A"></a> <h5>Overview</h5> <div style="margin-left: 0 ; border: 2px"> <p>When the <span class="codefrag">CocoonServlet</span> gets a HttpRequest from the @@ -652,7 +680,7 @@ </ol> </div> -<a name="N101CD"></a><a name="UML+sequence+diagram-N101CB"></a> +<a name="N101CB"></a><a name="UML+sequence+diagram-N101CB"></a> <h5>UML sequence diagram</h5> <div style="margin-left: 0 ; border: 2px"> <p>You can find it <a href="images/get_hello_html.png">here</a>.</p> @@ -660,10 +688,10 @@ </div> </div> -<a name="N101DC"></a><a name="Description+of+classes"></a> +<a name="N101DA"></a><a name="Description+of+classes"></a> <h3>Description of classes</h3> <div style="margin-left: 0 ; border: 2px"> -<a name="N101E1"></a><a name="CocoonServlet"></a> +<a name="N101DF"></a><a name="CocoonServlet"></a> <h4>CocoonServlet</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -672,7 +700,7 @@ <p>This is the contact point for the servlet engine. It sets up the environment and passes all the work to a Cocoon object.</p> </div> -<a name="N101EE"></a><a name="Cocoon"></a> +<a name="N101EC"></a><a name="Cocoon"></a> <h4>Cocoon</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -682,7 +710,7 @@ application, it is not. It is merely a Composable, meaning that it does some administrative work and gets other classes to work.</p> </div> -<a name="N101FB"></a><a name="ConfigurationBuilder"></a> +<a name="N101F9"></a><a name="ConfigurationBuilder"></a> <h4>ConfigurationBuilder</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -690,7 +718,7 @@ </p> <p>This one generates a Configuration out of a xml file.</p> </div> -<a name="N10208"></a><a name="Parser"></a> +<a name="N10206"></a><a name="Parser"></a> <h4>Parser</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -699,7 +727,7 @@ <p>An interface that takes an xml file and throws SAX events to the outside.</p> </div> -<a name="N10215"></a><a name="Configuration"></a> +<a name="N10213"></a><a name="Configuration"></a> <h4>Configuration</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -709,7 +737,7 @@ assigns classes to roles. If an object needs a class for a specific role, it can ask a Configuration which class it has to use.</p> </div> -<a name="N10226"></a><a name="DefaultComponentManager"></a> +<a name="N10224"></a><a name="DefaultComponentManager"></a> <h4>DefaultComponentManager</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -718,7 +746,7 @@ <p>Something that manages <a href="avalon.html">Avalon</a> Components.</p> </div> -<a name="N10237"></a><a name="Manager"></a> +<a name="N10235"></a><a name="Manager"></a> <h4>Manager</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -727,7 +755,7 @@ <p>This one manages the sitemap: it finds out if there exists a Handler for a sitemap, and if not, makes sure that one gets created.</p> </div> -<a name="N10244"></a><a name="Handler"></a> +<a name="N10242"></a><a name="Handler"></a> <h4>Handler</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -737,7 +765,7 @@ sourcefile of the sitemap, and the compiled code for it. It checks whether the sitemap class that it contains is still valid, and if not, regenerates it.</p> </div> -<a name="N10251"></a><a name="ProgramGenerator"></a> +<a name="N1024F"></a><a name="ProgramGenerator"></a> <h4>ProgramGenerator</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -745,7 +773,7 @@ </p> <p>Generates programs.</p> </div> -<a name="N1025E"></a><a name="SitemapMarkupLanguage"></a> +<a name="N1025C"></a><a name="SitemapMarkupLanguage"></a> <h4>SitemapMarkupLanguage</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -754,7 +782,7 @@ <p>This one knows the markup of the sitemap, and helps writing the source file of the sitemap class.</p> </div> -<a name="N1026B"></a><a name="JavaLanguage"></a> +<a name="N10269"></a><a name="JavaLanguage"></a> <h4>JavaLanguage</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -763,7 +791,7 @@ <p>This takes care for outputing Java code as source of the sitemap class.</p> </div> -<a name="N10278"></a><a name="ResourcePipeline"></a> +<a name="N10276"></a><a name="ResourcePipeline"></a> <h4>ResourcePipeline</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -788,11 +816,14 @@ <!--================= start Footer ==================--> <table summary="footer" cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> -<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"><a href="../skin/images/label.gif"></a><a href="../skin/images/page.gif"></a><a href="../skin/images/chapter.gif"></a><a href="../skin/images/chapter_open.gif"></a><a href="../skin/images/current.gif"></a><a href="/favicon.ico"></a></td> +<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"><a href="../skin/images/label.gif"></a><a href="../skin/images/page.gif"></a><a href="../skin/images/chapter.gif"></a><a href="../skin/images/chapter_open.gif"></a><a href="../skin/images/current.gif"></a></td> </tr> <tr> -<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif">Copyright © - 1999-2004 The Apache Software Foundation. All rights reserved.<script type="text/javascript" language="JavaScript"><!-- +<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif"><a href="http://www.apache.org/licenses/"> + Copyright © 1999-2005 + The Apache Software Foundation.</a> + All rights reserved. + <script type="text/javascript" language="JavaScript"><!-- document.write(" - "+"Last Published: " + document.lastModified); // --></script></font></td> </tr>
Modified: cocoon/site/site/2.1/developing/httprequest.pdf URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/developing/httprequest.pdf?view=diff&r1=159368&r2=159369 ============================================================================== Binary files - no diff available. Modified: cocoon/site/site/2.1/developing/index.html URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/developing/index.html?view=diff&r1=159368&r2=159369 ============================================================================== --- cocoon/site/site/2.1/developing/index.html (original) +++ cocoon/site/site/2.1/developing/index.html Tue Mar 29 05:47:29 2005 @@ -2,14 +2,18 @@ <html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="forrest-site"> <title>Developer Documentation</title> <link type="text/css" href="../skin/page.css" rel="stylesheet"> +<link rel="shortcut icon" href="../"> </head> <body text="#000000" bgcolor="#FFFFFF"> <!--================= start Navigation Path ==================--> <table summary="navigation path" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> -<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td> +<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><a href="http://www.apache.org/">apache</a> > <a href="http://cocoon.apache.org/">cocoon</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td> </tr> <tr> <td bgcolor="#4C6C8F" height="2"><img height="2" width="2" alt="" src="../skin/images/spacer.gif" class="spacer"></td> @@ -20,9 +24,9 @@ <table summary="header with logos" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <!--================= start Group Logo ==================--> -<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../images/cocoon-project-logo.png"></a></td> +<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../images/cocoon-project-logo.png"></a></td> <!--================= end Group Logo ==================--> -<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../images/project-logo.gif"></a></td> +<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../images/project-logo.gif" title="Apache Cocoon"></a></td> <!--================= end Project Logo ==================--> <!--================= start Search ==================--><td valign="top" rowspan="2" bgcolor="#294563"> <form target="_blank" action="http://www.google.com/search" method="get"> @@ -31,13 +35,13 @@ <td colspan="3"><img height="10" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> -<td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="sitesearch" type="hidden"><input size="15" name="q" id="query" type="text"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit"> +<td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="as_sitesearch" type="hidden"><input size="15" name="as_q" id="query" type="text"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit"> <br> <font face="Arial, Helvetica, Sans-serif" size="2" color="white"> - the Apache Cocoon site - - - </font></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td> + the Apache Cocoon site + + + </font></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> <td><img alt="" border="0" height="10" width="9" src="../skin/images/search-left.gif"></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td><img alt="" border="0" height="10" width="9" src="../skin/images/search-right.gif"></td> @@ -45,7 +49,7 @@ </table> </form> </td> -<!--================= start Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td> +<!--================= end Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> <td valign="bottom" bgcolor="#294563" colspan="2"> @@ -64,10 +68,10 @@ </table> </div> <!--================= end Tabs ==================--> -</td><td bgcolor="#294563"><img alt="" width="1" height="1" src="../skin/images/spacer.gif" class="spacer"></td> +</td><td bgcolor="#294563"></td> </tr> <tr> -<td bgcolor="#4C6C8F" colspan="4"><img width="1" height="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td> +<td height="10" bgcolor="#4C6C8F" colspan="4"></td> </tr> </table> <!--================= end Banner ==================--> @@ -98,73 +102,93 @@ <li> <font color="#CFDCED">Navigation</font> <ul> + <li> <a href="../index.html">Main</a> </li> + </ul> </li> <li> <font color="#CFDCED">Concepts</font> <ul> + <li> <a href="httprequest.html">Internals</a> </li> + <li> <a href="extending.html">Extending</a> </li> + <li> <a href="avalon.html">Avalon</a> </li> + <li> <a href="source.html">Source Handling</a> </li> + <li> <a href="stores.html">Stores</a> </li> + <li> <a href="datasources.html">Using Databases</a> </li> + <li> <a href="parent-component-manager.html">Parent CM</a> </li> + <li> <a href="deliquick.html">DELI Quick Start</a> </li> + <li> <a href="deli.html">DELI</a> </li> + </ul> </li> <li> <font color="#CFDCED">Webapps</font> <ul> + <li> <a href="webapps/index.html">Developing Webapps</a> </li> + </ul> </li> <li> <font color="#CFDCED">Portal</font> <ul> + <li> <a href="portal/index.html">Building a portal</a> </li> + </ul> </li> <li> <font color="#CFDCED">Blocks</font> <ul> + <li> <a href="web3.html">Connect to SAP R/3</a> </li> + </ul> </li> <li> <font color="#CFDCED">Java</font> <ul> + <li> <a target="_blank" href="../apidocs/index.html">API (Javadoc)</a> </li> + </ul> </li> </ul> @@ -206,28 +230,8 @@ <tr> <td valign="middle"> <h1>Developer Documentation</h1> -</td><script language="Javascript" type="text/javascript"> -function printit() { -if (window.print) { - window.print() ; -} else { - var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>'; -document.body.insertAdjacentHTML('beforeEnd', WebBrowser); - WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box WebBrowser1.outerHTML = ""; -} -} -</script><script language="Javascript" type="text/javascript"> -var NS = (navigator.appName == "Netscape"); -var VERSION = parseInt(navigator.appVersion); -if (VERSION > 3) { - document.write('<td nowrap="nowrap" width="40" align="center">'); - document.write(' <a class="dida" href="javascript:printit()">'); - document.write(' <img alt="Print this Page" src="../skin/images/printer.gif" class="skin"><br>'); - document.write(' print</a>'); - document.write('</td>'); -} -</script><td nowrap="nowrap" width="40" align="center"><a class="dida" href="index.pdf"><img alt="PDF" src="../skin/images/pdfdoc.gif" class="skin"><br> - PDF</a></td> +</td><td nowrap="nowrap" width="40" align="center"><a class="dida" href="index.pdf"><img alt="PDF" src="../skin/images/pdfdoc.gif" class="skin"><br> + PDF</a></td> </tr> </table> <h3>Overview</h3> @@ -288,18 +292,21 @@ <!--================= start Footer ==================--> <table summary="footer" cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> -<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"><a href="../skin/images/label.gif"></a><a href="../skin/images/page.gif"></a><a href="../skin/images/chapter.gif"></a><a href="../skin/images/chapter_open.gif"></a><a href="../skin/images/current.gif"></a><a href="/favicon.ico"></a></td> +<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"><a href="../skin/images/label.gif"></a><a href="../skin/images/page.gif"></a><a href="../skin/images/chapter.gif"></a><a href="../skin/images/chapter_open.gif"></a><a href="../skin/images/current.gif"></a></td> </tr> <tr> -<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif">Copyright © - 1999-2004 The Apache Software Foundation. All rights reserved.<script type="text/javascript" language="JavaScript"><!-- +<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif"><a href="http://www.apache.org/licenses/"> + Copyright © 1999-2005 + The Apache Software Foundation.</a> + All rights reserved. + <script type="text/javascript" language="JavaScript"><!-- document.write(" - "+"Last Published: " + document.lastModified); // --></script></font></td> </tr> <tr> <td colspan="2" align="left" bgcolor="#CFDCED" class="logos"> <div> -<a href="http://validator.w3.org/check/referer"><img width="88" height="31" alt="Valid HTML 4.01!" src="../skin/images/valid-html401.png" class="logoImage"></a><a href="http://jigsaw.w3.org/css-validator/"><img width="88" height="31" alt="Valid CSS!" src="../skin/images/vcss.png" class="logoImage"></a><img alt="" height="1" width="10" src="../skin/images/spacer.gif"><a href="http://xml.apache.org/forrest/"><img border="0" alt="Built with Apache Forrest logo" src="../images/built-with-forrest-button.png" width="88" height="31"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"></a> +<a href="http://validator.w3.org/check/referer"><img border="0" width="88" height="31" title="Valid HTML 4.01!" alt="Valid HTML 4.01!" src="../skin/images/valid-html401.png" class="logoImage"></a><a href="http://jigsaw.w3.org/css-validator/"><img border="0" width="88" height="31" title="Valid CSS!" alt="Valid CSS!" src="../skin/images/vcss.png" class="logoImage"></a><img alt="" height="1" width="10" src="../skin/images/spacer.gif"><a href="http://forrest.apache.org/"><img border="0" alt="Built with Apache Forrest logo" src="../images/built-with-forrest-button.png" width="88" height="31"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"></a> </div> </td> </tr> Modified: cocoon/site/site/2.1/developing/index.pdf URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/developing/index.pdf?view=diff&r1=159368&r2=159369 ============================================================================== Binary files - no diff available. Modified: cocoon/site/site/2.1/developing/parent-component-manager.html URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/developing/parent-component-manager.html?view=diff&r1=159368&r2=159369 ============================================================================== --- cocoon/site/site/2.1/developing/parent-component-manager.html (original) +++ cocoon/site/site/2.1/developing/parent-component-manager.html Tue Mar 29 05:47:29 2005 @@ -2,14 +2,18 @@ <html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="forrest-site"> <title>Parent Component Manager</title> <link type="text/css" href="../skin/page.css" rel="stylesheet"> +<link rel="shortcut icon" href="../"> </head> <body text="#000000" bgcolor="#FFFFFF"> <!--================= start Navigation Path ==================--> <table summary="navigation path" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> -<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td> +<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><a href="http://www.apache.org/">apache</a> > <a href="http://cocoon.apache.org/">cocoon</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td> </tr> <tr> <td bgcolor="#4C6C8F" height="2"><img height="2" width="2" alt="" src="../skin/images/spacer.gif" class="spacer"></td> @@ -20,9 +24,9 @@ <table summary="header with logos" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <!--================= start Group Logo ==================--> -<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../images/cocoon-project-logo.png"></a></td> +<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../images/cocoon-project-logo.png"></a></td> <!--================= end Group Logo ==================--> -<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../images/project-logo.gif"></a></td> +<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../images/project-logo.gif" title="Apache Cocoon"></a></td> <!--================= end Project Logo ==================--> <!--================= start Search ==================--><td valign="top" rowspan="2" bgcolor="#294563"> <form target="_blank" action="http://www.google.com/search" method="get"> @@ -31,13 +35,13 @@ <td colspan="3"><img height="10" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> -<td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="sitesearch" type="hidden"><input size="15" name="q" id="query" type="text"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit"> +<td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="as_sitesearch" type="hidden"><input size="15" name="as_q" id="query" type="text"><img height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit"> <br> <font face="Arial, Helvetica, Sans-serif" size="2" color="white"> - the Apache Cocoon site - - - </font></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td> + the Apache Cocoon site + + + </font></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> <td><img alt="" border="0" height="10" width="9" src="../skin/images/search-left.gif"></td><td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td><td><img alt="" border="0" height="10" width="9" src="../skin/images/search-right.gif"></td> @@ -45,7 +49,7 @@ </table> </form> </td> -<!--================= start Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td> +<!--================= end Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> <td valign="bottom" bgcolor="#294563" colspan="2"> @@ -64,10 +68,10 @@ </table> </div> <!--================= end Tabs ==================--> -</td><td bgcolor="#294563"><img alt="" width="1" height="1" src="../skin/images/spacer.gif" class="spacer"></td> +</td><td bgcolor="#294563"></td> </tr> <tr> -<td bgcolor="#4C6C8F" colspan="4"><img width="1" height="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td> +<td height="10" bgcolor="#4C6C8F" colspan="4"></td> </tr> </table> <!--================= end Banner ==================--> @@ -226,28 +230,8 @@ <tr> <td valign="middle"> <h1>Parent Component Manager</h1> -</td><script language="Javascript" type="text/javascript"> -function printit() { -if (window.print) { - window.print() ; -} else { - var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>'; -document.body.insertAdjacentHTML('beforeEnd', WebBrowser); - WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box WebBrowser1.outerHTML = ""; -} -} -</script><script language="Javascript" type="text/javascript"> -var NS = (navigator.appName == "Netscape"); -var VERSION = parseInt(navigator.appVersion); -if (VERSION > 3) { - document.write('<td nowrap="nowrap" width="40" align="center">'); - document.write(' <a class="dida" href="javascript:printit()">'); - document.write(' <img alt="Print this Page" src="../skin/images/printer.gif" class="skin"><br>'); - document.write(' print</a>'); - document.write('</td>'); -} -</script><td nowrap="nowrap" width="40" align="center"><a class="dida" href="parent-component-manager.pdf"><img alt="PDF" src="../skin/images/pdfdoc.gif" class="skin"><br> - PDF</a></td> +</td><td nowrap="nowrap" width="40" align="center"><a class="dida" href="parent-component-manager.pdf"><img alt="PDF" src="../skin/images/pdfdoc.gif" class="skin"><br> + PDF</a></td> </tr> </table> <p class="type">Type: Technical document</p> @@ -366,14 +350,14 @@ </param-value> </init-param></pre> </div> -<a name="N1006E"></a><a name="Step+2%3A+Write+the+component+manager"></a> +<a name="N1006C"></a><a name="Step+2%3A+Write+the+component+manager"></a> <h4>Step 2: Write the component manager</h4> <div style="margin-left: 0 ; border: 2px"> <p>Now that the configuration object is sitting there waiting for us, let's craft the component manager. Please see the file org/apache/cocoon/samples/parentcm/ParentComponentManager.java for an example. It is too much to paste in here.</p> </div> -<a name="N10077"></a><a name="Step+3%3A+Tell+Cocoon+to+use+the+component+manager"></a> +<a name="N10075"></a><a name="Step+3%3A+Tell+Cocoon+to+use+the+component+manager"></a> <h4>Step 3: Tell Cocoon to use the component manager</h4> <div style="margin-left: 0 ; border: 2px"> <p>Change the web.xml file to:</p> @@ -404,7 +388,7 @@ ((Initializable) cm).initialize();</pre> <p>Finally, the instance is used as parent component manager of Cocoon's own component manager.</p> </div> -<a name="N100AD"></a><a name="Step+4%3A+Use+the+component"></a> +<a name="N100A8"></a><a name="Step+4%3A+Use+the+component"></a> <h4>Step 4: Use the component</h4> <div style="margin-left: 0 ; border: 2px"> <p>Cocoon components can now use the ComponentManager given to them by Cocoon to look up the @@ -443,11 +427,14 @@ <!--================= start Footer ==================--> <table summary="footer" cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> -<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"><a href="../skin/images/label.gif"></a><a href="../skin/images/page.gif"></a><a href="../skin/images/chapter.gif"></a><a href="../skin/images/chapter_open.gif"></a><a href="../skin/images/current.gif"></a><a href="/favicon.ico"></a></td> +<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../skin/images/spacer.gif" class="spacer"><a href="../skin/images/label.gif"></a><a href="../skin/images/page.gif"></a><a href="../skin/images/chapter.gif"></a><a href="../skin/images/chapter_open.gif"></a><a href="../skin/images/current.gif"></a></td> </tr> <tr> -<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif">Copyright © - 1999-2004 The Apache Software Foundation. All rights reserved.<script type="text/javascript" language="JavaScript"><!-- +<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif"><a href="http://www.apache.org/licenses/"> + Copyright © 1999-2005 + The Apache Software Foundation.</a> + All rights reserved. + <script type="text/javascript" language="JavaScript"><!-- document.write(" - "+"Last Published: " + document.lastModified); // --></script></font></td> </tr> Modified: cocoon/site/site/2.1/developing/parent-component-manager.pdf URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/developing/parent-component-manager.pdf?view=diff&r1=159368&r2=159369 ============================================================================== Binary files - no diff available. Modified: cocoon/site/site/2.1/developing/portal/basket.html URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/developing/portal/basket.html?view=diff&r1=159368&r2=159369 ============================================================================== --- cocoon/site/site/2.1/developing/portal/basket.html (original) +++ cocoon/site/site/2.1/developing/portal/basket.html Tue Mar 29 05:47:29 2005 @@ -2,14 +2,18 @@ <html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="forrest-site"> <title>The Portal Basket</title> <link type="text/css" href="../../skin/page.css" rel="stylesheet"> +<link rel="shortcut icon" href="../../"> </head> <body text="#000000" bgcolor="#FFFFFF"> <!--================= start Navigation Path ==================--> <table summary="navigation path" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> -<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><script src="../../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td> +<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><a href="http://www.apache.org/">apache</a> > <a href="http://cocoon.apache.org/">cocoon</a><script src="../../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td> </tr> <tr> <td bgcolor="#4C6C8F" height="2"><img height="2" width="2" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> @@ -20,9 +24,9 @@ <table summary="header with logos" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <!--================= start Group Logo ==================--> -<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../../images/cocoon-project-logo.png"></a></td> +<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../../images/cocoon-project-logo.png"></a></td> <!--================= end Group Logo ==================--> -<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../../images/project-logo.gif"></a></td> +<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../../images/project-logo.gif" title="Apache Cocoon"></a></td> <!--================= end Project Logo ==================--> <!--================= start Search ==================--><td valign="top" rowspan="2" bgcolor="#294563"> <form target="_blank" action="http://www.google.com/search" method="get"> @@ -31,13 +35,13 @@ <td colspan="3"><img height="10" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> -<td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="sitesearch" type="hidden"><input size="15" name="q" id="query" type="text"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit"> +<td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="as_sitesearch" type="hidden"><input size="15" name="as_q" id="query" type="text"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit"> <br> <font face="Arial, Helvetica, Sans-serif" size="2" color="white"> - the Apache Cocoon site - - - </font></td><td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> + the Apache Cocoon site + + + </font></td><td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> <td><img alt="" border="0" height="10" width="9" src="../../skin/images/search-left.gif"></td><td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td><img alt="" border="0" height="10" width="9" src="../../skin/images/search-right.gif"></td> @@ -45,7 +49,7 @@ </table> </form> </td> -<!--================= start Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +<!--================= end Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> <td valign="bottom" bgcolor="#294563" colspan="2"> @@ -64,10 +68,10 @@ </table> </div> <!--================= end Tabs ==================--> -</td><td bgcolor="#294563"><img alt="" width="1" height="1" src="../../skin/images/spacer.gif" class="spacer"></td> +</td><td bgcolor="#294563"></td> </tr> <tr> -<td bgcolor="#4C6C8F" colspan="4"><img width="1" height="10" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +<td height="10" bgcolor="#4C6C8F" colspan="4"></td> </tr> </table> <!--================= end Banner ==================--> @@ -192,28 +196,8 @@ <tr> <td valign="middle"> <h1>The Portal Basket</h1> -</td><script language="Javascript" type="text/javascript"> -function printit() { -if (window.print) { - window.print() ; -} else { - var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>'; -document.body.insertAdjacentHTML('beforeEnd', WebBrowser); - WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box WebBrowser1.outerHTML = ""; -} -} -</script><script language="Javascript" type="text/javascript"> -var NS = (navigator.appName == "Netscape"); -var VERSION = parseInt(navigator.appVersion); -if (VERSION > 3) { - document.write('<td nowrap="nowrap" width="40" align="center">'); - document.write(' <a class="dida" href="javascript:printit()">'); - document.write(' <img alt="Print this Page" src="../../skin/images/printer.gif" class="skin"><br>'); - document.write(' print</a>'); - document.write('</td>'); -} -</script><td nowrap="nowrap" width="40" align="center"><a class="dida" href="basket.pdf"><img alt="PDF" src="../../skin/images/pdfdoc.gif" class="skin"><br> - PDF</a></td> +</td><td nowrap="nowrap" width="40" align="center"><a class="dida" href="basket.pdf"><img alt="PDF" src="../../skin/images/pdfdoc.gif" class="skin"><br> + PDF</a></td> </tr> </table> <h3>Overview</h3> @@ -293,7 +277,7 @@ </p> </div> -<a name="N1004B"></a><a name="Coplets+as+Basket+Content"></a> +<a name="N10049"></a><a name="Coplets+as+Basket+Content"></a> <h3>Coplets as Basket Content</h3> <div style="margin-left: 0 ; border: 2px"> <p> @@ -317,7 +301,7 @@ </p> </div> -<a name="N1005C"></a><a name="URLs+as+Basket+Content"></a> +<a name="N10059"></a><a name="URLs+as+Basket+Content"></a> <h3>URLs as Basket Content</h3> <div style="margin-left: 0 ; border: 2px"> <p> @@ -337,7 +321,7 @@ </p> </div> -<a name="N1007C"></a><a name="Viewing+the+content+of+the+basket"></a> +<a name="N10078"></a><a name="Viewing+the+content+of+the+basket"></a> <h3>Viewing the content of the basket</h3> <div style="margin-left: 0 ; border: 2px"> <p> @@ -353,7 +337,7 @@ </p> </div> -<a name="N10091"></a><a name="Persistence"></a> +<a name="N1008D"></a><a name="Persistence"></a> <h3>Persistence</h3> <div style="margin-left: 0 ; border: 2px"> <p> @@ -368,7 +352,7 @@ </p> </div> -<a name="N1009D"></a><a name="Viewing+items"></a> +<a name="N10099"></a><a name="Viewing+items"></a> <h3>Viewing items</h3> <div style="margin-left: 0 ; border: 2px"> <p> @@ -400,11 +384,14 @@ <!--================= start Footer ==================--> <table summary="footer" cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> -<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"><a href="../../skin/images/label.gif"></a><a href="../../skin/images/page.gif"></a><a href="../../skin/images/chapter.gif"></a><a href="../../skin/images/chapter_open.gif"></a><a href="../../skin/images/current.gif"></a><a href="/favicon.ico"></a></td> +<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"><a href="../../skin/images/label.gif"></a><a href="../../skin/images/page.gif"></a><a href="../../skin/images/chapter.gif"></a><a href="../../skin/images/chapter_open.gif"></a><a href="../../skin/images/current.gif"></a></td> </tr> <tr> -<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif">Copyright © - 1999-2004 The Apache Software Foundation. All rights reserved.<script type="text/javascript" language="JavaScript"><!-- +<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif"><a href="http://www.apache.org/licenses/"> + Copyright © 1999-2005 + The Apache Software Foundation.</a> + All rights reserved. + <script type="text/javascript" language="JavaScript"><!-- document.write(" - "+"Last Published: " + document.lastModified); // --></script></font></td> </tr> Modified: cocoon/site/site/2.1/developing/portal/basket.pdf URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/developing/portal/basket.pdf?view=diff&r1=159368&r2=159369 ============================================================================== Binary files - no diff available. Modified: cocoon/site/site/2.1/developing/portal/coplets.html URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/developing/portal/coplets.html?view=diff&r1=159368&r2=159369 ============================================================================== --- cocoon/site/site/2.1/developing/portal/coplets.html (original) +++ cocoon/site/site/2.1/developing/portal/coplets.html Tue Mar 29 05:47:29 2005 @@ -2,14 +2,18 @@ <html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="forrest-site"> <title>Configuring Coplets</title> <link type="text/css" href="../../skin/page.css" rel="stylesheet"> +<link rel="shortcut icon" href="../../"> </head> <body text="#000000" bgcolor="#FFFFFF"> <!--================= start Navigation Path ==================--> <table summary="navigation path" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> -<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><script src="../../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td> +<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><a href="http://www.apache.org/">apache</a> > <a href="http://cocoon.apache.org/">cocoon</a><script src="../../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td> </tr> <tr> <td bgcolor="#4C6C8F" height="2"><img height="2" width="2" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> @@ -20,9 +24,9 @@ <table summary="header with logos" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <!--================= start Group Logo ==================--> -<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../../images/cocoon-project-logo.png"></a></td> +<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../../images/cocoon-project-logo.png"></a></td> <!--================= end Group Logo ==================--> -<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../../images/project-logo.gif"></a></td> +<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../../images/project-logo.gif" title="Apache Cocoon"></a></td> <!--================= end Project Logo ==================--> <!--================= start Search ==================--><td valign="top" rowspan="2" bgcolor="#294563"> <form target="_blank" action="http://www.google.com/search" method="get"> @@ -31,13 +35,13 @@ <td colspan="3"><img height="10" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> -<td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="sitesearch" type="hidden"><input size="15" name="q" id="query" type="text"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit"> +<td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="as_sitesearch" type="hidden"><input size="15" name="as_q" id="query" type="text"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit"> <br> <font face="Arial, Helvetica, Sans-serif" size="2" color="white"> - the Apache Cocoon site - - - </font></td><td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> + the Apache Cocoon site + + + </font></td><td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> <td><img alt="" border="0" height="10" width="9" src="../../skin/images/search-left.gif"></td><td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td><img alt="" border="0" height="10" width="9" src="../../skin/images/search-right.gif"></td> @@ -45,7 +49,7 @@ </table> </form> </td> -<!--================= start Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +<!--================= end Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> <td valign="bottom" bgcolor="#294563" colspan="2"> @@ -64,10 +68,10 @@ </table> </div> <!--================= end Tabs ==================--> -</td><td bgcolor="#294563"><img alt="" width="1" height="1" src="../../skin/images/spacer.gif" class="spacer"></td> +</td><td bgcolor="#294563"></td> </tr> <tr> -<td bgcolor="#4C6C8F" colspan="4"><img width="1" height="10" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +<td height="10" bgcolor="#4C6C8F" colspan="4"></td> </tr> </table> <!--================= end Banner ==================--> @@ -98,46 +102,59 @@ <li> <font color="#CFDCED">Navigation</font> <ul> + <li> <a href="../../index.html">Main</a> </li> + <li> <a href="../index.html">Dev Guide</a> </li> + </ul> </li> <li> <font color="#CFDCED">Portal</font> <ul> + <li> <a href="index.html">Introduction</a> </li> + <li> <a href="portal-block.html">Portal Engine</a> </li> + <li> <span class="sel"><font color="#ffcc00">Coplets</font></span> </li> + <li> <a href="events.html">Event Handling</a> </li> + <li> <a href="profiles.html">Profiles</a> </li> + <li> <a href="../webapps/authentication.html">Authentication</a> </li> + </ul> </li> <li> <font color="#CFDCED">Samples</font> <ul> + <li> <a href="forms.html">Form handling</a> </li> + <li> <a href="basket.html">A Basket</a> </li> + </ul> </li> </ul> @@ -179,28 +196,8 @@ <tr> <td valign="middle"> <h1>Configuring Coplets</h1> -</td><script language="Javascript" type="text/javascript"> -function printit() { -if (window.print) { - window.print() ; -} else { - var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>'; -document.body.insertAdjacentHTML('beforeEnd', WebBrowser); - WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box WebBrowser1.outerHTML = ""; -} -} -</script><script language="Javascript" type="text/javascript"> -var NS = (navigator.appName == "Netscape"); -var VERSION = parseInt(navigator.appVersion); -if (VERSION > 3) { - document.write('<td nowrap="nowrap" width="40" align="center">'); - document.write(' <a class="dida" href="javascript:printit()">'); - document.write(' <img alt="Print this Page" src="../../skin/images/printer.gif" class="skin"><br>'); - document.write(' print</a>'); - document.write('</td>'); -} -</script><td nowrap="nowrap" width="40" align="center"><a class="dida" href="coplets.pdf"><img alt="PDF" src="../../skin/images/pdfdoc.gif" class="skin"><br> - PDF</a></td> +</td><td nowrap="nowrap" width="40" align="center"><a class="dida" href="coplets.pdf"><img alt="PDF" src="../../skin/images/pdfdoc.gif" class="skin"><br> + PDF</a></td> </tr> </table> <h3>Overview</h3> @@ -327,7 +324,7 @@ but rarely have to touch this file as most is preconfigured already. </p> </div> -<a name="N1004B"></a><a name="Available+Coplets"></a> +<a name="N1004A"></a><a name="Available+Coplets"></a> <h4>Available Coplets</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -377,7 +374,7 @@ the user can choose the same coplet with different configurations. </p> </div> -<a name="N10065"></a><a name="Selected+Coplets"></a> +<a name="N10063"></a><a name="Selected+Coplets"></a> <h4>Selected Coplets</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -408,7 +405,7 @@ </div> </div> -<a name="N1007A"></a><a name="Common+Coplet+Configuration"></a> +<a name="N10077"></a><a name="Common+Coplet+Configuration"></a> <h3>Common Coplet Configuration</h3> <div style="margin-left: 0 ; border: 2px"> <p> @@ -447,7 +444,7 @@ one uses the element name <em>configuration</em> and the last one uses <em>attribute</em>. </p> -<a name="N10093"></a><a name="Output+Buffering"></a> +<a name="N1008F"></a><a name="Output+Buffering"></a> <h4>Output Buffering</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -462,7 +459,7 @@ that the output of a coplet is always valid XML. </p> </div> -<a name="N100A2"></a><a name="Delivery+Timeout"></a> +<a name="N1009E"></a><a name="Delivery+Timeout"></a> <h4>Delivery Timeout</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -479,14 +476,14 @@ </div> </div> -<a name="N100B5"></a><a name="The+URICoplet"></a> +<a name="N100B1"></a><a name="The+URICoplet"></a> <h3>The URICoplet</h3> <div style="margin-left: 0 ; border: 2px"> <p> This section describes the URICoplet and the different possibilities to configure it. For general configuration see the previous chapter. </p> -<a name="N100BD"></a><a name="The+Content+Location+and+Parameter+Handling"></a> +<a name="N100B9"></a><a name="The+Content+Location+and+Parameter+Handling"></a> <h4>The Content Location and Parameter Handling</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -522,7 +519,7 @@ request parameters don't get them in this request-response-cycle. </p> </div> -<a name="N100D7"></a><a name="Error+Handling"></a> +<a name="N100D2"></a><a name="Error+Handling"></a> <h4>Error Handling</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -535,7 +532,7 @@ </div> </div> -<a name="N100E4"></a><a name="Coplet+Rendering"></a> +<a name="N100DF"></a><a name="Coplet+Rendering"></a> <h3>Coplet Rendering</h3> <div style="margin-left: 0 ; border: 2px"> <p> @@ -543,7 +540,7 @@ or removing. These are aspect configurations that are configured similar to attributes. </p> -<a name="N100EC"></a><a name="Sizing"></a> +<a name="N100E7"></a><a name="Sizing"></a> <h4>Sizing</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -588,7 +585,7 @@ ... </pre> </div> -<a name="N10111"></a><a name="Mandatory+Coplets"></a> +<a name="N1010A"></a><a name="Mandatory+Coplets"></a> <h4>Mandatory Coplets</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -631,11 +628,14 @@ <!--================= start Footer ==================--> <table summary="footer" cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> -<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"><a href="../../skin/images/label.gif"></a><a href="../../skin/images/page.gif"></a><a href="../../skin/images/chapter.gif"></a><a href="../../skin/images/chapter_open.gif"></a><a href="../../skin/images/current.gif"></a><a href="/favicon.ico"></a></td> +<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"><a href="../../skin/images/label.gif"></a><a href="../../skin/images/page.gif"></a><a href="../../skin/images/chapter.gif"></a><a href="../../skin/images/chapter_open.gif"></a><a href="../../skin/images/current.gif"></a></td> </tr> <tr> -<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif">Copyright © - 1999-2004 The Apache Software Foundation. All rights reserved.<script type="text/javascript" language="JavaScript"><!-- +<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif"><a href="http://www.apache.org/licenses/"> + Copyright © 1999-2005 + The Apache Software Foundation.</a> + All rights reserved. + <script type="text/javascript" language="JavaScript"><!-- document.write(" - "+"Last Published: " + document.lastModified); // --></script></font></td> </tr> Modified: cocoon/site/site/2.1/developing/portal/coplets.pdf URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/developing/portal/coplets.pdf?view=diff&r1=159368&r2=159369 ============================================================================== Binary files - no diff available. Modified: cocoon/site/site/2.1/developing/portal/events.html URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/developing/portal/events.html?view=diff&r1=159368&r2=159369 ============================================================================== --- cocoon/site/site/2.1/developing/portal/events.html (original) +++ cocoon/site/site/2.1/developing/portal/events.html Tue Mar 29 05:47:29 2005 @@ -2,14 +2,18 @@ <html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="forrest-site"> <title>Portal: Event Handling</title> <link type="text/css" href="../../skin/page.css" rel="stylesheet"> +<link rel="shortcut icon" href="../../"> </head> <body text="#000000" bgcolor="#FFFFFF"> <!--================= start Navigation Path ==================--> <table summary="navigation path" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> -<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><script src="../../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td> +<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><a href="http://www.apache.org/">apache</a> > <a href="http://cocoon.apache.org/">cocoon</a><script src="../../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td> </tr> <tr> <td bgcolor="#4C6C8F" height="2"><img height="2" width="2" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> @@ -20,9 +24,9 @@ <table summary="header with logos" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <!--================= start Group Logo ==================--> -<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../../images/cocoon-project-logo.png"></a></td> +<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../../images/cocoon-project-logo.png"></a></td> <!--================= end Group Logo ==================--> -<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../../images/project-logo.gif"></a></td> +<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../../images/project-logo.gif" title="Apache Cocoon"></a></td> <!--================= end Project Logo ==================--> <!--================= start Search ==================--><td valign="top" rowspan="2" bgcolor="#294563"> <form target="_blank" action="http://www.google.com/search" method="get"> @@ -31,13 +35,13 @@ <td colspan="3"><img height="10" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> -<td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="sitesearch" type="hidden"><input size="15" name="q" id="query" type="text"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit"> +<td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="as_sitesearch" type="hidden"><input size="15" name="as_q" id="query" type="text"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit"> <br> <font face="Arial, Helvetica, Sans-serif" size="2" color="white"> - the Apache Cocoon site - - - </font></td><td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> + the Apache Cocoon site + + + </font></td><td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> <td><img alt="" border="0" height="10" width="9" src="../../skin/images/search-left.gif"></td><td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td><img alt="" border="0" height="10" width="9" src="../../skin/images/search-right.gif"></td> @@ -45,7 +49,7 @@ </table> </form> </td> -<!--================= start Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +<!--================= end Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> <td valign="bottom" bgcolor="#294563" colspan="2"> @@ -64,10 +68,10 @@ </table> </div> <!--================= end Tabs ==================--> -</td><td bgcolor="#294563"><img alt="" width="1" height="1" src="../../skin/images/spacer.gif" class="spacer"></td> +</td><td bgcolor="#294563"></td> </tr> <tr> -<td bgcolor="#4C6C8F" colspan="4"><img width="1" height="10" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +<td height="10" bgcolor="#4C6C8F" colspan="4"></td> </tr> </table> <!--================= end Banner ==================--> @@ -98,46 +102,59 @@ <li> <font color="#CFDCED">Navigation</font> <ul> + <li> <a href="../../index.html">Main</a> </li> + <li> <a href="../index.html">Dev Guide</a> </li> + </ul> </li> <li> <font color="#CFDCED">Portal</font> <ul> + <li> <a href="index.html">Introduction</a> </li> + <li> <a href="portal-block.html">Portal Engine</a> </li> + <li> <a href="coplets.html">Coplets</a> </li> + <li> <span class="sel"><font color="#ffcc00">Event Handling</font></span> </li> + <li> <a href="profiles.html">Profiles</a> </li> + <li> <a href="../webapps/authentication.html">Authentication</a> </li> + </ul> </li> <li> <font color="#CFDCED">Samples</font> <ul> + <li> <a href="forms.html">Form handling</a> </li> + <li> <a href="basket.html">A Basket</a> </li> + </ul> </li> </ul> @@ -179,28 +196,8 @@ <tr> <td valign="middle"> <h1>Portal: Event Handling</h1> -</td><script language="Javascript" type="text/javascript"> -function printit() { -if (window.print) { - window.print() ; -} else { - var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>'; -document.body.insertAdjacentHTML('beforeEnd', WebBrowser); - WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box WebBrowser1.outerHTML = ""; -} -} -</script><script language="Javascript" type="text/javascript"> -var NS = (navigator.appName == "Netscape"); -var VERSION = parseInt(navigator.appVersion); -if (VERSION > 3) { - document.write('<td nowrap="nowrap" width="40" align="center">'); - document.write(' <a class="dida" href="javascript:printit()">'); - document.write(' <img alt="Print this Page" src="../../skin/images/printer.gif" class="skin"><br>'); - document.write(' print</a>'); - document.write('</td>'); -} -</script><td nowrap="nowrap" width="40" align="center"><a class="dida" href="events.pdf"><img alt="PDF" src="../../skin/images/pdfdoc.gif" class="skin"><br> - PDF</a></td> +</td><td nowrap="nowrap" width="40" align="center"><a class="dida" href="events.pdf"><img alt="PDF" src="../../skin/images/pdfdoc.gif" class="skin"><br> + PDF</a></td> </tr> </table> <h3>Overview</h3> @@ -396,7 +393,7 @@ </p> </div> -<a name="N10077"></a><a name="Changing+the+State+of+a+Coplet"></a> +<a name="N10074"></a><a name="Changing+the+State+of+a+Coplet"></a> <h3>Changing the State of a Coplet</h3> <div style="margin-left: 0 ; border: 2px"> <p> @@ -433,7 +430,7 @@ </p> </div> -<a name="N100A0"></a><a name="Subscribing+to+Events"></a> +<a name="N1009C"></a><a name="Subscribing+to+Events"></a> <h3>Subscribing to Events</h3> <div style="margin-left: 0 ; border: 2px"> <p> @@ -473,7 +470,7 @@ </p> </div> -<a name="N100BF"></a><a name="Inter+Coplet+Communication"></a> +<a name="N100B9"></a><a name="Inter+Coplet+Communication"></a> <h3>Inter Coplet Communication</h3> <div style="margin-left: 0 ; border: 2px"> <p> @@ -502,7 +499,7 @@ </p> </div> -<a name="N100D1"></a><a name="The+Coplet+Transformer"></a> +<a name="N100CB"></a><a name="The+Coplet+Transformer"></a> <h3>The Coplet Transformer</h3> <div style="margin-left: 0 ; border: 2px"> <p> @@ -511,7 +508,7 @@ for example the coplet transformer. It listens for elements with the namespace "http://apache.org/cocoon/portal/coplet/1.0". </p> -<a name="N100D9"></a><a name="The+coplet+element"></a> +<a name="N100D3"></a><a name="The+coplet+element"></a> <h4>The coplet element</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -530,7 +527,7 @@ in the stream. </p> </div> -<a name="N100EA"></a><a name="The+link+element"></a> +<a name="N100E3"></a><a name="The+link+element"></a> <h4>The link element</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -551,7 +548,7 @@ </div> </div> -<a name="N100FC"></a><a name="Configuring+Subscribers"></a> +<a name="N100F4"></a><a name="Configuring+Subscribers"></a> <h3>Configuring Subscribers</h3> <div style="margin-left: 0 ; border: 2px"> <p> @@ -612,7 +609,7 @@ </p> </div> -<a name="N10122"></a><a name="Further+Information"></a> +<a name="N10119"></a><a name="Further+Information"></a> <h3>Further Information</h3> <div style="margin-left: 0 ; border: 2px"> <p> @@ -643,11 +640,14 @@ <!--================= start Footer ==================--> <table summary="footer" cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> -<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"><a href="../../skin/images/label.gif"></a><a href="../../skin/images/page.gif"></a><a href="../../skin/images/chapter.gif"></a><a href="../../skin/images/chapter_open.gif"></a><a href="../../skin/images/current.gif"></a><a href="/favicon.ico"></a></td> +<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"><a href="../../skin/images/label.gif"></a><a href="../../skin/images/page.gif"></a><a href="../../skin/images/chapter.gif"></a><a href="../../skin/images/chapter_open.gif"></a><a href="../../skin/images/current.gif"></a></td> </tr> <tr> -<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif">Copyright © - 1999-2004 The Apache Software Foundation. All rights reserved.<script type="text/javascript" language="JavaScript"><!-- +<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif"><a href="http://www.apache.org/licenses/"> + Copyright © 1999-2005 + The Apache Software Foundation.</a> + All rights reserved. + <script type="text/javascript" language="JavaScript"><!-- document.write(" - "+"Last Published: " + document.lastModified); // --></script></font></td> </tr> Modified: cocoon/site/site/2.1/developing/portal/events.pdf URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/developing/portal/events.pdf?view=diff&r1=159368&r2=159369 ============================================================================== Binary files - no diff available. Modified: cocoon/site/site/2.1/developing/portal/forms.html URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/developing/portal/forms.html?view=diff&r1=159368&r2=159369 ============================================================================== --- cocoon/site/site/2.1/developing/portal/forms.html (original) +++ cocoon/site/site/2.1/developing/portal/forms.html Tue Mar 29 05:47:29 2005 @@ -2,14 +2,18 @@ <html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="forrest-site"> <title>Portal: Using forms</title> <link type="text/css" href="../../skin/page.css" rel="stylesheet"> +<link rel="shortcut icon" href="../../"> </head> <body text="#000000" bgcolor="#FFFFFF"> <!--================= start Navigation Path ==================--> <table summary="navigation path" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> -<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><script src="../../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td> +<td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, Sans-serif"><a href="http://www.apache.org/">apache</a> > <a href="http://cocoon.apache.org/">cocoon</a><script src="../../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td> </tr> <tr> <td bgcolor="#4C6C8F" height="2"><img height="2" width="2" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> @@ -20,9 +24,9 @@ <table summary="header with logos" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <!--================= start Group Logo ==================--> -<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../../images/cocoon-project-logo.png"></a></td> +<td bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../../images/cocoon-project-logo.png"></a></td> <!--================= end Group Logo ==================--> -<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img border="0" class="logoImage" alt="Apache Cocoon" src="../../images/project-logo.gif"></a></td> +<!--================= start Project Logo ==================--><td width="100%" align="center" bgcolor="#294563"><a href="http://cocoon.apache.org/"><img class="logoImage" alt="Apache Cocoon" src="../../images/project-logo.gif" title="Apache Cocoon"></a></td> <!--================= end Project Logo ==================--> <!--================= start Search ==================--><td valign="top" rowspan="2" bgcolor="#294563"> <form target="_blank" action="http://www.google.com/search" method="get"> @@ -31,13 +35,13 @@ <td colspan="3"><img height="10" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> -<td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="sitesearch" type="hidden"><input size="15" name="q" id="query" type="text"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit"> +<td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="cocoon.apache.org" name="as_sitesearch" type="hidden"><input size="15" name="as_q" id="query" type="text"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><input name="Search" value="Search" type="submit"> <br> <font face="Arial, Helvetica, Sans-serif" size="2" color="white"> - the Apache Cocoon site - - - </font></td><td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> + the Apache Cocoon site + + + </font></td><td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> <td><img alt="" border="0" height="10" width="9" src="../../skin/images/search-left.gif"></td><td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td><img alt="" border="0" height="10" width="9" src="../../skin/images/search-right.gif"></td> @@ -45,7 +49,7 @@ </table> </form> </td> -<!--================= start Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +<!--================= end Search ==================--><td bgcolor="#294563"><img height="10" width="10" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> </tr> <tr> <td valign="bottom" bgcolor="#294563" colspan="2"> @@ -64,10 +68,10 @@ </table> </div> <!--================= end Tabs ==================--> -</td><td bgcolor="#294563"><img alt="" width="1" height="1" src="../../skin/images/spacer.gif" class="spacer"></td> +</td><td bgcolor="#294563"></td> </tr> <tr> -<td bgcolor="#4C6C8F" colspan="4"><img width="1" height="10" alt="" src="../../skin/images/spacer.gif" class="spacer"></td> +<td height="10" bgcolor="#4C6C8F" colspan="4"></td> </tr> </table> <!--================= end Banner ==================--> @@ -192,28 +196,8 @@ <tr> <td valign="middle"> <h1>Portal: Using forms</h1> -</td><script language="Javascript" type="text/javascript"> -function printit() { -if (window.print) { - window.print() ; -} else { - var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>'; -document.body.insertAdjacentHTML('beforeEnd', WebBrowser); - WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box WebBrowser1.outerHTML = ""; -} -} -</script><script language="Javascript" type="text/javascript"> -var NS = (navigator.appName == "Netscape"); -var VERSION = parseInt(navigator.appVersion); -if (VERSION > 3) { - document.write('<td nowrap="nowrap" width="40" align="center">'); - document.write(' <a class="dida" href="javascript:printit()">'); - document.write(' <img alt="Print this Page" src="../../skin/images/printer.gif" class="skin"><br>'); - document.write(' print</a>'); - document.write('</td>'); -} -</script><td nowrap="nowrap" width="40" align="center"><a class="dida" href="forms.pdf"><img alt="PDF" src="../../skin/images/pdfdoc.gif" class="skin"><br> - PDF</a></td> +</td><td nowrap="nowrap" width="40" align="center"><a class="dida" href="forms.pdf"><img alt="PDF" src="../../skin/images/pdfdoc.gif" class="skin"><br> + PDF</a></td> </tr> </table> <h3>Overview</h3> @@ -340,7 +324,7 @@ </p> </div> -<a name="N1005E"></a><a name="Building+forms"></a> +<a name="N1005D"></a><a name="Building+forms"></a> <h3>Building forms</h3> <div style="margin-left: 0 ; border: 2px"> <p> @@ -357,7 +341,7 @@ As outlined in the previous chapter, you can define your form handling application without taking care about the portal, so let's start developing it. </p> -<a name="N10069"></a><a name="A+Sample"></a> +<a name="N10068"></a><a name="A+Sample"></a> <h4>A Sample</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -449,7 +433,7 @@ of the cache until an action for this coplet is triggered. </p> </div> -<a name="N1009F"></a><a name="Several+instances+of+an+application"></a> +<a name="N1009B"></a><a name="Several+instances+of+an+application"></a> <h4>Several instances of an application</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -490,7 +474,7 @@ components and using them. </p> </div> -<a name="N100BE"></a><a name="Extending+the+Sample"></a> +<a name="N100B8"></a><a name="Extending+the+Sample"></a> <h4>Extending the Sample</h4> <div style="margin-left: 0 ; border: 2px"> <p> @@ -526,11 +510,14 @@ <!--================= start Footer ==================--> <table summary="footer" cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> -<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"><a href="../../skin/images/label.gif"></a><a href="../../skin/images/page.gif"></a><a href="../../skin/images/chapter.gif"></a><a href="../../skin/images/chapter_open.gif"></a><a href="../../skin/images/current.gif"></a><a href="/favicon.ico"></a></td> +<td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"><a href="../../skin/images/label.gif"></a><a href="../../skin/images/page.gif"></a><a href="../../skin/images/chapter.gif"></a><a href="../../skin/images/chapter_open.gif"></a><a href="../../skin/images/current.gif"></a></td> </tr> <tr> -<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif">Copyright © - 1999-2004 The Apache Software Foundation. All rights reserved.<script type="text/javascript" language="JavaScript"><!-- +<td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif"><a href="http://www.apache.org/licenses/"> + Copyright © 1999-2005 + The Apache Software Foundation.</a> + All rights reserved. + <script type="text/javascript" language="JavaScript"><!-- document.write(" - "+"Last Published: " + document.lastModified); // --></script></font></td> </tr> Modified: cocoon/site/site/2.1/developing/portal/forms.pdf URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/developing/portal/forms.pdf?view=diff&r1=159368&r2=159369 ============================================================================== Binary files - no diff available.