portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/layout-portlets/src/webapp/WEB-INF portlet.xml
Date Thu, 05 Aug 2004 23:36:12 GMT
weaver      2004/08/05 16:36:12

  Modified:    layout-portlets/src/webapp/WEB-INF portlet.xml
  Log:
  added "layoutType" which is used to get properties from a Fragment based on layout.
  
  Revision  Changes    Path
  1.2       +1 -1      jakarta-jetspeed-2/layout-portlets/src/webapp/WEB-INF/portlet.xml
  
  Index: portlet.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/layout-portlets/src/webapp/WEB-INF/portlet.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- portlet.xml	10 Jun 2004 20:12:45 -0000	1.1
  +++ portlet.xml	5 Aug 2004 23:36:11 -0000	1.2
  @@ -1 +1 @@
  -<?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-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>
    <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>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>
    <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-app>

  \ No newline at end of file
  
  
  

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