RE: [jelly] Subclassing JellyContext

2002-12-09 Thread Ext-Mike.Hogan
but he does not have to manage it is what I am saying. > -Original Message- > From: ext James Strachan [mailto:[EMAIL PROTECTED]] > Sent: 09. December 2002 12:06 > To: Jakarta Commons Developers List > Subject: Re: [jelly] Subclassing JellyContext > > > > Ok, but I want the

Re: [jelly] Subclassing JellyContext

2002-12-09 Thread James Strachan
t; Sent: Monday, December 09, 2002 10:03 AM Subject: RE: [jelly] Subclassing JellyContext Ok, but I want the scoping of values to be transparent to the Jelly script writer. > -Original Message- > From: ext James Strachan [mailto:[EMAIL PROTECTED]] > Sent: 09. December 2002 9:

RE: [jelly] Subclassing JellyContext

2002-12-09 Thread Ext-Mike.Hogan
Ok, but I want the scoping of values to be transparent to the Jelly script writer. > -Original Message- > From: ext James Strachan [mailto:[EMAIL PROTECTED]] > Sent: 09. December 2002 9:58 > To: Jakarta Commons Developers List > Subject: Re: [jelly] Subclassi

Re: [jelly] Subclassing JellyContext

2002-12-08 Thread James Strachan
> Sent: Monday, December 09, 2002 6:48 AM Subject: RE: [jelly] Subclassing JellyContext > Variables should automatically be available to their child > contexts so I > don't think you need to create your own JellyContext for that. What I meant to say was that a variable _value_ sho

RE: [jelly] Subclassing JellyContext

2002-12-08 Thread Ext-Mike.Hogan
> Variables should automatically be available to their child > contexts so I > don't think you need to create your own JellyContext for that. What I meant to say was that a variable _value_ should be visible only in a certain scope. So there is a stack of values per variable. > Also the push/po

Re: [jelly] Subclassing JellyContext

2002-12-06 Thread James Strachan
t: Thursday, December 05, 2002 2:40 PM Subject: RE: [jelly] Subclassing JellyContext James, thanks for the pointer re createChildContext(). I am not clear what the scoping refactoring you refer to means exactly, even after reading the link you sent ;-) But never mind. My scoping requirements a

RE: [jelly] Subclassing JellyContext

2002-12-05 Thread Ext-Mike.Hogan
> -Original Message- > From: ext James Strachan [mailto:[EMAIL PROTECTED]] > Sent: 05. December 2002 16:22 > To: Jakarta Commons Developers List > Subject: Re: [jelly] Subclassing JellyContext > > > There's a factory method, createChildContext() which y

Re: [jelly] Subclassing JellyContext

2002-12-05 Thread James Strachan
There's a factory method, createChildContext() which you can override to create your own context... public class MyContext extends JellyContext { public MyContext(JellyContext parent) { super(parent); } protected JellyContext createChildContext() { return new MyContex