haul 02/05/24 07:55:38 Modified: src/webapp sitemap.xmap src/webapp/docs/samples sample-apps.xml src/webapp/docs/samples/mod-db sitemap.xmap Log: mod-db sample Revision Changes Path 1.55 +5 -0 xml-cocoon2/src/webapp/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/xml-cocoon2/src/webapp/sitemap.xmap,v retrieving revision 1.54 retrieving revision 1.55 diff -u -r1.54 -r1.55 --- sitemap.xmap 22 May 2002 16:05:28 -0000 1.54 +++ sitemap.xmap 24 May 2002 14:55:37 -0000 1.55 @@ -591,6 +591,11 @@ <map:mount check-reload="yes" src="protected/" uri-prefix="protected"/> </map:match> + <!-- mod-db webapp example pipeline --> + <map:match pattern="mod-db/**"> + <map:mount check-reload="yes" src="mod-db/" uri-prefix="mod-db"/> + </map:match> + <!-- mount other sample pages --> <map:match pattern="samples/**"> <map:mount check-reload="yes" src="samples/" uri-prefix="samples"/> 1.5 +5 -1 xml-cocoon2/src/webapp/docs/samples/sample-apps.xml Index: sample-apps.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/webapp/docs/samples/sample-apps.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- sample-apps.xml 20 May 2002 13:33:50 -0000 1.4 +++ sample-apps.xml 24 May 2002 14:55:38 -0000 1.5 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- CVS: $Id: sample-apps.xml,v 1.4 2002/05/20 13:33:50 ivelin Exp $ --> +<!-- CVS: $Id: sample-apps.xml,v 1.5 2002/05/24 14:55:38 haul Exp $ --> <samples xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -15,6 +15,10 @@ An example web-application built around db-authenticator, form-validator, session-validator and session-invalidator actions. + </sample> + <sample name="Modular Database Actions" href="mod-db/user-list"> + An example web-application built around database actions from the + modular package that supports auto increments and more. </sample> </group> 1.4 +4 -4 xml-cocoon2/src/webapp/docs/samples/mod-db/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/xml-cocoon2/src/webapp/docs/samples/mod-db/sitemap.xmap,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- sitemap.xmap 4 Apr 2002 14:37:00 -0000 1.3 +++ sitemap.xmap 24 May 2002 14:55:38 -0000 1.4 @@ -32,7 +32,7 @@ <!-- declare actions for database operations --> <map:action name="mod-db-add" src="org.apache.cocoon.acting.modular.DatabaseAddAction"> - <descriptor>context://mount/mod-db/database.xml</descriptor> + <descriptor>context://mod-db/database.xml</descriptor> <!-- shall we throw an exception in addition to rolling back the transaction when encountering an error during database ops? @@ -51,12 +51,12 @@ </map:action> <map:action name="mod-db-del" src="org.apache.cocoon.acting.modular.DatabaseDeleteAction"> - <descriptor>context://mount/mod-db/database.xml</descriptor> + <descriptor>context://mod-db/database.xml</descriptor> <throw-exception>false</throw-exception> </map:action> <map:action name="mod-db-upd" src="org.apache.cocoon.acting.modular.DatabaseUpdateAction"> - <descriptor>context://mount/mod-db/database.xml</descriptor> + <descriptor>context://mod-db/database.xml</descriptor> <throw-exception>false</throw-exception> </map:action> @@ -187,7 +187,7 @@ <map:generate type="serverpages" src="{1}.xsp"/> <map:transform src="context://stylesheets/dynamic-page2html.xsl"> - <map:parameter name="view-source" value="{1}.xsp"/> + <map:parameter name="view-source" value="mod-db/{1}.xsp"/> </map:transform> <map:transform src="stupid.xsl"/> <map:serialize/>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]