You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2005/06/28 21:09:56 UTC
svn commit: r202270 -
/cocoon/blocks/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletRequest.java
Author: vgritsenko
Date: Tue Jun 28 12:09:54 2005
New Revision: 202270
URL: http://svn.apache.org/viewcvs?rev=202270&view=rev
Log:
<action dev="VG" type="add" fixes-bug="35435" due-to="Nico Verwer" due-to-email="nverwer@email.com">
Added getSitemapURIPrefix method to the Request interface.
</action>
Modified:
cocoon/blocks/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletRequest.java
Modified: cocoon/blocks/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletRequest.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletRequest.java?rev=202270&r1=202269&r2=202270&view=diff
==============================================================================
--- cocoon/blocks/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletRequest.java (original)
+++ cocoon/blocks/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletRequest.java Tue Jun 28 12:09:54 2005
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 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.
@@ -42,7 +42,7 @@
*
* @author <a href="mailto:alex.rudnev@dc.gov">Alex Rudnev</a>
* @author <a href="mailto:vgritsenko@apache.org">Vadim Gritsenko</a>
- * @version CVS $Id$
+ * @version $Id$
*/
public abstract class PortletRequest extends AbstractRequest {
@@ -262,6 +262,10 @@
*/
public String getSitemapURI() {
return this.environment.getURI();
+ }
+
+ public String getSitemapURIPrefix() {
+ return this.environment.getURIPrefix();
}
/* (non-Javadoc)