cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/portal/samples/profiles/layout portal.xml
Date Mon, 29 Sep 2003 11:37:50 GMT
cziegeler    2003/09/29 04:37:50

  Modified:    src/blocks/portal/samples/profiles/copletdata portal.xml
               src/blocks/portal/samples/profiles/copletinstancedata
                        portal.xml
               src/blocks/portal/samples/profiles/layout portal.xml
  Added:       src/blocks/portal/samples/news/content/xdocs
                        portal-right.xml portal-bottom.xml portal-intro.xml
                        portal-left.xml
  Log:
  Adding a main page to the portal demo
  
  Revision  Changes    Path
  1.7       +38 -0     cocoon-2.1/src/blocks/portal/samples/profiles/copletdata/portal.xml
  
  Index: portal.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/portal/samples/profiles/copletdata/portal.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- portal.xml	2 Sep 2003 08:34:17 -0000	1.6
  +++ portal.xml	29 Sep 2003 11:37:49 -0000	1.7
  @@ -115,4 +115,42 @@
         	<value xsi:type="java:java.lang.String" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">cocoon:/news/overview.html</value>
         </attribute>
      </coplet-data>
  +
  +   <!-- The portal introduction coplet -->
  +   <coplet-data id="Portal-Intro" name="standard">
  +      <title>Introduction</title>
  +      <coplet-base-data>URICoplet</coplet-base-data>
  +      <attribute>
  +      	<name>uri</name>
  +      	<value xsi:type="java:java.lang.String" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">cocoon:/news/portal-intro.html</value>
  +      </attribute>
  +   </coplet-data>
  +   <coplet-data id="Portal-Right" name="standard">
  +      <title>Right</title>
  +      <coplet-base-data>URICoplet</coplet-base-data>
  +      <attribute>
  +      	<name>uri</name>
  +      	<value xsi:type="java:java.lang.String" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">cocoon:/news/portal-right.html</value>
  +      </attribute>
  +   </coplet-data>
  +
  +   <coplet-data id="Portal-Left" name="standard">
  +      <title>Left</title>
  +      <coplet-base-data>URICoplet</coplet-base-data>
  +      <attribute>
  +      	<name>uri</name>
  +      	<value xsi:type="java:java.lang.String" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">cocoon:/news/portal-left.html</value>
  +      </attribute>
  +   </coplet-data>
  +
  +   <coplet-data id="Portal-Bottom" name="standard">
  +      <title>Bottom</title>
  +      <coplet-base-data>URICoplet</coplet-base-data>
  +      <attribute>
  +      	<name>uri</name>
  +      	<value xsi:type="java:java.lang.String" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">cocoon:/news/portal-bottom.html</value>
  +      </attribute>
  +   </coplet-data>
  +
  +
   </coplets>
  
  
  
  1.1                  cocoon-2.1/src/blocks/portal/samples/news/content/xdocs/portal-right.xml
  
  Index: portal-right.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <document> 
    <header> 
  	 <title>Customization</title>
  	 <version>0.1</version> 
  	 <type>Overview document</type> 
    </header> 
    <body> 
  <s1 title="Customization"> 
  <p>The whole portal engine is built up by a set of (Avalon) components.
    You can customize (change/enhance) every aspect of the portal by
    using a different component for the same task.</p>
     </s1> 
  
    </body>
  </document>
  
  
  
  1.1                  cocoon-2.1/src/blocks/portal/samples/news/content/xdocs/portal-bottom.xml
  
  Index: portal-bottom.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <document> 
    <header> 
  	 <title>Further Information</title>
  	 <version>0.1</version> 
  	 <type>Overview document</type> 
    </header> 
    <body> 
  	 <s1 title="Further Information"> 
  		<p>For further information have a look at the Cocoon documentation
                and at the other portal demos available using the tab above.</p>
     </s1> 
  
    </body>
  </document>
  
  
  
  1.1                  cocoon-2.1/src/blocks/portal/samples/news/content/xdocs/portal-intro.xml
  
  Index: portal-intro.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <document> 
    <header> 
  	 <title>The Cocoon Portal</title>
  	 <version>0.1</version> 
  	 <type>Overview document</type> 
    </header> 
    <body> 
  	 <s1 title="The Apache Cocoon Portal"> 
  		<p>This is a demo of the Cocoon Portal Engine.</p>
              <p>The Cocoon portal page you currently view displays some so called
                <em>Coplets</em> (= Cocoon Portlets). Each coplet displays
                a select content.</p> 
         <p>For more information <fork href="http://cocoon.apache.org">visit the
