lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gre...@apache.org
Subject cvs commit: cocoon-lenya/src/webapp/lenya info.xmap
Date Fri, 08 Aug 2003 16:48:19 GMT
gregor      2003/08/08 09:48:19

  Modified:    src/webapp/lenya info.xmap
  Log:
  use default language from page envelope
  
  Revision  Changes    Path
  1.23      +3 -32     cocoon-lenya/src/webapp/lenya/info.xmap
  
  Index: info.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/info.xmap,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- info.xmap	8 Aug 2003 16:39:35 -0000	1.22
  +++ info.xmap	8 Aug 2003 16:48:18 -0000	1.23
  @@ -90,9 +90,10 @@
       </map:pipeline>
       
       <map:pipeline>
  -      <map:match pattern="content/**">
  +      <map:match pattern="**">
         	<map:match pattern="*" type="language">
   	       <map:aggregate element="lenya" label="aggregate">
  +             <map:part src="cocoon:/menus/info.xml"/>
   	         <map:part element="cmsbody" type="serverpages" src="content/info/info.xsp"/>
   	       </map:aggregate>
   	       <map:transform src="xslt/info/root.xsl" label="content">
  @@ -106,40 +107,10 @@
   	       <map:serialize type="html"/>
           </map:match>
   	       <map:aggregate element="lenya" label="aggregate">
  +             <map:part src="cocoon:/menus/info.xml"/>
   	         <map:part element="cmsbody" type="serverpages" src="content/info/info.xsp"/>
   	       </map:aggregate>
   	       <map:transform src="xslt/info/root.xsl" label="content">
  -              <map:parameter name="contextprefix" value="{page-envelope:context-prefix}"/>
  -              <map:parameter name="publicationid" value="{page-envelope:publication-id}"/>
  -              <map:parameter name="area" value="{page-envelope:area}"/>
  -              <map:parameter name="chosenlanguage" value=""/>
  -              <map:parameter name="documentid" value="{1}"/>
  -              <map:parameter name="defaultlanguage" value="{page-envelope:default-language}"/>
  -           </map:transform>
  -	       <map:serialize type="html"/>
  -      </map:match>
  -    </map:pipeline>
  -
  -    <map:pipeline>
  -      <map:match pattern="**">
  -      	<map:match pattern="*" type="language">
  -	       <map:aggregate element="lenya" label="aggregate">
  -             <map:part src="cocoon:/menus/info.xml"/>
  -	       </map:aggregate>
  -	       <map:transform src="xslt/menu2/root.xsl" label="content">
  -              <map:parameter name="contextprefix" value="{page-envelope:context-prefix}"/>
  -              <map:parameter name="publicationid" value="{page-envelope:publication-id}"/>
  -              <map:parameter name="area" value="{page-envelope:area}"/>
  -              <map:parameter name="chosenlanguage" value="{1}"/>
  -              <map:parameter name="documentid" value="{../1}"/>
  -              <map:parameter name="defaultlanguage" value="{page-envelope:default-language}"/>
  -           </map:transform>
  -	       <map:serialize type="html"/>
  -        </map:match>
  -	       <map:aggregate element="lenya" label="aggregate">
  -             <map:part src="cocoon:/menus/info.xml"/>
  -	       </map:aggregate>
  -	       <map:transform src="xslt/menu2/root.xsl" label="content">
                 <map:parameter name="contextprefix" value="{page-envelope:context-prefix}"/>
                 <map:parameter name="publicationid" value="{page-envelope:publication-id}"/>
                 <map:parameter name="area" value="{page-envelope:area}"/>
  
  
  

---------------------------------------------------------------------
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