You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by dd...@apache.org on 2007/03/29 07:24:35 UTC
svn commit: r523568 - in /portals/pluto/trunk:
pluto-portal/src/main/resources/pluto-portal-driver-config.xml
pluto-portal/src/main/webapp/WEB-INF/themes/navigation.jsp
pluto-site/src/site/fml/faq.fml
Author: ddewolf
Date: Wed Mar 28 22:24:34 2007
New Revision: 523568
URL: http://svn.apache.org/viewvc?view=rev&rev=523568
Log:
Merging from branch; docs and static about
Modified:
portals/pluto/trunk/pluto-portal/src/main/resources/pluto-portal-driver-config.xml
portals/pluto/trunk/pluto-portal/src/main/webapp/WEB-INF/themes/navigation.jsp
portals/pluto/trunk/pluto-site/src/site/fml/faq.fml
Modified: portals/pluto/trunk/pluto-portal/src/main/resources/pluto-portal-driver-config.xml
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-portal/src/main/resources/pluto-portal-driver-config.xml?view=diff&rev=523568&r1=523567&r2=523568
==============================================================================
--- portals/pluto/trunk/pluto-portal/src/main/resources/pluto-portal-driver-config.xml (original)
+++ portals/pluto/trunk/pluto-portal/src/main/resources/pluto-portal-driver-config.xml Wed Mar 28 22:24:34 2007
@@ -51,9 +51,6 @@
<portlet context="/testsuite" name="TestPortlet1"/>
<portlet context="/testsuite" name="TestPortlet2"/>
</page>
- <page name="About Pluto" uri="/WEB-INF/themes/pluto-default-theme.jsp">
- <portlet context="/pluto" name="AboutPortlet"/>
- </page>
<page name="Pluto Admin" uri="/WEB-INF/themes/pluto-default-theme.jsp">
<portlet context="/pluto" name="PlutoPageAdmin"/>
<portlet context="/pluto" name="AboutPortlet"/>
Modified: portals/pluto/trunk/pluto-portal/src/main/webapp/WEB-INF/themes/navigation.jsp
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-portal/src/main/webapp/WEB-INF/themes/navigation.jsp?view=diff&rev=523568&r1=523567&r2=523568
==============================================================================
--- portals/pluto/trunk/pluto-portal/src/main/webapp/WEB-INF/themes/navigation.jsp (original)
+++ portals/pluto/trunk/pluto-portal/src/main/webapp/WEB-INF/themes/navigation.jsp Wed Mar 28 22:24:34 2007
@@ -4,6 +4,9 @@
<div id="navigation">
<h2>Navigation:</h2>
<ul>
+ <li>
+ <a href='<c:out value="${pageContext.request.contextPath}"/>/about.jsp'>About Pluto</a>
+ </li>
<c:forEach var="page" items="${driverConfig.pages}">
<c:choose>
<c:when test="${page == currentPage}">
Modified: portals/pluto/trunk/pluto-site/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-site/src/site/fml/faq.fml?view=diff&rev=523568&r1=523567&r2=523568
==============================================================================
--- portals/pluto/trunk/pluto-site/src/site/fml/faq.fml (original)
+++ portals/pluto/trunk/pluto-site/src/site/fml/faq.fml Wed Mar 28 22:24:34 2007
@@ -1,9 +1,11 @@
<?xml version="1.0"?>
<!--
-Copyright 1999-2006 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
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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
@@ -17,76 +19,131 @@
// ======================================================================== 78
-->
<faqs title="Frequently Asked Questions">
- <part id="general">
- <faq id="version">
- <question>Which version of Pluto should I use?</question>
- <answer>
- <p>
- The latest release from the 1.1.x series is the current
- stable release. We recommend that you use this if you
- are looking for a stable release.
- </p>
-
- <p>
- Pluto 1.2.x is currently under development. The primary
- chanages between 1.1.x and 1.2.x is that the 1.2 series
- will require Java1.5. If you are looking for generics
- support and other Java5 features, you may want to become
- an early adopter of 1.2.x.
- </p>
-
- <p>
- There is also a branch which has been created to foster
- the development of JSR-286 support. We hope that this
- branch eventually becomes the 2.x series, however, the
- development is currently very immature. If you are
- looking for JSR-286 support, we recommend that you
- utilize and help us flush out this version.
- </p>
- </answer>
- </faq>
-
- <faq id="10">
- <question>I've seen references to Pluto 1.0.0. What's the deal?</question>
- <answer>
- <p>
- Pluto 1.0.x is based off of the code base which was
- originally donated to the ASF by IBM. The first release
- candidate in this series was published on October 8, 2004.
- </p>
- <p>
- Around the same time that this release occured Pluto
- 1.1.0-ALPHA was imported into our source repository.
- The 1.1.x series is a refactoring/rewrite of Pluto. It's
- entire purpose is to simplify the container and make it
- easier for both Portlet Developers and Portal Developers
- looking to embed Pluto into their portal to use Pluto.
- </p>
- <p>
- Now that Pluto 1.1.0 has been released, our team highly
- recommends that you migrate to it. Pluto 1.0.x development
- has been stagnant for some time and there are no plans to
- support it in the future. Pluto 1.1.0 on the otherhand
- will be the basis for all development currently envisioned
- (including jsr 286 support).
- </p>
- </answer>
- </faq>
-
- <faq id="portal">
- <question>Is Pluto an Enterprise Portal?</question>
- <answer>
- No, the Pluto project aims to provide a Java Specification
- compliant Portlet Container. In order to support the container,
- the Pluto project provides a simple portal, however, this does
- not provides optional services such as single sign on. If you
- are looking for an Open Source enterprise Portal implementation,
- there are several available. Apache Jetspeed is an enterprise
- portal hosted by the Apache Software Foundation. Sakai and uPortal
- are both educational portals which utilize Pluto as their container.
- There are many other open source portals.
- </answer>
- </faq>
+ <part id="general">
+ <faq id="version">
+ <question>Which version of Pluto should I use?</question>
+ <answer>
+ <p>
+ The latest release from the 1.1.x series is the current
+ stable release. We recommend that you use this if you
+ are looking for a stable release.
+ </p>
+
+ <p>
+ Pluto 1.2.x is currently under development. The primary
+ chanages between 1.1.x and 1.2.x is that the 1.2 series
+ will require Java1.5. If you are looking for generics
+ support and other Java5 features, you may want to become
+ an early adopter of 1.2.x.
+ </p>
+
+ <p>
+ There is also a branch which has been created to foster
+ the development of JSR-286 support. We hope that this
+ branch eventually becomes the 2.x series, however, the
+ development is currently very immature. If you are
+ looking for JSR-286 support, we recommend that you
+ utilize and help us flush out this version.
+ </p>
+ </answer>
+ </faq>
+
+ <faq id="10">
+ <question>I've seen references to Pluto 1.0.0. What's the deal?</question>
+ <answer>
+ <p>
+ Pluto 1.0.x is based off of the code base which was
+ originally donated to the ASF by IBM. The first release
+ candidate in this series was published on October 8, 2004.
+ </p>
+ <p>
+ Around the same time that this release occured Pluto
+ 1.1.0-ALPHA was imported into our source repository.
+ The 1.1.x series is a refactoring/rewrite of Pluto. It's
+ entire purpose is to simplify the container and make it
+ easier for both Portlet Developers and Portal Developers
+ looking to embed Pluto into their portal to use Pluto.
+ </p>
+ <p>
+ Now that Pluto 1.1.0 has been released, our team highly
+ recommends that you migrate to it. Pluto 1.0.x development
+ has been stagnant for some time and there are no plans to
+ support it in the future. Pluto 1.1.0 on the otherhand
+ will be the basis for all development currently envisioned
+ (including jsr 286 support).
+ </p>
+ </answer>
+ </faq>
+
+ <faq id="portal">
+ <question>Is Pluto an Enterprise Portal?</question>
+ <answer>
+ No, the Pluto project aims to provide a Java Specification
+ compliant Portlet Container. In order to support the container,
+ the Pluto project provides a simple portal, however, this does
+ not provides optional services such as single sign on. If you
+ are looking for an Open Source enterprise Portal implementation,
+ there are several available. Apache Jetspeed is an enterprise
+ portal hosted by the Apache Software Foundation. Sakai and uPortal
+ are both educational portals which utilize Pluto as their container.
+ There are many other open source portals.
+ </answer>
+ </faq>
+
+ <faq id="simple-embed">
+ <question>What's the easiest way to include a portlet in my webapp</question>
+ <answer>
+ <p>
+ Simple, use the Pluto Portal Drivers "PortalDriverFilter". This allows
+ you to embed a portlet directly into a jsp page. To use it, do the following:
+ </p>
+ <p>
+ <ul>
+ <li>Add the Portal Driver listener Configuration to your web.xml
+ <textarea style="border:0; width: 100%; background:transparent; color:#555555" rows="3" readonly="true">
+<listener>
+ <listener-class>org.apache.pluto.driver.PortalStartupListener</listener-class>
+</listener>
+ </textarea>
+ </li>
+ <li>Add the PortalDriverFilter configuration to your web.xml
+ <textarea style="border:0; width: 100%; background:transparent; color:#555555" rows="15" readonly="true">
+<filter>
+ <filter-name>plutoPortalDriver</filter-name>
+ <filter-class>org.apache.pluto.driver.PortalDriverFilter</filter-class>
+</filter>
+
+<filter-mapping>
+ <filter-name>plutoPortalDriver</filter-name>
+ <url-pattern>/about.jsp</url-pattern>
+</filter-mapping>
+
+<filter-mapping>
+ <filter-name>plutoPortalDriver</filter-name>
+ <url-pattern>/about.jsp/*</url-pattern>
+</filter-mapping>
+ </textarea>
+ </li>
+ <li>Include the portlet (and perhaps some controls?) in your jsp.
+ <textarea style="border:0; width: 100%; background:transparent; color:#555555" rows="15" readonly="true">
+%@ taglib uri="http://portals.apache.org/pluto" prefix="pluto" %
+
+<pluto:portlet portletId="${portlet}">
+ <div class="portlet" id='>c:out value="${portlet}"/>'>
+ <div class="header">
+ <h2 class="title"><pluto:title/></h2>
+ </div>
+ <div class="body">
+ <pluto:render/>
+ </div>
+ </div>
+</pluto:portlet>
+ </textarea>
+ </li>
+ </ul>
+ </p>
+ </answer>
+ </faq>
- </part>
+ </part>
</faqs>