You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ha...@apache.org on 2002/11/17 20:14:25 UTC
cvs commit: xml-cocoon2/src/scratchpad/webapp/mount/mod-db database.xml sitemap.xmap
haul 2002/11/17 11:14:25
Modified: src/scratchpad/webapp/mount/mod-db Tag: cocoon_2_0_3_branch
database.xml sitemap.xmap
Log:
<action dev="CH" type="update">
Changed SimpleFormTransformer to use InputModules.
</action>
<action dev="CH" type="update">
Changed InputModules to return Iterator instead of Enumeration. New abstract
"meta" module to make new meta modules easier. Stripped "meta" from defaults
module. Added JXPathMetaModule. Added extension classes and packages to all
modules that are based on JXPath.
</action>
<action dev="CH" type="update">
Improved support for CLOB and BLOB columns in modular database actions.
</action>
<action dev="CH" type="add">
New chaining InputModule that allows to use additional modules when an attribute is not
present or null.
</action>
<action dev="CH" type="update">
Changed defaults of InputModule names in many places to new names.
</action>
Revision Changes Path
No revision
No revision
1.2.2.1 +4 -4 xml-cocoon2/src/scratchpad/webapp/mount/mod-db/Attic/database.xml
Index: database.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/scratchpad/webapp/mount/mod-db/Attic/database.xml,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -r1.2 -r1.2.2.1
--- database.xml 15 Mar 2002 15:25:22 -0000 1.2
+++ database.xml 17 Nov 2002 19:14:25 -0000 1.2.2.1
@@ -44,8 +44,8 @@
<key name="uid" type="int">
<!-- Next we have two different modes: "request" and
"attrib". See below for explanation. -->
- <mode name="request" parameter="user_groups.uid" type="request"/>
- <mode name="attribute" parameter="org.apache.cocoon.components.modules.output.OutputModule:user.uid[0]" type="attrib"/>
+ <mode name="request-param" parameter="user_groups.uid" type="request"/>
+ <mode name="request-attr" parameter="org.apache.cocoon.components.modules.output.OutputModule:user.uid[0]" type="attrib"/>
<!-- note here, that the actual parameter has a row index
to it. We don't expect to insert more than one user plus
her groups at any time, so we append just "[0]". However,
@@ -76,7 +76,7 @@
-->
<!-- special mode type "all" is used for all operations -->
- <mode name="request" parameter="user_groups.gid" type="all"/>
+ <mode name="request-param" parameter="user_groups.gid" type="all"/>
</key>
</keys>
</table>
@@ -125,4 +125,4 @@
<table name="user_groups" others-mode="request"/>
</table-set>
-</root>
\ No newline at end of file
+</root>
1.3.2.1 +5 -12 xml-cocoon2/src/scratchpad/webapp/mount/mod-db/Attic/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/scratchpad/webapp/mount/mod-db/Attic/sitemap.xmap,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -r1.3 -r1.3.2.1
--- sitemap.xmap 4 Apr 2002 14:37:00 -0000 1.3
+++ sitemap.xmap 17 Nov 2002 19:14:25 -0000 1.3.2.1
@@ -16,23 +16,16 @@
<map:serializers default="html"/>
- <map:selectors default="browser"/>
+ <map:matchers default="wildcard"/>
- <map:matchers default="wildcard">
- <map:matcher logger="sitemap.matcher.modular.non-cached" name="uri" src="org.apache.cocoon.matching.modular.WildcardMatcher">
- <input-module name="URI"/>
- </map:matcher>
- <map:matcher logger="sitemap.matcher.modular.cached" name="cached-uri" src="org.apache.cocoon.matching.modular.CachingWildcardMatcher">
- <input-module name="URI"/>
- </map:matcher>
- </map:matchers>
+ <map:selectors default="browser"/>
<map:actions>
<!-- these action are in addition to the ones inherited -->
<!-- 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>database.xml</descriptor>
<!-- shall we throw an exception in addition to rolling back
the transaction when encountering an error during
database ops?
@@ -51,12 +44,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>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>database.xml</descriptor>
<throw-exception>false</throw-exception>
</map:action>
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org