Cocoon Homepage</fork>.</p>
     </s1> 
  
    </body>
  </document>
  
  
  
  1.1                  cocoon-2.1/src/blocks/portal/samples/news/content/xdocs/portal-left.xml
  
  Index: portal-left.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <document> 
    <header> 
  	 <title>Flexible Layout</title>
  	 <version>0.1</version> 
  	 <type>Overview document</type> 
    </header> 
    <body> 
  	 <s1 title="Flexible Layout"> 
         <p>You are absolutly free in defining the portal layout. You can combine
           the usual layout elements, like rows and columns, in any order and
           even can nest them.</p>
         <p>By this you can create coplets, like the sample above and below, that span
           more than one column etc.</p>
         <p>Even more complex elements, like tabs are possible.</p>
     </s1> 
  
    </body>
  </document>
  
  
  
  1.4       +13 -0     cocoon-2.1/src/blocks/portal/samples/profiles/copletinstancedata/portal.xml
  
  Index: portal.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/portal/samples/profiles/copletinstancedata/portal.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- portal.xml	23 Jun 2003 07:22:43 -0000	1.3
  +++ portal.xml	29 Sep 2003 11:37:49 -0000	1.4
  @@ -47,4 +47,17 @@
      <coplet-instance-data id="Overview-1" name="standard">
         <coplet-data>Overview</coplet-data>
      </coplet-instance-data>
  +
  +   <coplet-instance-data id="Portal-Intro-1" name="standard">
  +      <coplet-data>Portal-Intro</coplet-data>
  +   </coplet-instance-data>
  +   <coplet-instance-data id="Portal-Right-1" name="standard">
  +      <coplet-data>Portal-Right</coplet-data>
  +   </coplet-instance-data>
  +   <coplet-instance-data id="Portal-Left-1" name="standard">
  +      <coplet-data>Portal-Left</coplet-data>
  +   </coplet-instance-data>
  +   <coplet-instance-data id="Portal-Bottom-1" name="standard">
  +      <coplet-data>Portal-Bottom</coplet-data>
  +   </coplet-instance-data>
   </coplets>
  
  
  
  1.9       +37 -0     cocoon-2.1/src/blocks/portal/samples/profiles/layout/portal.xml
  
  Index: portal.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/portal/samples/profiles/layout/portal.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- portal.xml	2 Sep 2003 08:34:20 -0000	1.8
  +++ portal.xml	29 Sep 2003 11:37:50 -0000	1.9
  @@ -1,5 +1,42 @@
   <?xml version="1.0" encoding="UTF-8"?>
   <composite-layout static="true" name="tab">
  +  <named-item name="Main">
  +    <composite-layout name="row">
  +      <item>
  +        <composite-layout name="column">
  +          <item>
  +            <coplet-layout name="coplet">
  +              <parameter name="title" value="Introduction"/>
  +              <coplet-instance-data>Portal-Intro-1</coplet-instance-data>
  +            </coplet-layout>
  +          </item>
  +        </composite-layout>
  +      </item>
  +      <item>
  +        <composite-layout name="column">
  +          <item>
  +            <coplet-layout name="coplet">
  +		  <parameter name="title" value="Left Demo" />
  +		  <coplet-instance-data>Portal-Left-1</coplet-instance-data>
  +            </coplet-layout>
  +          </item>
  +          <item>
  +            <coplet-layout name="coplet">
  +		  <parameter name="title" value="Right Demo"/>
  +		  <coplet-instance-data>Portal-Right-1</coplet-instance-data>
  +            </coplet-layout>
  +  	    </item>
  +        </composite-layout>
  +      </item>
  +      <item>
  +        <coplet-layout name="coplet">
  +	    <parameter name="title" value="Portal Bottom Demo" />
  +	    <coplet-instance-data>Portal-Bottom-1</coplet-instance-data>
  +        </coplet-layout>
  +      </item>
  +    </composite-layout>
  +
  +  </named-item>
       <named-item name="News">
           <composite-layout name="column">
               <item>
  
  
  

Mime
View raw message