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 cd...@apache.org on 2006/09/01 13:37:51 UTC
svn commit: r439275 - in /portals/pluto/trunk/pluto-portal/src/main/webapp:
WEB-INF/themes/pluto-default-theme.jsp WEB-INF/web.xml pluto.css
Author: cdoremus
Date: Fri Sep 1 04:37:51 2006
New Revision: 439275
URL: http://svn.apache.org/viewvc?rev=439275&view=rev
Log:
Adds portal logout servlet to fix PLUTO-214. Thank you Sunil Patil for your suggestions.
Modified:
portals/pluto/trunk/pluto-portal/src/main/webapp/WEB-INF/themes/pluto-default-theme.jsp
portals/pluto/trunk/pluto-portal/src/main/webapp/WEB-INF/web.xml
portals/pluto/trunk/pluto-portal/src/main/webapp/pluto.css
Modified: portals/pluto/trunk/pluto-portal/src/main/webapp/WEB-INF/themes/pluto-default-theme.jsp
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-portal/src/main/webapp/WEB-INF/themes/pluto-default-theme.jsp?rev=439275&r1=439274&r2=439275&view=diff
==============================================================================
--- portals/pluto/trunk/pluto-portal/src/main/webapp/WEB-INF/themes/pluto-default-theme.jsp (original)
+++ portals/pluto/trunk/pluto-portal/src/main/webapp/WEB-INF/themes/pluto-default-theme.jsp Fri Sep 1 04:37:51 2006
@@ -44,7 +44,12 @@
<h1>Apache Pluto</h1>
<p>An Apache Portals Project</p>
</div>
-
+
+ <!-- Logout link -->
+ <div id="logout">
+ <a href="<c:url value='/Logout'/>">Logout</a>
+ </div>
+
<!-- Navigation block: links to portal pages -->
<div id="navigation">
<h2>Navigation:</h2>
Modified: portals/pluto/trunk/pluto-portal/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-portal/src/main/webapp/WEB-INF/web.xml?rev=439275&r1=439274&r2=439275&view=diff
==============================================================================
--- portals/pluto/trunk/pluto-portal/src/main/webapp/WEB-INF/web.xml (original)
+++ portals/pluto/trunk/pluto-portal/src/main/webapp/WEB-INF/web.xml Fri Sep 1 04:37:51 2006
@@ -36,6 +36,13 @@
</servlet>
<servlet>
+ <servlet-name>plutoPortalDriverLogout</servlet-name>
+ <display-name>Pluto Portal Driver</display-name>
+ <description>Pluto Portal Driver Logout</description>
+ <servlet-class>org.apache.pluto.driver.PortalDriverLogoutServlet</servlet-class>
+ </servlet>
+
+ <servlet>
<servlet-name>portletApplicationPublisher</servlet-name>
<display-name>Portlet Application Publisher</display-name>
<description>Portlet Application Publisher Service</description>
@@ -75,6 +82,11 @@
<url-pattern>/portal/*</url-pattern>
</servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>plutoPortalDriverLogout</servlet-name>
+ <url-pattern>/Logout</url-pattern>
+ </servlet-mapping>
+
<servlet-mapping>
<servlet-name>portletApplicationPublisher</servlet-name>
<url-pattern>/admin/Publish</url-pattern>
Modified: portals/pluto/trunk/pluto-portal/src/main/webapp/pluto.css
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-portal/src/main/webapp/pluto.css?rev=439275&r1=439274&r2=439275&view=diff
==============================================================================
--- portals/pluto/trunk/pluto-portal/src/main/webapp/pluto.css (original)
+++ portals/pluto/trunk/pluto-portal/src/main/webapp/pluto.css Fri Sep 1 04:37:51 2006
@@ -50,6 +50,10 @@
font-size: smaller;
}
+#logout {
+ float:right;
+ font-size:smaller;
+}
/** 'navigation' block **/