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 es...@apache.org on 2006/08/20 03:17:50 UTC
svn commit: r432920 -
/portals/pluto/branches/pluto-1.0.2/portal/src/java/org/apache/pluto/portalImpl/core/DynamicTitleServiceImpl.java
Author: esm
Date: Sat Aug 19 18:17:49 2006
New Revision: 432920
URL: http://svn.apache.org/viewvc?rev=432920&view=rev
Log:
[PLUTO-196]: Updated the Dynamic Title Service to store portlet titles using the PortletWindow Id. The request attribute is now "org.apache.pluto.dynamic_title"+window.getId()
Fix submitted by Robert Simpson (robs.apache1@MailScreen.com) - thanks Robert!
Modified:
portals/pluto/branches/pluto-1.0.2/portal/src/java/org/apache/pluto/portalImpl/core/DynamicTitleServiceImpl.java
Modified: portals/pluto/branches/pluto-1.0.2/portal/src/java/org/apache/pluto/portalImpl/core/DynamicTitleServiceImpl.java
URL: http://svn.apache.org/viewvc/portals/pluto/branches/pluto-1.0.2/portal/src/java/org/apache/pluto/portalImpl/core/DynamicTitleServiceImpl.java?rev=432920&r1=432919&r2=432920&view=diff
==============================================================================
--- portals/pluto/branches/pluto-1.0.2/portal/src/java/org/apache/pluto/portalImpl/core/DynamicTitleServiceImpl.java (original)
+++ portals/pluto/branches/pluto-1.0.2/portal/src/java/org/apache/pluto/portalImpl/core/DynamicTitleServiceImpl.java Sat Aug 19 18:17:49 2006
@@ -35,13 +35,13 @@
HttpServletRequest request,
String dynamicTitle)
{
- request.setAttribute("org.apache.pluto.dynamic_title", dynamicTitle);
+ request.setAttribute("org.apache.pluto.dynamic_title"+window.getId(), dynamicTitle);
}
public String getDynamicTitle(PortletWindow window,
HttpServletRequest request)
{
- return (String)request.getAttribute("org.apache.pluto.dynamic_title");
+ return (String)request.getAttribute("org.apache.pluto.dynamic_title"+window.getId());
}