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 2003/12/03 18:26:26 UTC
cvs commit: cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/modules/input PortletURLModule.java
vgritsenko 2003/12/03 09:26:26
Modified: src/blocks/scratchpad/java/org/apache/cocoon/components/modules/input
PortletURLModule.java
Log:
fix action url handling in http mode
Revision Changes Path
1.3 +2 -2 cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/modules/input/PortletURLModule.java
Index: PortletURLModule.java
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/modules/input/PortletURLModule.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- PortletURLModule.java 3 Dec 2003 13:20:29 -0000 1.2
+++ PortletURLModule.java 3 Dec 2003 17:26:26 -0000 1.3
@@ -165,7 +165,7 @@
} else if (name.startsWith(PREFIX_RESOURCE)) {
return name.substring(PREFIX_RESOURCE.length());
} else if (name.startsWith(PREFIX_ACTION)) {
- return renderResponse.createActionURL();
+ return name.substring(PREFIX_ACTION.length());
} else {
throw new IllegalArgumentException("Invalid attribute name '" + name + "' for '" + getClass().getName() + "'");
}