Page: http://wiki.cocoondev.org/Wiki.jsp?page=DataypesOfDatabaseActions , version: 2 on Mon Jun 16 15:54:51 2003 by AntonioGallardo
- Both types of [Database Actions] support the follwing data types to interact with Databases. ? ^^^^ ---------- + [Original Database Actions] support the follwing data types to interact with Databases. ? ^^^^^^^^^ Page: http://wiki.cocoondev.org/Wiki.jsp?page=Firebirdsql , version: 4 on Mon Jun 16 15:01:39 2003 by 62.8.218.6 - This document explains the specific aspects of connecting Cocoon to a Firebird Database.\\ ? ^ + This document explains the specific aspects of connecting Cocoon to a Firebird database.\\ ? ^ - For a general explanation on database connection please refer to the [official documentation | http://xml.apache.org/cocoon/developing/datasources.html]. + For a general explanation on database connections please refer to the [official documentation | http://xml.apache.org/cocoon/developing/datasources.html]. ? + - Unzip the file {{firebirdsql-full.jar}} which is contained in the zip file you just downloaded either into $COCOON_HOME/web-inf/lib or $TOMCAT_HOME/common/lib/. + Unzip the file {{firebirdsql-full.jar}} which is contained in the zip file you just downloaded either into $COCOON_HOME/web-inf/lib or $TOMCAT_HOME/common/lib/, depending on whether you want it to be accessible only for Cocoon or for all your Tomcat webapps. ? ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - If for some reason you have to use {{firebirdsql.jar}} instead, you must add at least {{mini-concurrent.jar}}, {{mini-j2se.jar}}, and, if your JDK is pre-1.4, {{jaas.jar}}. ? ^^^ + If for whatever reason you have to use {{firebirdsql.jar}} instead, you must add at least {{mini-concurrent.jar}}, {{mini-j2se.jar}}, and, if your JDK is pre-1.4, {{jaas.jar}}. All these files are included in the downloaded zip file as well. ? ^^^^ +++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - In the $Cocoon_Home/WEB-INF/ directory you will find the web.xml file. Open it and look for these rows {{{ + In the $Cocoon_Home/WEB-INF/ directory you will find the web.xml file. Open it and look for these rows: {{{ ? + - here you have to add the following line: ? ^ + Here you have to add the following line: ? ^ - search for: ? ^ + Search for: ? ^ - add into this element these lines: ? ^ + Add into this element these lines: ? ^ - When you want to use the connection you just call the jdbc name inside the pipeline in this way: ? ^ ---- + When you want to use the connection you just call the jdbc name inside the pipeline like this: ? + ^^ - <map:match pattern="sqlquery"> ? ^^^^ ^ + <map:match pattern="YourPattern"> ? ^^ +++++ ^ - <map:generate src="sql/sqlquery.xml"/> + <map:generate src="YourSourcePath"/> - <map:transform type="xslt" src="../stylesheets/transformation.xslt"/> ? ^^^ ^^^^^^^^^^^ ^^^^^^^^ + <map:transform type="xslt" src="YourXslStylesheetPath"/> ? ^^^^^ ++ ^ ^ - <map:serialize type="svg2jpeg"/> + <map:serialize type="YourSerializer"/> - Obviously you have to adapt this sample to fill your need.\\ ? ^^^ ^^ + Of course you have to adapt this sample to fill your need.\\ ? ^^^ + ^ - !!Comments from the readers + !!Comments from the readers: ? +
