haul 2003/01/31 08:04:08 Modified: src/blocks/databases/samples sitemap.xmap samples.xml Removed: src/blocks/databases/samples notyet.txt Log: sample cosmetics Revision Changes Path 1.2 +13 -2 xml-cocoon2/src/blocks/databases/samples/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/xml-cocoon2/src/blocks/databases/samples/sitemap.xmap,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sitemap.xmap 17 Jan 2003 11:22:36 -0000 1.1 +++ sitemap.xmap 31 Jan 2003 16:04:08 -0000 1.2 @@ -6,7 +6,16 @@ <map:components> <map:generators default="file"/> <map:transformers default="xslt"/> - <map:readers default="resource"/> + <map:readers default="resource"> + <map:reader name="databasereader" + src="org.apache.cocoon.reading.DatabaseReader" + logger="sitemap.reader.databasereader" + pool-max="32" pool-min="1" pool-grow="4"> + <use-connection>personnel</use-connection> + </map:reader> + + + </map:readers> <map:serializers default="html"/> <map:matchers default="wildcard"/> <map:selectors default="browser"/> @@ -43,7 +52,9 @@ <map:match pattern="samples"> <map:generate src="samples.xml"/> - <map:transform type="xalan" src="context://samples/common/style/xsl/html/simple-samples2html.xsl"/> + <map:transform src="context://samples/common/style/xsl/html/simple-samples2html.xsl"> + <map:parameter name="contextPath" value="{request:contextPath}"/> + </map:transform> <map:serialize/> </map:match> 1.3 +10 -6 xml-cocoon2/src/blocks/databases/samples/samples.xml Index: samples.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/blocks/databases/samples/samples.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- samples.xml 17 Jan 2003 14:29:32 -0000 1.2 +++ samples.xml 31 Jan 2003 16:04:08 -0000 1.3 @@ -5,7 +5,7 @@ <samples xmlns:xlink="http://www.w3.org/1999/xlink" name="database block"> <group name="SQL Transformer"> - <sample name="Documentation" href="/cocoon/documentation/userdocs/transformers/sql-transformer.html"> + <sample name="Documentation" href="/documentation/userdocs/transformers/sql-transformer.html"> Documentation for this component. </sample> <sample name="SQL Transformator" href="transform/sql-page" xlink:role="dynamic"> @@ -14,7 +14,7 @@ </group> <group name="XSP"> - <sample name="Documentation" href="/cocoon/documentation/userdocs/xsp/esql.html"> + <sample name="Documentation" href="/documentation/userdocs/xsp/esql.html"> Documentation for this component. </sample> <sample name="ESQL Logicsheet" href="xsp/esql" xlink:role="dynamic"> @@ -28,13 +28,17 @@ are based on Cocoon's input and output modules to read and write data from and to many more places than request attributes and parameters. </note> - <sample name="Documentation" href="/cocoon/documentation/userdocs/actions/database-actions.html"> + <sample name="Documentation" href="/documentation/userdocs/actions/database-actions.html"> Documentation for this component. </sample> <sample name="Manage Users and Groups" href="mod-db/user-list"> An example web-application built around database actions from the modular package which supports auto increments and more. </sample> + <sample name="File Upload to Blob" href="mod-db/file-upload-blob"> + A simple example demonstrating of populating a binary database column + via a multipart form file upload. + </sample> </group> <group name="Original Database Actions"> @@ -42,7 +46,7 @@ These examples are created around the original database actions and the use of ESQL. </note> - <sample name="Documentation" href="/cocoon/documentation/userdocs/actions/database-actions.html"> + <sample name="Documentation" href="/documentation/userdocs/actions/database-actions.html"> Documentation for this component. </sample> <sample name="Manage Employees" href="org-db/employee" xlink:role="dynamic"> @@ -61,7 +65,7 @@ This tutorial demonstrates the use of the original database actions in conjunction with actions sets and ESQL. </note> - <sample name="Documentation" href="/cocoon/documents/tutorial/tutorial-develop-webapp.html"> + <sample name="Documentation" href="/documents/tutorial/tutorial-develop-webapp.html"> Documentation for this component. </sample> <sample name="Personnel Administrator" href="tutorial/" xlink:role="dynamic">
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]