You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ji...@codehaus.org on 2003/09/04 23:32:12 UTC
[jira] Updated: (JELLY-6) percolating up tag registrations
The following issue has been updated:
Updater: Morgan Delagrange (mailto:mdelagra@yahoo.com)
Date: Thu, 4 Sep 2003 4:30 PM
Changes:
description changed from I spoke too soon about Maven working with Jelly HEAD. You forgot to update the second registerTagLibrary method in JellyContext. With a quick look (and it's working for me), I think it needs to be:
Index: src/java/org/apache/commons/jelly/JellyContext.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jell
y/JellyContext.java,v
retrieving revision 1.24
diff -u -r1.24 JellyContext.java
--- src/java/org/apache/commons/jelly/JellyContext.java 23 Aug 2002
10:29:18 -0000 1.24
+++ src/java/org/apache/commons/jelly/JellyContext.java 23 Aug 2002
23:27:11 -0000
@@ -333,6 +333,10 @@
log.debug("Registering tag library to: " + namespaceURI + "
taglib: " + taglib);
}
taglibs.put(namespaceURI, taglib);
+
+ if (isExportLibraries() && parent != null) {
+ parent.registerTagLibrary( namespaceURI, taglib );
+ }
}
/** Registers the given tag library class name against the given namespace URI.
environment changed to
Component changed to core / taglib.core
Component changed from tags
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=JELLY-6&page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=JELLY-6
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JELLY-6
Summary: percolating up tag registrations
Type: Bug
Status: Reopened
Priority: Major
Time Spent: Unknown
Remaining: Unknown
Project: jelly
Components:
core / taglib.core
Assignee: james strachan
Reporter: Stephen Haberman
Created: Sun, 25 Aug 2002 4:46 PM
Updated: Thu, 4 Sep 2003 4:30 PM
Description:
I spoke too soon about Maven working with Jelly HEAD. You forgot to update the second registerTagLibrary method in JellyContext. With a quick look (and it's working for me), I think it needs to be:
Index: src/java/org/apache/commons/jelly/JellyContext.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jell
y/JellyContext.java,v
retrieving revision 1.24
diff -u -r1.24 JellyContext.java
--- src/java/org/apache/commons/jelly/JellyContext.java 23 Aug 2002
10:29:18 -0000 1.24
+++ src/java/org/apache/commons/jelly/JellyContext.java 23 Aug 2002
23:27:11 -0000
@@ -333,6 +333,10 @@
log.debug("Registering tag library to: " + namespaceURI + "
taglib: " + taglib);
}
taglibs.put(namespaceURI, taglib);
+
+ if (isExportLibraries() && parent != null) {
+ parent.registerTagLibrary( namespaceURI, taglib );
+ }
}
/** Registers the given tag library class name against the given namespace URI.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira