portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/webapp/WEB-INF portlet.xml
Date Thu, 23 Sep 2004 03:30:34 GMT
taylor      2004/09/22 20:30:34

  Modified:    portal/src/webapp/WEB-INF portlet.xml
  Log:
  Support for nested fragments!
  Contribution from Randy Watler
  Layout fragments can now be nested inside other fragments such as:
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.12      +152 -1    jakarta-jetspeed-2/portal/src/webapp/WEB-INF/portlet.xml
  
  Index: portlet.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/portlet.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- portlet.xml	3 Sep 2004 19:48:27 -0000	1.11
  +++ portlet.xml	23 Sep 2004 03:30:34 -0000	1.12
  @@ -1 +1,152 @@
  -<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2004 The Apache Software
Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use
this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed
to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific
language governing permissions and
limitations under the License.
-->

<portlet-app
id="jetspeed" version="1.0">
    <portlet id="TwoColumns">
    <portlet-name>TwoColumns</portlet-name>
   <display-name>Two Columns Layout</display-name>
    <init-param>
   
  <name>ViewPage</name>
      <value>/WEB-INF/layout/columns.jsp</value>
   </init-param>
    <init-param>
      <name>columns</name>
    
 <value>2</value>
    </init-param>
    <init-param>
      <name>sizes</name>
     <value>50%,50%</value>
    </init-param>
    <portlet-class>org.apache.jetspeed.portlets.layout.MultiColumnPortlet</portlet-class>
   <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
     <portlet-mode>VIEW</portlet-mode>
    </supports>
    <portlet-info>
     <title>TwoColumns</title>
      <short-title>TwoColumns</short-title>
   </portlet-info>
</portlet>

<portlet id="VelocityTwoColumns">
    <portlet-name>VelocityTwoColumns</portlet-name>
   <display-name>Two Columns Layout Using Velocity</display-name>
    <init-param>
     <name>ViewPage</name>
      <value>columns</value>
    </init-param>
   <init-param>
      <name>MaxPage</name>
      <value>maximized</value>
   </init-param>
    <init-param>
      <name>columns</name>
    
 <value>2</value>
    </init-param>
    <init-param>
      <name>sizes</name>
     <value>50%,50%</value>
    </init-param>
    <portlet-class>org.apache.jetspeed.portlets.layout.MultiColumnPortlet</portlet-class>
   <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
     <portlet-mode>VIEW</portlet-mode>
    </supports>
    <portlet-info>
     <title>VelocityTwoColumns</title>
      <short-title>TwoColumns</short-title>
   </portlet-info>
</portlet>

<portlet id="VelocityThreeColumns">
    <portlet-name>VelocityThreeColumns</portlet-name>
   <display-name>Three Columns Layout Using Velocity</display-name>
    <init-param>
     <name>ViewPage</name>
      <value>columns</value>
    </init-param>
   <init-param>
      <name>MaxPage</name>
      <value>maximized</value>
   </init-param>
    <init-param>
      <name>columns</name>
    
 <value>3</value>
    </init-param>
    <init-param>
      <name>sizes</name>
     <value>33%,33%,33%</value>
    </init-param>
    <portlet-class>org.apache.jetspeed.portlets.layout.MultiColumnPortlet</portlet-class>
   <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
     <portlet-mode>VIEW</portlet-mode>
      <portlet-mode>EDIT</portlet-mode>
   </supports>
    <portlet-info>
      <title>VelocityThreeColumns</title>
     <short-title>ThreeColumns</short-title>
    </portlet-info>
</portlet>

