[ 
http://issues.apache.org/jira/browse/JELLY-167?page=comments#action_57980 ]
     
Hans Gilde commented on JELLY-167:
----------------------------------

I completely agree that we should pass down the ClassLoader, but I think that 
this should be added to the constructor "JellyContext(JellyContext parent)".

I'm not sure about the TagCache, though. Do you have an example where you need 
to inherit the tag cache?

> add 'public JellyContext newEmptyJellyContext()' to JellyContext
> ----------------------------------------------------------------
>
>          Key: JELLY-167
>          URL: http://issues.apache.org/jira/browse/JELLY-167
>      Project: jelly
>         Type: Wish
>   Components: core / taglib.core
>     Versions: 1.0-beta-5
>     Reporter: Marc DeXeT
>  Attachments: patch.function.2.txt
>
> method 'public JellyContext newJellyContext()' uses 'public 
> JellyContext(JellyContext parent)'.
> This constructor copies parent properties AND parent variables.
> To create variables quenched context, you have to clear variables or to set 
> inherit to false.
> I wish to have a new method 'public JellyContext newEmptyJellyContext()' 
> which copies all root context properties (as tag caching) but DOESN'T copy 
> variables map. 
> Even if you could do the same with inherit or variable map clearing or other 
> methods, it would be more meaningful to use a assigned method

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to