You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by we...@apache.org on 2004/09/03 21:42:42 UTC

cvs commit: jakarta-jetspeed-2/layout-portlets/src/webapp/WEB-INF portlet.xml

weaver      2004/09/03 12:42:42

  Modified:    layout-portlets/src/webapp/WEB-INF portlet.xml
  Log:
  Added 3 column definition
  
  Revision  Changes    Path
  1.4       +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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- portlet.xml	6 Aug 2004 00:31:58 -0000	1.3
  +++ portlet.xml	3 Sep 2004 19:42:42 -0000	1.4
  @@ -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>
    <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>
      <mime-type>text/html</mime-type>
      <portlet-mode>EDIT</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>
       <mime-type>text/html</mime-type>
      <portlet-mode>EDIT</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>
      <mime-type>text/html</mime-type>
      <portlet-mode>EDIT</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>
       <mime-type>text/html</mime-type>
      <portlet-mode>EDIT</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
  
  
  

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