I do not want to call my own methods in the link object.
But you answered my question.  I can achieve what I want by instantiating a 
TemplateLink object and putting it into my context.

The problem is that I am doing template merging manually (in a RawScreen), 
and do not have access to the context object that turbine provides to me.

Thanks.helps me a lot.


At 10:32 PM 9/20/2002 -0700, you wrote:
>Hello,
>
>I'm not sure I understand you correctly. You want your own methods in the
>$link object? To do that you would have to modify  this class:
>tool.request.link=org.apache.turbine.util.template.TemplateLink. Or you
>could make your own pull tool and set is in TR.props.
>
>Hope that helps,
>Derick
>
>----- Original Message -----
>From: "Phillip Rhodes" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, September 20, 2002 11:10 AM
>Subject: put $link in context?
>
>
> > I am calling velocity manually to do my template merge in certain
>instances
> > and would like to set the link object in the context, which turbine is
> > doing for me.
> >
> >
> > Can someone point me in the right direction on how to achieve this?
> >
> > Thanks.
> >
> >
> > --
> > To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
> >
> >
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


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

Reply via email to