You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2003/11/17 04:39:41 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/pubs/oscom/xslt/overview/authoring main.xsl

michi       2003/11/16 19:39:41

  Modified:    src/webapp/lenya/pubs/oscom authoring-sitemap.xmap
                        menus.xmap
               src/webapp/lenya/pubs/oscom/config/menus matrix.xsp
                        overview.xsp
               src/webapp/lenya/pubs/oscom/xslt/matrix/authoring main.xsl
               src/webapp/lenya/pubs/oscom/xslt/overview/authoring main.xsl
  Log:
  OSCOM cleaned
  
  Revision  Changes    Path
  1.54      +2 -21     cocoon-lenya/src/webapp/lenya/pubs/oscom/authoring-sitemap.xmap
  
  Index: authoring-sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/oscom/authoring-sitemap.xmap,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- authoring-sitemap.xmap	22 Oct 2003 15:24:27 -0000	1.53
  +++ authoring-sitemap.xmap	17 Nov 2003 03:39:41 -0000	1.54
  @@ -423,6 +423,7 @@
         <map:match pattern="authoring/matrix/index.html">
           <map:generate src="cocoon:/authoring/overview.xml"/>
           <map:transform src="xslt/overview/authoring/main.xsl"/>
  +        <map:transform src="cocoon://lenya-page/{page-envelope:publication-id}/authoring/overview.xml"/>
           <map:serialize type="html"/>
         </map:match>
         <!-- /CM/F Overview -->
  @@ -438,31 +439,11 @@
         </map:match>
         <!-- Editor Overview -->
   
  -      <!-- Board -->
  -      <map:match pattern="authoring/board.html">
  -        <map:generate src="cocoon:/authoring/board.xml"/>
  -        <map:transform src="xslt/Board/authoring/main.xsl"/>
  -        <map:serialize type="html"/>
  -      </map:match>
  -
  -      <!-- News -->
  -      <map:match pattern="authoring/news.html">
  -        <map:generate src="cocoon:/authoring/news.xml"/>
  -        <map:transform src="xslt/News/authoring/main.xsl"/>
  -        <map:serialize type="html"/>
  -      </map:match>
  -
  -      <!-- Weekly Column -->
  -      <map:match pattern="authoring/weekly-column.html">
  -        <map:generate src="cocoon:/authoring/weekly-column-page.xml"/>
  -        <map:transform src="xslt/WeeklyColumn/authoring/main.xsl"/>
  -        <map:serialize type="html"/>
  -      </map:match>
  -
         <!-- Matrix Project -->
         <map:match pattern="authoring/matrix/*.html">
           <map:generate src="cocoon:/authoring/matrix/{1}.xml"/>
           <map:transform src="xslt/matrix/authoring/main.xsl"/>
  +        <map:transform src="cocoon://lenya-page/{page-envelope:publication-id}/authoring/matrix/{1}.xml"/>
           <map:serialize type="html"/>
         </map:match>
   
  
  
  
  1.2       +13 -5     cocoon-lenya/src/webapp/lenya/pubs/oscom/menus.xmap
  
  Index: menus.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/oscom/menus.xmap,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- menus.xmap	22 Oct 2003 15:24:27 -0000	1.1
  +++ menus.xmap	17 Nov 2003 03:39:41 -0000	1.2
  @@ -27,6 +27,18 @@
           <map:serialize type="xml"/>
         </map:match>
   
  +      <map:match pattern="authoring/overview.xml">
  +        <map:generate type="serverpages" src="config/menus/overview.xsp"/>
  +        <map:serialize type="xml"/>
  +      </map:match>
  +
  +      <map:match pattern="authoring/matrix/*.xml">
  +        <map:generate type="serverpages" src="config/menus/matrix.xsp">
  +	  <map:parameter name="projectid" value="{1}"/>
  +	</map:generate>
  +        <map:serialize type="xml"/>
  +      </map:match>
  +
   <!--
         <map:match pattern="authoring/menus/weekly-column-page.xml">
           <map:generate type="serverpages" src="config/menus/weekly-column.xsp"/>
  @@ -43,10 +55,6 @@
           <map:generate type="serverpages" src="config/menus/editor-matrix.xsp">
             <map:parameter name="projectid" value="{1}"/>
           </map:generate>
  -        <map:serialize type="xml"/>
  -      </map:match>
  -      <map:match pattern="authoring/menus/overview.xml">
  -        <map:generate type="serverpages" src="config/menus/overview.xsp"/>
           <map:serialize type="xml"/>
         </map:match>
         <map:match pattern="authoring/menus/editor-overview.xml">
  
  
  
  1.27      +13 -11    cocoon-lenya/src/webapp/lenya/pubs/oscom/config/menus/matrix.xsp
  
  Index: matrix.xsp
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/oscom/config/menus/matrix.xsp,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- matrix.xsp	31 Oct 2003 16:10:02 -0000	1.26
  +++ matrix.xsp	17 Nov 2003 03:39:41 -0000	1.27
  @@ -2,6 +2,7 @@
   
   <xsp:page 
     language="java" 
  +  xmlns="http://apache.org/cocoon/lenya/menubar/1.0"
     xmlns:xsp="http://apache.org/xsp"
     xmlns:xsp-lenya="http://apache.org/cocoon/lenya/xsp/1.0"
     xmlns:xsp-request="http://apache.org/xsp/request/2.0"
  @@ -29,7 +30,9 @@
       String projectid=parameters.getParameter("projectid","null");
     </xsp:logic>
   
  -  <live_uri>/matrix/<xsp:expr>projectid</xsp:expr>.html</live_uri>
  +  <tabs>
  +    <tab label="info" show="false"/>
  +  </tabs>
   
     <menus>
       <menu name="File" label="File">
  @@ -43,9 +46,13 @@
   -->
           <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix+"/authoring/lenya/publishScreen?uris=/lenya/oscom/matrix/"+projectid+".html,/lenya/oscom/matrix/index.html&amp;sources=/matrix/"+projectid+".xml&amp;task-id=publish"</xsp:expr></xsp:attribute>Publish</item>
         </block>
  +<!--
         <block>
           <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix</xsp:expr>/admin/passwd/index.html</xsp:attribute>Change&#160;Password</item>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix + "/authoring/matrix/"+projectid+".html?lenya.usecase=logout"</xsp:expr></xsp:attribute>Logout</item>
  +      </block>
  +-->
  +      <block>
  +        <item><xsp:attribute name="href">?lenya.usecase=logout</xsp:attribute>Logout</item>
         </block>
       </menu>
   
  @@ -54,13 +61,14 @@
           <item><xsp:attribute name="href">http://www.google.com</xsp:attribute>Google</item>
           <item href="http://dict.leo.org">Translate&#160;E2G&#160;or&#160;G2E</item>
         </block>
  +      <block>
  +        <item href="../../search-live/lucene">Search&#160;with&#160;Lucene</item>
  +      </block>
       </menu>
   
       <menu name="Help" label="Help">
         <block>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context</xsp:expr>/docs/index.html#user-guide</xsp:attribute>User's&#160;Guide</item>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context</xsp:expr>/docs/index.html#administrator-guide</xsp:attribute>Administrator's&#160;Guide</item>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context</xsp:expr>/docs/index.html#developer-guide</xsp:attribute>Developer's&#160;Guide</item>
  +        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context</xsp:expr>/docs-new/docs/index.html</xsp:attribute>Documentation</item>
         </block>
         <block>
           <item href="http://cocoon.apache.org/lenya/">About&#160;Lenya</item>
  @@ -72,12 +80,6 @@
           <item><xsp:attribute name="href"><xsp:expr>projectid</xsp:expr>.xml</xsp:attribute>View&#160;Page&#160;XML</item>
           <item><xsp:attribute name="href">body-<xsp:expr>projectid</xsp:expr>.xml</xsp:attribute>View&#160;Body&#160;XML</item>
         </block>
  -<!--
  -      <block>
  -        <item href="../../xopus/matrix.xsl">View&#160;Xopus&#160;XSLT</item>
  -        <item href="../../xopus/matrix.xsd">View&#160;Xopus&#160;XSD</item>
  -      </block>
  --->
       </menu>
     </menus>
   
  
  
  
  1.18      +19 -53    cocoon-lenya/src/webapp/lenya/pubs/oscom/config/menus/overview.xsp
  
  Index: overview.xsp
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/oscom/config/menus/overview.xsp,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- overview.xsp	31 Oct 2003 16:10:02 -0000	1.17
  +++ overview.xsp	17 Nov 2003 03:39:41 -0000	1.18
  @@ -2,18 +2,13 @@
   
   <xsp:page 
     language="java" 
  +  xmlns="http://apache.org/cocoon/lenya/menubar/1.0"
     xmlns:xsp="http://apache.org/xsp"
     xmlns:xsp-lenya="http://apache.org/cocoon/lenya/xsp/1.0"
  -    xmlns:xsp-request="http://apache.org/xsp/request/2.0"
  -    xmlns:input="http://apache.org/cocoon/xsp/input/1.0"
  -    xmlns:wf="http://apache.org/cocoon/lenya/workflow/1.0"
  +  xmlns:xsp-request="http://apache.org/xsp/request/2.0"
  +  xmlns:input="http://apache.org/cocoon/xsp/input/1.0"
   >
   
  -<xsp:structure>
  -  <xsp:include>org.apache.lenya.cms.publication.Publication</xsp:include>
  -  <xsp:include>org.apache.lenya.cms.publication.PublicationFactory</xsp:include>
  -</xsp:structure>
  -
   <menu>
   
     <xsp-lenya:util/>
  @@ -22,22 +17,25 @@
       <context-prefix><xsp-request:get-context-path/></context-prefix>
       <publication-id><input:get-attribute module="page-envelope" as="string" name="publication-id"/></publication-id>
       <area><input:get-attribute module="page-envelope" as="string" name="area"/></area>
  -    <document-id><input:get-attribute module="page-envelope" as="string" name="document-id"/>.html</document-id>
  +    <document-id><input:get-attribute module="page-envelope" as="string" name="document-id"/></document-id>
       <document-url><input:get-attribute module="page-envelope" as="string" name="document-url"/></document-url>
  -    <servlet-context-path><xsp:expr>((Publication) <input:get-attribute module="page-envelope" as="object" name="publication"/>).getServletContext().getCanonicalPath()</xsp:expr></servlet-context-path>
  +<!--
  +    <servlet-context-path><xsp:expr>publication.getServletContext().getCanonicalPath()</xsp:expr></servlet-context-path>
       <publication><input:get-attribute module="page-envelope" as="object" name="publication"/></publication>
  +-->
     </url-info>
   
  -  <live_uri>/matrix/index.html</live_uri>
  +  <live_uri>/index.html</live_uri>
  +
  +  <tabs>
  +    <tab label="info" show="false"/>
  +  </tabs>
   
     <menus>
       <menu name="File" label="File">
         <block>
           <item href="ParentChildScreenNewCMS?parentid=/matrix">New&#160;CMS&#160;Project</item>
         </block>
  -      <separator>
  -        <item>-----------------</item>
  -      </separator>
         <block>
   <!--
           <item>Edit&#160;with&#160;Xopus2</item>
  @@ -45,11 +43,8 @@
   -->
           <item href="../lenya/publishAllCMSProjectsScreen">Publish&#160;all&#160;projects</item>
         </block>
  -      <separator>
  -        <item>-----------------</item>
  -      </separator>
         <block>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context_prefix</xsp:expr>/authoring/matrix/index.html?lenya.usecase=logout</xsp:attribute>Logout</item>
  +        <item><xsp:attribute name="href">?lenya.usecase=logout</xsp:attribute>Logout</item>
         </block>
       </menu>
   
  @@ -58,17 +53,15 @@
           <item><xsp:attribute name="href">http://www.google.com</xsp:attribute>Google</item>
           <item href="http://dict.leo.org">Translate&#160;E2G&#160;or&#160;G2E</item>
         </block>
  +      <block>
  +        <item href="../../search-live/lucene">Search&#160;with&#160;Lucene</item>
  +      </block>
       </menu>
   
       <menu name="Help" label="Help">
         <block>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context</xsp:expr>/docs/index.html#user-guide</xsp:attribute>User's&#160;Guide</item>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context</xsp:expr>/docs/index.html#administrator-guide</xsp:attribute>Administrator's&#160;Guide</item>
  -        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context</xsp:expr>/docs/index.html#developer-guide</xsp:attribute>Developer's&#160;Guide</item>
  -      </block>
  -      <separator>
  -        <item>-----------------</item>
  -      </separator>
  +        <item><xsp:attribute name="href"><xsp:expr>xsp_lenya_context</xsp:expr>/docs-new/docs/index.html</xsp:attribute>Documentation</item>
  +      </block>
         <block>
           <item href="http://cocoon.apache.org/lenya/">About&#160;Lenya</item>
         </block>
  @@ -76,34 +69,7 @@
   
       <menu name="Debug" label="Debug">
         <block>
  -        <item>View&#160;Page&#160;XML</item>
  -        <item href="index.xml">View&#160;Body&#160;XML</item>
  -      </block>
  -<!--
  -      <block>
  -        <item href="weekly-column-page.xml">View&#160;Page&#160;XML</item>
  -        <item href="weekly-column-body.xml">View&#160;Body&#160;XML</item>
  -      </block>
  --->
  -      <separator>
  -        <item>-----------------</item>
  -      </separator>
  -      <block>
  -        <item>View&#160;Xopus&#160;XSLT</item>
  -        <item>View&#160;Xopus&#160;XSD</item>
  -      </block>
  -      <separator>
  -        <item>-----------------</item>
  -      </separator>
  -      <block>
  -<!--
  -        <item href="../bitflux/home.xsl">View&#160;Bitflux&#160;XSLT</item>
  -        <item href="../bitflux/home.xsd">View&#160;Bitflux&#160;XSD</item>
  -        <item href="../bitflux/home.css">View&#160;Bitflux&#160;CSS</item>
  --->
  -        <item>View&#160;Bitflux&#160;XSLT</item>
  -        <item>View&#160;Bitflux&#160;XSD</item>
  -        <item>View&#160;Bitflux&#160;CSS</item>
  +        <item href="index.xml">XML</item>
         </block>
       </menu>
     </menus>
  
  
  
  1.6       +2 -0      cocoon-lenya/src/webapp/lenya/pubs/oscom/xslt/matrix/authoring/main.xsl
  
  Index: main.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/oscom/xslt/matrix/authoring/main.xsl,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- main.xsl	11 Apr 2003 14:25:43 -0000	1.5
  +++ main.xsl	17 Nov 2003 03:39:41 -0000	1.6
  @@ -4,11 +4,13 @@
    
   <xsl:output version="1.0" indent="yes" encoding="ISO-8859-1"/>
   
  +<!--
   <xsl:include href="../../../../../xslt/menu/root.xsl"/>
   
   <xsl:template match="cmsbody">
     <xsl:apply-templates select="oscom"/>
   </xsl:template>
  +-->
   
   <xsl:include href="../../html_authoring.xsl"/>
   <xsl:include href="../body.xsl"/>
  
  
  
  1.7       +2 -0      cocoon-lenya/src/webapp/lenya/pubs/oscom/xslt/overview/authoring/main.xsl
  
  Index: main.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/oscom/xslt/overview/authoring/main.xsl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- main.xsl	11 Apr 2003 14:25:43 -0000	1.6
  +++ main.xsl	17 Nov 2003 03:39:41 -0000	1.7
  @@ -4,11 +4,13 @@
    
   <xsl:output version="1.0" indent="yes" encoding="ISO-8859-1"/>
   
  +<!--
   <xsl:include href="../../../../../xslt/menu/root.xsl"/>
   
   <xsl:template match="cmsbody">
     <xsl:apply-templates select="oscom"/>
   </xsl:template>
  +-->
   
   <xsl:include href="../../html_authoring.xsl"/>
   <xsl:include href="../body.xsl"/>
  
  
  

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