You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by sy...@apache.org on 2005/03/29 15:48:47 UTC
svn commit: r159369 [17/41] - in cocoon/site/site/2.1: ./ developing/
developing/portal/ developing/webapps/ faq/ howto/ installing/ plan/ skin/
skin/images/ snippet/ tracks/ tutorial/ userdocs/ userdocs/actions/
userdocs/concepts/ userdocs/flow/ userdocs/forms/ userdocs/generators/
userdocs/matchers/ userdocs/offline/ userdocs/readers/ userdocs/selectors/
userdocs/serializers/ userdocs/transformers/ userdocs/xsp/
Modified: cocoon/site/site/2.1/tutorial/tutorial-shots.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/tutorial/tutorial-shots.html?view=diff&r1=159368&r2=159369
==============================================================================
--- cocoon/site/site/2.1/tutorial/tutorial-shots.html (original)
+++ cocoon/site/site/2.1/tutorial/tutorial-shots.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>Tutorial screenshots</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,26 +102,33 @@
<li>
<font color="#CFDCED">Navigation</font>
<ul>
+
<li>
<a href="../index.html">Main</a>
</li>
+
</ul>
</li>
<li>
<font color="#CFDCED">Tutorials</font>
<ul>
+
<li>
<a href="index.html">Index</a>
</li>
+
<li>
<a href="tutorial-develop-webapp.html">WebApp</a>
</li>
+
<li>
<a href="tutorial-generator.html">Custom Generator</a>
</li>
+
<li>
<a href="tutorial-rmi-generator.html">RMIServer</a>
</li>
+
</ul>
</li>
</ul>
@@ -159,28 +170,8 @@
<tr>
<td valign="middle">
<h1>Tutorial screenshots</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="tutorial-shots.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="tutorial-shots.pdf"><img alt="PDF" src="../skin/images/pdfdoc.gif" class="skin"><br>
+ PDF</a></td>
</tr>
</table>
<ul class="minitoc">
@@ -223,11 +214,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/tutorial/tutorial-shots.pdf
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/tutorial/tutorial-shots.pdf?view=diff&r1=159368&r2=159369
==============================================================================
Binary files - no diff available.
Modified: cocoon/site/site/2.1/userdocs/actions/actions.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/actions/actions.html?view=diff&r1=159368&r2=159369
==============================================================================
--- cocoon/site/site/2.1/userdocs/actions/actions.html (original)
+++ cocoon/site/site/2.1/userdocs/actions/actions.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>Actions</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,45 +102,59 @@
<li>
<font color="#CFDCED">Navigation</font>
<ul>
+
<li>
<a href="../../index.html">Main</a>
</li>
+
<li>
<a href="../index.html">User Documentation</a>
</li>
+
</ul>
</li>
<li>
<font color="#CFDCED">Actions</font>
<ul>
+
<li>
<span class="sel"><font color="#ffcc00">Overview</font></span>
</li>
+
<li>
<a href="database-actions.html">Database</a>
</li>
+
</ul>
</li>
<li>
<font color="#CFDCED">Default</font>
-<ul></ul>
+<ul>
+
+</ul>
</li>
<li>
<font color="#CFDCED">Core</font>
-<ul></ul>
+<ul>
+
+</ul>
</li>
<li>
<font color="#CFDCED">Optional</font>
<ul>
+
<li>
<a href="sendmail-action.html">Sendmail Action</a>
</li>
+
<li>
<a href="session-action.html">Session Action</a>
</li>
+
<li>
<a href="script-action.html">Script Action</a>
</li>
+
</ul>
</li>
</ul>
@@ -178,28 +196,8 @@
<tr>
<td valign="middle">
<h1>Actions</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="actions.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="actions.pdf"><img alt="PDF" src="../../skin/images/pdfdoc.gif" class="skin"><br>
+ PDF</a></td>
</tr>
</table>
<h3>in Cocoon</h3>
@@ -267,11 +265,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/userdocs/actions/actions.pdf
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/actions/actions.pdf?view=diff&r1=159368&r2=159369
==============================================================================
Binary files - no diff available.
Modified: cocoon/site/site/2.1/userdocs/actions/database-actions.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/actions/database-actions.html?view=diff&r1=159368&r2=159369
==============================================================================
--- cocoon/site/site/2.1/userdocs/actions/database-actions.html (original)
+++ cocoon/site/site/2.1/userdocs/actions/database-actions.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>Database Actions</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,45 +102,59 @@
<li>
<font color="#CFDCED">Navigation</font>
<ul>
+
<li>
<a href="../../index.html">Main</a>
</li>
+
<li>
<a href="../index.html">User Documentation</a>
</li>
+
</ul>
</li>
<li>
<font color="#CFDCED">Actions</font>
<ul>
+
<li>
<a href="actions.html">Overview</a>
</li>
+
<li>
<span class="sel"><font color="#ffcc00">Database</font></span>
</li>
+
</ul>
</li>
<li>
<font color="#CFDCED">Default</font>
-<ul></ul>
+<ul>
+
+</ul>
</li>
<li>
<font color="#CFDCED">Core</font>
-<ul></ul>
+<ul>
+
+</ul>
</li>
<li>
<font color="#CFDCED">Optional</font>
<ul>
+
<li>
<a href="sendmail-action.html">Sendmail Action</a>
</li>
+
<li>
<a href="session-action.html">Session Action</a>
</li>
+
<li>
<a href="script-action.html">Script Action</a>
</li>
+
</ul>
</li>
</ul>
@@ -178,28 +196,8 @@
<tr>
<td valign="middle">
<h1>Database Actions</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="database-actions.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="database-actions.pdf"><img alt="PDF" src="../../skin/images/pdfdoc.gif" class="skin"><br>
+ PDF</a></td>
</tr>
</table>
<ul class="minitoc">
@@ -211,6 +209,14 @@
<ul class="minitoc">
<li>
<a href="#Describing+the+Structure+of+your+DB+-+descriptor.xml">Describing the Structure of your DB - descriptor.xml</a>
+<ul class="minitoc">
+<li>
+<a href="#Key+Columns">Key Columns</a>
+</li>
+<li>
+<a href="#Other+Columns">Other Columns</a>
+</li>
+</ul>
</li>
</ul>
</li>
@@ -219,31 +225,54 @@
<ul class="minitoc">
<li>
<a href="#Describing+the+Structure+of+your+DB+-+descriptor.xml-N100BA">Describing the Structure of your DB - descriptor.xml</a>
+<ul class="minitoc">
+<li>
+<a href="#Key+Columns-N100E8">Key Columns</a>
+</li>
+<li>
+<a href="#Other+Columns-N1010F">Other Columns</a>
+</li>
+<li>
+<a href="#Operation+Mode+Types">Operation Mode Types</a>
+</li>
+<li>
+<a href="#How+to+obtain+Values">How to obtain Values</a>
+</li>
+<li>
+<a href="#How+to+store+Values+e.g.+in+your+Session">How to store Values e.g. in your Session</a>
+</li>
+<li>
+<a href="#Inserting+Multiple+Rows+-+Sets">Inserting Multiple Rows - Sets</a>
+</li>
+<li>
+<a href="#Select+Your+Tables+-+Table-Sets">Select Your Tables - Table-Sets</a>
</li>
</ul>
</li>
</ul>
-
+</li>
+</ul>
+
<a name="N10014"></a><a name="Introduction"></a>
<h3>Introduction</h3>
<div style="margin-left: 0 ; border: 2px">
<p>
- Two different sets of actions exist, that deal with (object) relational
- database access through JDBC. The original database actions provide a
- relatively simple interface to store, modify, delete and retrieve data.
- They are oriented towards usage of request parameters for input and
- request attributes together with sitemap variables for output and do
- not support auto increment column types. In addition, the description of
- the database structure is split over several files since these actions
- attempt to use all tables in a provided description.
- </p>
-<p>
- The modular database actions provide similar functionality. In contrast
- to the original actions they allow to store the database meta data in a
- single file and to switch input and output flexible through the use of
- modules. Even for auto increment columns specific modules exist that
- cover a wide range of database management systems.
- </p>
+ Two different sets of actions exist, that deal with (object) relational
+ database access through JDBC. The original database actions provide a
+ relatively simple interface to store, modify, delete and retrieve data.
+ They are oriented towards usage of request parameters for input and
+ request attributes together with sitemap variables for output and do
+ not support auto increment column types. In addition, the description of
+ the database structure is split over several files since these actions
+ attempt to use all tables in a provided description.
+ </p>
+<p>
+ The modular database actions provide similar functionality. In contrast
+ to the original actions they allow to store the database meta data in a
+ single file and to switch input and output flexible through the use of
+ modules. Even for auto increment columns specific modules exist that
+ cover a wide range of database management systems.
+ </p>
<p>
For an overview of column types supported by the modular database
actions, see javadocs for JDBCTypeConversions. The types supported by
@@ -251,42 +280,42 @@
</p>
</div>
-
+
<a name="N10023"></a><a name="Original+Database+Actions"></a>
<h3>Original Database Actions</h3>
<div style="margin-left: 0 ; border: 2px">
<p>
- The original database actions have evolved quite a bit and at different
- speeds. The add action is certainly the most complete one, providing
- support for multiple tables and rows. However, the interface has become
- a bit inconsistent.
- </p>
-<p>
- If an error occurs, the original database actions will throw an
- exception.
- </p>
+ The original database actions have evolved quite a bit and at different
+ speeds. The add action is certainly the most complete one, providing
+ support for multiple tables and rows. However, the interface has become
+ a bit inconsistent.
+ </p>
+<p>
+ If an error occurs, the original database actions will throw an
+ exception.
+ </p>
<a name="N1002E"></a><a name="Describing+the+Structure+of+your+DB+-+descriptor.xml"></a>
<h4>Describing the Structure of your DB - descriptor.xml</h4>
<div style="margin-left: 0 ; border: 2px">
<p>
- The key to database actions is a file that describes database meta
- data in XML. The original actions will ignore all but the first table
- and act only on one row. Only the add action will try to access all
- tables that are contained in this description. As a consequence, each
- HTML form needs to have a corresponding descriptor file if different
- tables are affected.
- </p>
-<p>
- The file name has no meaning and does not need to be
- <span class="codefrag">descriptor.xml</span> - it can even be a Cocoon pipeline. The
- name of the root element in a descriptor file is ignored. Only
- <span class="codefrag">table</span> elements nested on first level inside the root
- element are parsed by the actions. All unknown elements or attributes
- are ignored.
- </p>
+ The key to database actions is a file that describes database meta
+ data in XML. The original actions will ignore all but the first table
+ and act only on one row. Only the add action will try to access all
+ tables that are contained in this description. As a consequence, each
+ HTML form needs to have a corresponding descriptor file if different
+ tables are affected.
+ </p>
+<p>
+ The file name has no meaning and does not need to be
+ <span class="codefrag">descriptor.xml</span> - it can even be a Cocoon pipeline. The
+ name of the root element in a descriptor file is ignored. Only
+ <span class="codefrag">table</span> elements nested on first level inside the root
+ element are parsed by the actions. All unknown elements or attributes
+ are ignored.
+ </p>
<p>
- For each table a <span class="codefrag">table</span> element needs to be present.
- </p>
+ For each table a <span class="codefrag">table</span> element needs to be present.
+ </p>
<pre class="code">
<?xml version="1.0"?>
@@ -303,116 +332,116 @@
</values>
</table>
</employee>
-
- </pre>
+
+ </pre>
<p>
- Describes a single table named "employee". In addition a database
- connection is specified. See <a href="../../developing/datasources.html">here</a> for more
- information on database connections.
- </p>
-<a name="N10051"></a><a name="Key+Columns"></a>
+ Describes a single table named "employee". In addition a database
+ connection is specified. See <a href="../../developing/datasources.html">here</a> for more
+ information on database connections.
+ </p>
+<a name="N10050"></a><a name="Key+Columns"></a>
<h5>Key Columns</h5>
<div style="margin-left: 0 ; border: 2px">
<p>
- Tables may or may not have key columns. A key column is a column
- that is part of the primary key. Actually, candidate keys should do
- as well.
- </p>
-<p>
- All key columns are contained in a <span class="codefrag">keys</span> child element
- of the <span class="codefrag">table</span> element. Each column has a
- <span class="codefrag">key</span> element to define its properties. The
- <span class="codefrag">dbcol</span> attribute holds the column name,
- <span class="codefrag">type</span> is the JDBC type name for this column (have a
- look at AbstactDatabaseAction source for valid type names),
- <span class="codefrag">param</span> specifies the name of the request parameter to
- use, and <span class="codefrag">mode</span> sets how the value for this column is
- obtained on adding a row.
- </p>
-<p>
- Through the mode attribute the behaviour of the add action can be
- changed.
- </p>
-<p>
- Default mode is "automatic" and to let the database create the key
- value by setting this value to <span class="codefrag">null</span>. The created value
- can not be read back from the database and will not be available as
- request attribute or sitemap variable.
- </p>
-<p>
- A mode of "manual" will query the database for the maximum current
- value, add 1 to it and use that for a value.
- </p>
-<p>
- A mode of "form" will use the corresponding request parameter.
- </p>
-<p>
- A mode of "request-attribute" will use the corresponding request
- attribute. The name specified in the <span class="codefrag">param</span> attribute
- will be automatically prefixed with the class name.
- </p>
-<p>
- Key values will be propagated to sitemap variables and - prefixed
- with the class name - request attributes.
- </p>
+ Tables may or may not have key columns. A key column is a column
+ that is part of the primary key. Actually, candidate keys should do
+ as well.
+ </p>
+<p>
+ All key columns are contained in a <span class="codefrag">keys</span> child element
+ of the <span class="codefrag">table</span> element. Each column has a
+ <span class="codefrag">key</span> element to define its properties. The
+ <span class="codefrag">dbcol</span> attribute holds the column name,
+ <span class="codefrag">type</span> is the JDBC type name for this column (have a
+ look at AbstactDatabaseAction source for valid type names),
+ <span class="codefrag">param</span> specifies the name of the request parameter to
+ use, and <span class="codefrag">mode</span> sets how the value for this column is
+ obtained on adding a row.
+ </p>
+<p>
+ Through the mode attribute the behaviour of the add action can be
+ changed.
+ </p>
+<p>
+ Default mode is "automatic" and to let the database create the key
+ value by setting this value to <span class="codefrag">null</span>. The created value
+ can not be read back from the database and will not be available as
+ request attribute or sitemap variable.
+ </p>
+<p>
+ A mode of "manual" will query the database for the maximum current
+ value, add 1 to it and use that for a value.
+ </p>
+<p>
+ A mode of "form" will use the corresponding request parameter.
+ </p>
+<p>
+ A mode of "request-attribute" will use the corresponding request
+ attribute. The name specified in the <span class="codefrag">param</span> attribute
+ will be automatically prefixed with the class name.
+ </p>
+<p>
+ Key values will be propagated to sitemap variables and - prefixed
+ with the class name - request attributes.
+ </p>
</div>
-<a name="N1008A"></a><a name="Other+Columns"></a>
+<a name="N10089"></a><a name="Other+Columns"></a>
<h5>Other Columns</h5>
<div style="margin-left: 0 ; border: 2px">
<p>
- All other columns are contained in a <span class="codefrag">values</span> child
- element of the <span class="codefrag">table</span> element. Each column has a
- <span class="codefrag">value</span> element to define its properties. Properties are
- similar to those for key columns. A <span class="codefrag">mode</span> attribute
- does not exist for value columns. Instead, request parameters and
- request attributes are tried in this order for the specified
- parameter.
- </p>
-<p>
- Request attribute names are <em>not</em> prefixed with the class
- name. Thus, to insert the value of a key column of the previous row
- or previous table into a value column, it needs to be named
- <span class="codefrag">org.apache.cocoon.acting.AbstractDatabaseAction:key:table:dbcol</span>.
- </p>
-<p>
- Value columns are propagated to request attributes with class name
- prefix. They are not available for the sitemap.
- </p>
+ All other columns are contained in a <span class="codefrag">values</span> child
+ element of the <span class="codefrag">table</span> element. Each column has a
+ <span class="codefrag">value</span> element to define its properties. Properties are
+ similar to those for key columns. A <span class="codefrag">mode</span> attribute
+ does not exist for value columns. Instead, request parameters and
+ request attributes are tried in this order for the specified
+ parameter.
+ </p>
+<p>
+ Request attribute names are <em>not</em> prefixed with the class
+ name. Thus, to insert the value of a key column of the previous row
+ or previous table into a value column, it needs to be named
+ <span class="codefrag">org.apache.cocoon.acting.AbstractDatabaseAction:key:table:dbcol</span>.
+ </p>
+<p>
+ Value columns are propagated to request attributes with class name
+ prefix. They are not available for the sitemap.
+ </p>
</div>
</div>
</div>
-
-<a name="N100AD"></a><a name="Modular+Database+Actions"></a>
+
+<a name="N100AC"></a><a name="Modular+Database+Actions"></a>
<h3>Modular Database Actions</h3>
<div style="margin-left: 0 ; border: 2px">
<p>
- The modular database actions were mainly created to make auto increment
- columns available, handle input and output flexibly, and have a
- consistent interface. A successful action will return the number of
- rows affected in a sitemap parameter named <span class="codefrag">row-count</span>. The
- added features required to change the descriptor file format in
- incompatible ways.
- </p>
-<p>
- It can be configured if an exception will be thrown when an error
- occurs.
- </p>
-<a name="N100BB"></a><a name="Describing+the+Structure+of+your+DB+-+descriptor.xml-N100BA"></a>
+ The modular database actions were mainly created to make auto increment
+ columns available, handle input and output flexibly, and have a
+ consistent interface. A successful action will return the number of
+ rows affected in a sitemap parameter named <span class="codefrag">row-count</span>. The
+ added features required to change the descriptor file format in
+ incompatible ways.
+ </p>
+<p>
+ It can be configured if an exception will be thrown when an error
+ occurs.
+ </p>
+<a name="N100BA"></a><a name="Describing+the+Structure+of+your+DB+-+descriptor.xml-N100BA"></a>
<h4>Describing the Structure of your DB - descriptor.xml</h4>
<div style="margin-left: 0 ; border: 2px">
<p>
- Like the original actions, the modular actions need meta data in an
- XML file. However, that file may contain any number of tables, not
- just the ones needed for a single request. The tables actually used
- are referenced through a <span class="codefrag">table-set</span>. Unknown elements and
- attributes are ignored. This way a descriptor file can be shared with
- other actions like the form validator.
- </p>
-<p>
- For the flexible input and output handling, the modular database
- actions rely on <a href="../concepts/modules.html">modules</a>.
- Have a look at those before proceeding.
- </p>
+ Like the original actions, the modular actions need meta data in an
+ XML file. However, that file may contain any number of tables, not
+ just the ones needed for a single request. The tables actually used
+ are referenced through a <span class="codefrag">table-set</span>. Unknown elements and
+ attributes are ignored. This way a descriptor file can be shared with
+ other actions like the form validator.
+ </p>
+<p>
+ For the flexible input and output handling, the modular database
+ actions rely on <a href="../concepts/modules.html">modules</a>.
+ Have a look at those before proceeding.
+ </p>
<p>
The following is a snippet from a descriptor file.
</p>
@@ -445,86 +474,86 @@
delete will likely fail.
</p>
<p>
- Another application of aliases if different numbers of columns should
- be affected by an operation. or if a table contains several candidate
- keys that are used alternatively. This way, different views to a
- table can be created.
- </p>
-<a name="N100EA"></a><a name="Key+Columns-N100E8"></a>
+ Another application of aliases if different numbers of columns should
+ be affected by an operation. or if a table contains several candidate
+ keys that are used alternatively. This way, different views to a
+ table can be created.
+ </p>
+<a name="N100E8"></a><a name="Key+Columns-N100E8"></a>
<h5>Key Columns</h5>
<div style="margin-left: 0 ; border: 2px">
<p>
- The descriptor file resembles the one for the original actions. One
- major difference is the absence of <span class="codefrag">dbcol</span> and
- <span class="codefrag">param</span> attributes. Instead there is a <span class="codefrag">name</span>
- attribute which corresponds to the <span class="codefrag">dbcol</span> attribute and
- specifies the database column name.
- </p>
-<p>
- If a column is an auto increment column, the similar named attribute
- indicates this. Auto increment columns will be handled differently
- on insert operations.
- </p>
-<p>
- Instead of specifying a parameter name, the actions support to use
- different input modules for each operation through the nested
- <span class="codefrag">mode</span> elements. This is described in more detail below.
- </p>
-<p>
- Note here though, that not every column needs a <span class="codefrag">mode</span>
- element: The actions default to the module defined as
- <span class="codefrag">request</span> which is in a default installation to obtain
- the values from request parameters. The name of the parameter
- defaults to table name dot column name.
- </p>
+ The descriptor file resembles the one for the original actions. One
+ major difference is the absence of <span class="codefrag">dbcol</span> and
+ <span class="codefrag">param</span> attributes. Instead there is a <span class="codefrag">name</span>
+ attribute which corresponds to the <span class="codefrag">dbcol</span> attribute and
+ specifies the database column name.
+ </p>
+<p>
+ If a column is an auto increment column, the similar named attribute
+ indicates this. Auto increment columns will be handled differently
+ on insert operations.
+ </p>
+<p>
+ Instead of specifying a parameter name, the actions support to use
+ different input modules for each operation through the nested
+ <span class="codefrag">mode</span> elements. This is described in more detail below.
+ </p>
+<p>
+ Note here though, that not every column needs a <span class="codefrag">mode</span>
+ element: The actions default to the module defined as
+ <span class="codefrag">request</span> which is in a default installation to obtain
+ the values from request parameters. The name of the parameter
+ defaults to table name dot column name.
+ </p>
</div>
-<a name="N10111"></a><a name="Other+Columns-N1010F"></a>
+<a name="N1010F"></a><a name="Other+Columns-N1010F"></a>
<h5>Other Columns</h5>
<div style="margin-left: 0 ; border: 2px">
<p>
Apart from the fact that the auto increment columns are only
- supported for key columns, everything said above applies to value
- columns as well.
+ supported for key columns, everything said above applies to value
+ columns as well.
</p>
</div>
-<a name="N1011A"></a><a name="Operation+Mode+Types"></a>
+<a name="N10118"></a><a name="Operation+Mode+Types"></a>
<h5>Operation Mode Types</h5>
<div style="margin-left: 0 ; border: 2px">
<p>
- Basically, two different mode types exist:
- <span class="codefrag">autoincrement</span> which is used whenever data shall be
- inserted into a table and this particular key column has the
- auto increment attribute set and <span class="codefrag">others</span> for all other
- requirements.
+ Basically, two different mode types exist:
+ <span class="codefrag">autoincrement</span> which is used whenever data shall be
+ inserted into a table and this particular key column has the
+ auto increment attribute set and <span class="codefrag">others</span> for all other
+ requirements.
</p>
<p>
In addition, a table-set can specify different mode types to use
- instead of the predefined type names. Through this, and the fact
- that every mode can specify a different input module, it is easy to
- use different input modules for different tasks and forms.
+ instead of the predefined type names. Through this, and the fact
+ that every mode can specify a different input module, it is easy to
+ use different input modules for different tasks and forms.
</p>
<p>
One special mode type name exists that matches all requested ones:
- <span class="codefrag">all</span> This makes it easier to configure only some
- columns differently for each table-set.
+ <span class="codefrag">all</span> This makes it easier to configure only some
+ columns differently for each table-set.
</p>
</div>
-<a name="N10132"></a><a name="How+to+obtain+Values"></a>
+<a name="N10130"></a><a name="How+to+obtain+Values"></a>
<h5>How to obtain Values</h5>
<div style="margin-left: 0 ; border: 2px">
<p>
- As said above, these actions default to reading from request
- parameters with a default parameter name. By specifying
- <span class="codefrag">mode</span> elements, this can be overridden. Any component
- that implements the <span class="codefrag">InputModule</span> interface can be used
- to obtain values. How to make such modules known to Apache Cocoon
- is described <a href="../concepts/modules.html">elsewhere</a>.
- </p>
-<p>
- Beside using different input modules, their parameters can be set
- in place, for example to override parameter names, configure a
- random generator or a message digest algorithm.
- </p>
+ As said above, these actions default to reading from request
+ parameters with a default parameter name. By specifying
+ <span class="codefrag">mode</span> elements, this can be overridden. Any component
+ that implements the <span class="codefrag">InputModule</span> interface can be used
+ to obtain values. How to make such modules known to Apache Cocoon
+ is described <a href="../concepts/modules.html">elsewhere</a>.
+ </p>
+<p>
+ Beside using different input modules, their parameters can be set
+ in place, for example to override parameter names, configure a
+ random generator or a message digest algorithm.
+ </p>
<pre class="code">
<table name="user_groups">
@@ -545,89 +574,89 @@
</keys>
</table>
- </pre>
+ </pre>
+<p>
+ The above example shows just that: the <span class="codefrag">parameter</span>
+ element is not read by the database action itself but the
+ complete <span class="codefrag">mode</span> configuration object is passed to the
+ input module. Both the request attribute and the request parameter
+ input modules understand this parameter attribute which takes
+ precedence over the default one.
+ </p>
+<p>
+ Another feature when obtaining values is tied to the
+ <span class="codefrag">type</span> attribute: Different modes can be used in
+ different situations. The basic setup uses two different mode
+ types: <span class="codefrag">autoincrement</span> when inserting in key columns
+ that have an indicator that they are indeed auto increment columns
+ and <span class="codefrag">others</span> for insert operations on all other columns
+ and all other operations on all columns.
+ </p>
<p>
- The above example shows just that: the <span class="codefrag">parameter</span>
- element is not read by the database action itself but the
- complete <span class="codefrag">mode</span> configuration object is passed to the
- input module. Both the request attribute and the request parameter
- input modules understand this parameter attribute which takes
- precedence over the default one.
- </p>
-<p>
- Another feature when obtaining values is tied to the
- <span class="codefrag">type</span> attribute: Different modes can be used in
- different situations. The basic setup uses two different mode
- types: <span class="codefrag">autoincrement</span> when inserting in key columns
- that have an indicator that they are indeed auto increment columns
- and <span class="codefrag">others</span> for insert operations on all other columns
- and all other operations on all columns.
- </p>
-<p>
- Table-sets can override the default names for these two mode type
- name categories with arbitrary names except the special name
- <span class="codefrag">all</span>. A mode that carries the type name "all" is used
- with all requested type names. Lookup obeys first match principle
- so that all modes are tested from top to bottom and the first that
- matches is used.
- </p>
+ Table-sets can override the default names for these two mode type
+ name categories with arbitrary names except the special name
+ <span class="codefrag">all</span>. A mode that carries the type name "all" is used
+ with all requested type names. Lookup obeys first match principle
+ so that all modes are tested from top to bottom and the first that
+ matches is used.
+ </p>
</div>
-<a name="N10168"></a><a name="How+to+store+Values+e.g.+in+your+Session"></a>
+<a name="N10165"></a><a name="How+to+store+Values+e.g.+in+your+Session"></a>
<h5>How to store Values e.g. in your Session</h5>
<div style="margin-left: 0 ; border: 2px">
<p>
- All modular database action can be configured to use any component
- that implements the <span class="codefrag">OutputModule</span> interface to store
- values. The output module is chosen on declaring the action in the
- sitemap or dynamically with a sitemap parameter. If no output
- module is specified, the default it to use the request attribute
- module.
- </p>
-<p>
- The interface does not allow to pass configuration information to
- the output module. This has to be done when the module is declared
- e.g. in cocoon.xconf.
- </p>
+ All modular database action can be configured to use any component
+ that implements the <span class="codefrag">OutputModule</span> interface to store
+ values. The output module is chosen on declaring the action in the
+ sitemap or dynamically with a sitemap parameter. If no output
+ module is specified, the default it to use the request attribute
+ module.
+ </p>
+<p>
+ The interface does not allow to pass configuration information to
+ the output module. This has to be done when the module is declared
+ e.g. in cocoon.xconf.
+ </p>
</div>
-<a name="N10177"></a><a name="Inserting+Multiple+Rows+-+Sets"></a>
+<a name="N10174"></a><a name="Inserting+Multiple+Rows+-+Sets"></a>
<h5>Inserting Multiple Rows - Sets</h5>
<div style="margin-left: 0 ; border: 2px">
<p>
- Once common task is to work on more than one row. If the rows are
- in different tables, this is catered for by table-sets. Operating
- on multiple rows of one table requires to mark columns that should
- vary and among those one, that determines the number of rows to
- work on.
- </p>
-<p>
- This is done with sets. All columns that cary a <span class="codefrag">set</span>
- attribute can vary, those, that don't, are kept fixed during the
- operation. The column that is used to determine the number of rows
- is required to have a value of <span class="codefrag">master</span> while all others
- need to have a value of <span class="codefrag">slave</span> for the set
- attribute. There may be only one master in a set.
- </p>
-<p>
- Sets can be tagged either on column or on mode level but not both
- for a single column.
- </p>
+ Once common task is to work on more than one row. If the rows are
+ in different tables, this is catered for by table-sets. Operating
+ on multiple rows of one table requires to mark columns that should
+ vary and among those one, that determines the number of rows to
+ work on.
+ </p>
+<p>
+ This is done with sets. All columns that cary a <span class="codefrag">set</span>
+ attribute can vary, those, that don't, are kept fixed during the
+ operation. The column that is used to determine the number of rows
+ is required to have a value of <span class="codefrag">master</span> while all others
+ need to have a value of <span class="codefrag">slave</span> for the set
+ attribute. There may be only one master in a set.
+ </p>
+<p>
+ Sets can be tagged either on column or on mode level but not both
+ for a single column.
+ </p>
</div>
-<a name="N1018F"></a><a name="Select+Your+Tables+-+Table-Sets"></a>
+<a name="N1018C"></a><a name="Select+Your+Tables+-+Table-Sets"></a>
<h5>Select Your Tables - Table-Sets</h5>
<div style="margin-left: 0 ; border: 2px">
<p>
- Tables that should be used during an operation can be grouped
- together with a table-set. A table-set references tables by their
- name or their alias.
- </p>
-<p>
- In addition, a table-set can override the mode type names for the
- two categories "autoincrement" and "others".
- </p>
-<p>
- Operations spanning multiple tables in a table-set are done in a
- single transaction. Thus, if one fails, the other is rolled back.
- </p>
+ Tables that should be used during an operation can be grouped
+ together with a table-set. A table-set references tables by their
+ name or their alias.
+ </p>
+<p>
+ In addition, a table-set can override the mode type names for the
+ two categories "autoincrement" and "others".
+ </p>
+<p>
+ Operations spanning multiple tables in a table-set are done in a
+ single transaction. Thus, if one fails, the other is rolled back.
+ </p>
<pre class="code">
@@ -661,7 +690,7 @@
</root>
- </pre>
+ </pre>
</div>
</div>
</div>
@@ -679,11 +708,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/userdocs/actions/database-actions.pdf
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/actions/database-actions.pdf?view=diff&r1=159368&r2=159369
==============================================================================
Binary files - no diff available.
Modified: cocoon/site/site/2.1/userdocs/actions/script-action.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/actions/script-action.html?view=diff&r1=159368&r2=159369
==============================================================================
--- cocoon/site/site/2.1/userdocs/actions/script-action.html (original)
+++ cocoon/site/site/2.1/userdocs/actions/script-action.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>ScriptAction in Cocoon</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,59 +102,45 @@
<li>
<font color="#CFDCED">Navigation</font>
<ul>
-
<li>
<a href="../../index.html">Main</a>
</li>
-
<li>
<a href="../index.html">User Documentation</a>
</li>
-
</ul>
</li>
<li>
<font color="#CFDCED">Actions</font>
<ul>
-
<li>
<a href="actions.html">Overview</a>
</li>
-
<li>
<a href="database-actions.html">Database</a>
</li>
-
</ul>
</li>
<li>
<font color="#CFDCED">Default</font>
-<ul>
-
-</ul>
+<ul></ul>
</li>
<li>
<font color="#CFDCED">Core</font>
-<ul>
-
-</ul>
+<ul></ul>
</li>
<li>
<font color="#CFDCED">Optional</font>
<ul>
-
<li>
<a href="sendmail-action.html">Sendmail Action</a>
</li>
-
<li>
<a href="session-action.html">Session Action</a>
</li>
-
<li>
<span class="sel"><font color="#ffcc00">Script Action</font></span>
</li>
-
</ul>
</li>
</ul>
@@ -192,28 +182,8 @@
<tr>
<td valign="middle">
<h1>ScriptAction in Cocoon</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="script-action.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="script-action.pdf"><img alt="PDF" src="../../skin/images/pdfdoc.gif" class="skin"><br>
+ PDF</a></td>
</tr>
</table>
<p class="type">Type: Technical document</p>
@@ -344,7 +314,7 @@
</map:match>
</pre>
</div>
-<a name="N100AA"></a><a name="Sitemap+component+configuration+example"></a>
+<a name="N100A9"></a><a name="Sitemap+component+configuration+example"></a>
<h4>Sitemap component configuration example</h4>
<div style="margin-left: 0 ; border: 2px">
<p>The following sample configures an ScriptAction, naming it
@@ -358,12 +328,12 @@
</map:actions>
</pre>
</div>
-<a name="N100BB"></a><a name="Configuration"></a>
+<a name="N100B9"></a><a name="Configuration"></a>
<h4>Configuration</h4>
<div style="margin-left: 0 ; border: 2px">
<p>ScriptAction has no configuration options.</p>
</div>
-<a name="N100C4"></a><a name="Setup"></a>
+<a name="N100C2"></a><a name="Setup"></a>
<h4>Setup</h4>
<div style="margin-left: 0 ; border: 2px">
<p>ScriptAction determines the name of the script getting executed
@@ -567,7 +537,7 @@
</table>
<p>These objects are accessible from within the script.</p>
</div>
-<a name="N10254"></a><a name="Effect+on+Object+Model+and+Sitemap+Parameters"></a>
+<a name="N10252"></a><a name="Effect+on+Object+Model+and+Sitemap+Parameters"></a>
<h4>Effect on Object Model and Sitemap Parameters</h4>
<div style="margin-left: 0 ; border: 2px">
<p>ScriptAction checks the existence of the key <span class="codefrag">scriptaction-continue</span>
@@ -578,7 +548,7 @@
</div>
</div>
-<a name="N10270"></a><a name="Bugs%2FCaveats"></a>
+<a name="N1026E"></a><a name="Bugs%2FCaveats"></a>
<h3>Bugs/Caveats</h3>
<div style="margin-left: 0 ; border: 2px">
<p>Using ScriptAction relies heavily on the setting of the key
@@ -587,21 +557,21 @@
</p>
</div>
-<a name="N10282"></a><a name="History"></a>
+<a name="N10280"></a><a name="History"></a>
<h3>History</h3>
<div style="margin-left: 0 ; border: 2px">
<p>07-24-03: initial creation</p>
<p>04-02-04: Updated to Jakarta BSF</p>
</div>
-<a name="N1028E"></a><a name="Copyright"></a>
+<a name="N1028C"></a><a name="Copyright"></a>
<h3>Copyright</h3>
<div style="margin-left: 0 ; border: 2px">
<p>Copyright (C) 1999-2004 The Apache Software Foundation. All rights
reserved.</p>
</div>
-<a name="N10297"></a><a name="See+also"></a>
+<a name="N10295"></a><a name="See+also"></a>
<h3>See also</h3>
<div style="margin-left: 0 ; border: 2px">
<p>
@@ -624,11 +594,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/userdocs/actions/script-action.pdf
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/actions/script-action.pdf?view=diff&r1=159368&r2=159369
==============================================================================
Binary files - no diff available.
Modified: cocoon/site/site/2.1/userdocs/actions/sendmail-action.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/actions/sendmail-action.html?view=diff&r1=159368&r2=159369
==============================================================================
--- cocoon/site/site/2.1/userdocs/actions/sendmail-action.html (original)
+++ cocoon/site/site/2.1/userdocs/actions/sendmail-action.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>Sendmail Action</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>Sendmail Action</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="sendmail-action.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="sendmail-action.pdf"><img alt="PDF" src="../../skin/images/pdfdoc.gif" class="skin"><br>
+ PDF</a></td>
</tr>
</table>
<ul class="minitoc">
@@ -273,7 +257,7 @@
</pre>
</div>
-<a name="N10043"></a><a name="Example+Code"></a>
+<a name="N10042"></a><a name="Example+Code"></a>
<h3>Example Code</h3>
<div style="margin-left: 0 ; border: 2px">
<p>
@@ -342,7 +326,7 @@
</div>
<a name="parameters"></a>
- <a name="N1007D"></a><a name="Input%2FOutput+Parameter+Reference"></a>
+ <a name="N1007A"></a><a name="Input%2FOutput+Parameter+Reference"></a>
<h3>Input/Output Parameter Reference</h3>
<div style="margin-left: 0 ; border: 2px">
<p>
@@ -497,7 +481,7 @@
argument does not contain a colon, the argument names a request
parameter which is a file upload through a HTML form (internally an
<span class="codefrag">org.apache.cocoon.components.request.multipart.FilePart</span>
- object).
+ object).
</td>
</tr>
@@ -561,7 +545,7 @@
</div>
<a name="hint"></a>
- <a name="N101DE"></a><a name="Additional+Hint"></a>
+ <a name="N101DB"></a><a name="Additional+Hint"></a>
<h3>Additional Hint</h3>
<div style="margin-left: 0 ; border: 2px">
<p>
@@ -599,11 +583,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/userdocs/actions/sendmail-action.pdf
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/actions/sendmail-action.pdf?view=diff&r1=159368&r2=159369
==============================================================================
Binary files - no diff available.