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:19 UTC

[jira] Closed: (JELLY-6) percolating up tag registrations

Message:

   The following issue has been closed.

---------------------------------------------------------------------
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: Closed
   Priority: Major
 Resolution: FIXED

 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