lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject cvs commit: cocoon-lenya/src/webapp/lenya usecase.xmap
Date Wed, 20 Aug 2003 13:17:47 GMT
michi       2003/08/20 06:17:47

  Modified:    src/webapp/lenya usecase.xmap
  Log:
  html form editor pipelines generalized
  
  Revision  Changes    Path
  1.71      +8 -8      cocoon-lenya/src/webapp/lenya/usecase.xmap
  
  Index: usecase.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/usecase.xmap,v
  retrieving revision 1.70
  retrieving revision 1.71
  diff -u -r1.70 -r1.71
  --- usecase.xmap	19 Aug 2003 17:08:57 -0000	1.70
  +++ usecase.xmap	20 Aug 2003 13:17:47 -0000	1.71
  @@ -332,12 +332,12 @@
               <map:generate src="pubs/{1}/content/authoring/{page-envelope:document-path}"/>
               <map:transform src="xslt/authoring/edit/numberTags.xsl"/>
               <map:transform src="xslt/authoring/edit/addSourceTags.xsl">
  -              <map:parameter name="source" value="pubs/{1}/work/editor/authoring/{2}.xml"/>
  +              <map:parameter name="source" value="pubs/{1}/work/editor/authoring/{page-envelope:document-path}"/>
               </map:transform>
               <map:transform type="write-source"/>
               <map:transform src="xslt/authoring/edit/removeSourceTags.xsl"/>
               <map:transform src="pubs/{1}/xslt/editor/{request-param:doctype}.xsl">
  -              <map:parameter name="docid" value="{2}"/>
  +              <map:parameter name="docid" value="{page-envelope:document-path}"/>
                 <map:parameter name="doctype" value="{request-param:doctype}"/>
               </map:transform>
               <map:serialize type="html" />
  @@ -347,33 +347,33 @@
           <map:match pattern="close" type="step">
             <map:match pattern="*/authoring/**/*.html">
               <map:act type="save">
  -              <map:parameter name="file" value="pubs/{1}/work/editor/authoring/{2}/{3}.xml"/>
  +              <map:parameter name="file" value="pubs/{1}/work/editor/authoring/{page-envelope:document-path}"/>
   
                 <!-- Continue editing: Insert, Delete, etc. -->
  -              <map:generate src="pubs/{../1}/work/editor/authoring/{../2}/{../3}.xml"/>
  +              <map:generate src="pubs/{../1}/work/editor/authoring/{page-envelope:document-path}"/>
                 <map:transform src="xslt/authoring/edit/unnumberTags.xsl"/>
   
                 <map:transform src="xslt/authoring/edit/numberTags.xsl"/>
                 <map:transform src="xslt/authoring/edit/addSourceTags.xsl">
  -                <map:parameter name="source" value="pubs/{../1}/work/editor/authoring/{../2}/{../3}.xml"/>
  +                <map:parameter name="source" value="pubs/{../1}/work/editor/authoring/{page-envelope:document-path}"/>
                 </map:transform>
                 <map:transform type="write-source"/>
                 <map:transform src="xslt/authoring/edit/removeSourceTags.xsl"/>
   
                 <map:transform src="pubs/{../1}/xslt/editor/{request-param:doctype}.xsl">
  -                <map:parameter name="docid" value="{../2}/{../3}"/>
  +                <map:parameter name="docid" value="{page-envelope:document-path}"/>
                   <map:parameter name="doctype" value="{request-param:doctype}"/>
                 </map:transform>
                 <map:serialize type="html" />
               </map:act>
   
               <!-- Stop Editing: Save and Cancel -->
  -            <map:generate src="pubs/{1}/work/editor/authoring/{2}/{3}.xml"/>
  +            <map:generate src="pubs/{1}/work/editor/authoring/{page-envelope:document-path}"/>
               <map:transform src="xslt/authoring/edit/unnumberTags.xsl"/>
   
               <!-- Save: Overwrite original file (FIXME: Cancel should not overwrite original
file) -->
               <map:transform src="xslt/authoring/edit/addSourceTags.xsl">
  -              <map:parameter name="source" value="pubs/{1}/content/authoring/{2}/{3}.xml"/>
  +              <map:parameter name="source" value="pubs/{1}/content/authoring/{page-envelope:document-path}"/>
               </map:transform>
               <map:transform type="write-source"/>
               <map:transform src="xslt/authoring/edit/redirect-to.xsl">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org


Mime
View raw message