You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/08/06 12:03:07 UTC
DO NOT REPLY [Bug 22165] New: -
[PATCH] sitemap parameter not available to jstl expression
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22165>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22165
[PATCH] sitemap parameter not available to jstl expression
Summary: [PATCH] sitemap parameter not available to jstl
expression
Product: Cocoon 2
Version: Current CVS 2.1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: sitemap components
AssignedTo: dev@cocoon.apache.org
ReportedBy: unico@hippo.nl
It seems to be forgotten to be set in setContexts method:
Index: JXTemplateGenerator.java
===================================================================
RCS file:
/home/cvspublic/cocoon-2.1/src/java/org/apache/cocoon/generation/JXTemplateGenerator.java,v
retrieving revision 1.1
diff -u -r1.1 JXTemplateGenerator.java
--- JXTemplateGenerator.java 8 Jul 2003 05:48:53 -0000 1.1
+++ JXTemplateGenerator.java 6 Aug 2003 09:54:54 -0000
@@ -2036,6 +2036,7 @@
map.put("request", request);
map.put("response", response);
map.put("context", app);
+ map.put("parameters", parameters);
Object session = request.getSession(false);
if (session != null) {
map.put("session", session);