cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] Updated: WyonaRevisionController
Date Sat, 10 Jul 2004 01:39:44 GMT
   Date: 2004-07-09T18:39:44
   Editor: JoergHeinicke <joerg.heinicke@gmx.de>
   Wiki: Cocoon Wiki
   Page: WyonaRevisionController
   URL: http://wiki.apache.org/cocoon/WyonaRevisionController

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -16,7 +16,7 @@
     <p>
 The different check-in/check-out of a file are memorised in an xml file (RCML-file) created
by the class org.apache.lenya.xps.rc.RCML:
     </p>
-<source><![CDATA[<?xmlversion="1.0"encoding="utf-8"?><XPS!RevisionControl><!CheckIn><Identity>lenya</Identity><Time>1023102128815</Time></!CheckIn><!CheckOut><Identity>lenya</Identity><Time>1023102128780</Time></!CheckOut><!CheckOut><Identity>lenya</Identity><Time>1023102125300</Time></!CheckOut><!CheckOut><Identity>lenya</Identity><Time>1023102121346</Time></!CheckOut><!CheckIn><Identity>lenya</Identity><Time>1023102110381</Time></!CheckIn><!CheckOut><Identity>lenya</Identity><Time>1023102110349</Time></!CheckOut><!CheckIn><Identity>System</Identity><Time>1023102073728</Time></!CheckIn><!CheckOut><Identity>lenya</Identity><Time>1023102073695</Time></!CheckOut><!CheckOut><Identity>lenya</Identity><Time>1023102012990</Time></!CheckOut><!CheckOut><Identity>lenya</Identity><Time>1023102010354</Time></!CheckOut><!CheckIn><Identity>System</Identity><Time>1022569908000</Time></!CheckIn></XPSRevisionControl>]]></source>
+<source><![CDATA[<?xmlversion="1.0"encoding="utf-8"?><XPS!RevisionControl><!CheckIn><Identity>lenya</Identity><Time>1023102128815</Time></!CheckIn><!CheckOut><Identity>lenya</Identity><Time>1023102128780</Time></!CheckOut><!CheckOut><Identity>lenya</Identity><Time>1023102125300</Time></!CheckOut><!CheckOut><Identity>lenya</Identity><Time>1023102121346</Time></!CheckOut><!CheckIn><Identity>lenya</Identity><Time>1023102110381</Time></!CheckIn><!CheckOut><Identity>lenya</Identity><Time>1023102110349</Time></!CheckOut><!CheckIn><Identity>System</Identity><Time>1023102073728</Time></!CheckIn><!CheckOut><Identity>lenya</Identity><Time>1023102073695</Time></!CheckOut><!CheckOut><Identity>lenya</Identity><Time>1023102012990</Time></!CheckOut><!CheckOut><Identity>lenya</Identity><Time>1023102010354</Time></!CheckOut><!CheckIn><Identity>System</Identity><Time>1022569908000</Time></!CheckIn></XPS!RevisionControl>]]></source>
     <p>
 The RCML-file are located in a preconfigured directory, the RCML-directory. The RCML-file
of a specified article with "path" and "filename" is : RCML-directory+path+filename+.rcml
 
     </p>
@@ -71,7 +71,7 @@
      </p>
      <ul>
        <li>reference to the action : 
-<code><![CDATA[<map:components>...<map:actions><map:actionname="reserved-checkout"src="org.apache.lenya.cms.cocoon.acting.ReservedCheckoutAction"logger="sitemap.action.reserved-checkout"></map:action></map:actions>...</map:components>]]></code>
+<code><![CDATA[<map:components>...<map:actions><map:actionname="reserved-checkout"src="org.apache.lenya.cms.cocoon.acting.!ReservedCheckoutAction"logger="sitemap.action.reserved-checkout"></map:action></map:actions>...</map:components>]]></code>
        </li>
        <li>call the action for a check out in the pipeline : 
            <code><![CDATA[<map:matchpattern="rco/*/*/*/*/index.xml"><map:acttype="reserved-checkout"><map:parametername="filename"value="content/live/{1}/{2}/articles/{3}/{4}/index.xml"/><map:generatetype="serverpages"src="../../content/rc/{exception}.xsp"><map:parametername="user"value="{user}"/><map:parametername="filename"value="{filename}"/><map:parametername="date"value="{date}"/></map:generate><map:serializetype="xml"/></map:act><map:generatesrc="content/live/{1}/{2}/articles/{3}/{4}/index.xml"/><map:serializetype="xml"/></map:match>]]></code>
@@ -84,7 +84,7 @@
      </p>
      <ul>
        <li>The configuration of the RCML-directory and the BACKUP-directory is made
in the sitemap. The desired parameters are given in the definition of the reerved-checkout-action:

-           <code><![CDATA[<map:actions><map:actionname="reserved-checkout"src="org.apache.lenya.cms.cocoon.acting.ReservedCheckoutAction"logger="sitemap.action.reserved-checkout"><rcmlDirectoryhref="content/rcml"/><backupDirectoryhref="content/rcbak"/></map:action></map:actions>]]></code>
+           <code><![CDATA[<map:actions><map:actionname="reserved-checkout"src="org.apache.lenya.cms.cocoon.acting.!ReservedCheckoutAction"logger="sitemap.action.reserved-checkout"><rcmlDirectoryhref="content/rcml"/><backupDirectoryhref="content/rcbak"/></map:action></map:actions>]]></code>
 Their values are red by the !ReservedCheckoutAction, who give them to the !RevisionController.

        </li>
      </ul>                                                                        
                                                         
@@ -137,7 +137,7 @@
      </p>
      <ul>
        <li>reference to the action for the rollback
-<code><![CDATA[<map:components>...<map:actions>...<map:actionname="rollback"src="org.apache.lenya.cms.cocoon.acting.RollbackAction"><rcmlDirectoryhref="content/rcml"/><backupDirectoryhref="content/rcbak"/></map:action>...</map:actions>...</map:components>]]></code>
+<code><![CDATA[<map:components>...<map:actions>...<map:actionname="rollback"src="org.apache.lenya.cms.cocoon.acting.!RollbackAction"><rcmlDirectoryhref="content/rcml"/><backupDirectoryhref="content/rcbak"/></map:action>...</map:actions>...</map:components>]]></code>
        </li>
        <li>call the action for a rollback in the pipeline
 <code><![CDATA[<map:matchpattern="rollback/*/*/*/*/index.xml"><map:acttype="rollback"><map:parametername="filename"value="content/authoring/{1}/{2}/articles/{3}/{4}/index.xml"/><map:redirect-touri="{location}"session="true"/></map:act></map:match>]]></code>

Mime
View raw message