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/06/23 18:40:10 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/pubs/oscom/config/menus overview.xsp

michi       2003/06/23 09:40:10

  Modified:    src/webapp/lenya/pubs/oscom/config/menus overview.xsp
  Log:
  menubar fixed
  
  Revision  Changes    Path
  1.13      +21 -0     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.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- overview.xsp	4 May 2003 22:20:11 -0000	1.12
  +++ overview.xsp	23 Jun 2003 16:40:10 -0000	1.13
  @@ -4,11 +4,32 @@
     language="java" 
     xmlns:xsp="http://apache.org/xsp"
     xmlns:xsp-lenya="http://www.lenya.org/xsp/lenya/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"
   >
   
  +<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/>
  +
  +   <xsp:logic>
  +    Publication publication = PublicationFactory.getPublication(objectModel);
  +  </xsp:logic>
  +
  +  <url-info>
  +    <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>
  +    <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>
   
  
  
  

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