</portlet-app>

  \ No newline at end of file
  +<?xml version="1.0" encoding="UTF-8"?>
  +<!--
  +Copyright 2004 The Apache Software Foundation
  +Licensed under the Apache License, Version 2.0 (the "License");
  +you may not use this file except in compliance with the License.
  +You may obtain a copy of the License at
  +
  +    http://www.apache.org/licenses/LICENSE-2.0
  +
  +Unless required by applicable law or agreed to in writing, software
  +distributed under the License is distributed on an "AS IS" BASIS,
  +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  +See the License for the specific language governing permissions and
  +limitations under the License.
  +-->
  +
  +<portlet-app id="jetspeed" version="1.0">
  +    <portlet id="TwoColumns">
  +    <portlet-name>TwoColumns</portlet-name>
  +    <display-name>Two Columns Layout</display-name>
  +    <init-param>
  +      <name>ViewPage</name>
  +      <value>/WEB-INF/layout/columns.jsp</value>
  +    </init-param>
  +    <init-param>
  +      <name>columns</name>
  +      <value>2</value>
  +    </init-param>
  +    <init-param>
  +      <name>sizes</name>
  +      <value>50%,50%</value>
  +    </init-param>
  +    <portlet-class>org.apache.jetspeed.portlets.layout.MultiColumnPortlet</portlet-class>
  +    <expiration-cache>-1</expiration-cache>
  +    <supports>
  +      <mime-type>text/html</mime-type>
  +      <portlet-mode>VIEW</portlet-mode>
  +    </supports>
  +    <portlet-info>
  +      <title>TwoColumns</title>
  +      <short-title>TwoColumns</short-title>
  +    </portlet-info>
  +</portlet>
  +
  +<portlet id="VelocityOneColumn">
  +    <portlet-name>VelocityOneColumn</portlet-name>
  +    <display-name>One Column Layout Using Velocity</display-name>
  +    <init-param>
  +      <name>ViewPage</name>
  +      <value>columns</value>
  +    </init-param>
  +    <init-param>
  +      <name>MaxPage</name>
  +      <value>maximized</value>
  +    </init-param>
  +    <init-param>
  +      <name>columns</name>
  +      <value>1</value>
  +    </init-param>
  +    <init-param>
  +      <name>sizes</name>
  +      <value>100%</value>
  +    </init-param>
  +    <init-param>
  +      <name>layoutType</name>
  +      <value>OneColumn</value>
  +    </init-param>
  +    <portlet-class>org.apache.jetspeed.portlets.layout.MultiColumnPortlet</portlet-class>
  +    <expiration-cache>-1</expiration-cache>
  +    <supports>
  +      <mime-type>text/html</mime-type>
  +      <portlet-mode>VIEW</portlet-mode>
  +    </supports>
  +    <portlet-info>
  +      <title>VelocityOneColumn</title>
  +      <short-title>OneColumn</short-title>
  +    </portlet-info>
  +</portlet>
  +
  +<portlet id="VelocityTwoColumns">
  +    <portlet-name>VelocityTwoColumns</portlet-name>
  +    <display-name>Two Columns Layout Using Velocity</display-name>
  +    <init-param>
  +      <name>ViewPage</name>
  +      <value>columns</value>
  +    </init-param>
  +    <init-param>
  +      <name>MaxPage</name>
  +      <value>maximized</value>
  +    </init-param>
  +    <init-param>
  +      <name>columns</name>
  +      <value>2</value>
  +    </init-param>
  +    <init-param>
  +      <name>sizes</name>
  +      <value>50%,50%</value>
  +    </init-param>
  +    <init-param>
  +      <name>layoutType</name>
  +      <value>TwoColumns</value>
  +    </init-param>
  +    <portlet-class>org.apache.jetspeed.portlets.layout.MultiColumnPortlet</portlet-class>
  +    <expiration-cache>-1</expiration-cache>
  +    <supports>
  +      <mime-type>text/html</mime-type>
  +      <portlet-mode>VIEW</portlet-mode>
  +    </supports>
  +    <portlet-info>
  +      <title>VelocityTwoColumns</title>
  +      <short-title>TwoColumns</short-title>
  +    </portlet-info>
  +</portlet>
  +
  +<portlet id="VelocityThreeColumns">
  +    <portlet-name>VelocityThreeColumns</portlet-name>
  +    <display-name>Three Columns Layout Using Velocity</display-name>
  +    <init-param>
  +      <name>ViewPage</name>
  +      <value>columns</value>
  +    </init-param>
  +    <init-param>
  +      <name>MaxPage</name>
  +      <value>maximized</value>
  +    </init-param>
  +    <init-param>
  +      <name>columns</name>
  +      <value>3</value>
  +    </init-param>
  +    <init-param>
  +      <name>sizes</name>
  +      <value>33%,33%,33%</value>
  +    </init-param>
  +    <init-param>
  +      <name>layoutType</name>
  +      <value>ThreeColumns</value>
  +    </init-param>
  +    <portlet-class>org.apache.jetspeed.portlets.layout.MultiColumnPortlet</portlet-class>
  +    <expiration-cache>-1</expiration-cache>
  +    <supports>
  +      <mime-type>text/html</mime-type>
  +      <portlet-mode>VIEW</portlet-mode>
  +      <portlet-mode>EDIT</portlet-mode>
  +    </supports>
  +    <portlet-info>
  +      <title>VelocityThreeColumns</title>
  +      <short-title>ThreeColumns</short-title>
  +    </portlet-info>
  +</portlet>
  +
  +</portlet-app>
  +
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message