> You want to run this code before and after a single function, or all
> functions within the taglib?
All functions.

> Silly question: Can you just put this code inside your someTag() function?
That�s what I'm doing at present but as my taglib grows its becoming a bit
of a pain. Would be far nicer if I could make the call to the start() and
end() classes by default for all classes within.

Mark.


On 4/7/03 17:40, "Steve Willer" <[EMAIL PROTECTED]> wrote:

> 
> On Fri, 4 Jul 2003, Mark Cance wrote:
> 
>> I have a taglib written with TaglibHelper. Much like TaglibHelper itself
>> does with parse_start and parse_end, I have a common routine I want to run
>> prior and proceeding the execution of sub within the taglib.
>> 
>> E.g.
>> sub start(){#do some ini}
>> sub end(){#clean up}
>> 
>> Sub someTag(){#return something usefull}
>> 
>> Anyone have any idea of how I can do this? As always any help gratefully
>> received.
> 
> You want to run this code before and after a single function, or all
> functions within the taglib?
> 
> Silly question: Can you just put this code inside your someTag() function?
> 
> 


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

Reply via email to