On 3 Nov 2000, Arkaitz Bitorika wrote:
> Hi,
>
> I'm using tdk 1.1a6 here, (btw, it was a pleasure to set it up!), and
> I'm having problems with templatelink and velocity templates.
> What I'm trying to do is to have a screen that will show a list of the
> files in a certain directory if it doesn't receive any parameter, or a
> given subdirectory if it's passed to it. I'm quite new to this, so
> pardon if I'm doing this completely wrong. I have in the template that
> is populated by a VelocityScreen(inside a #foreach loop):
>
> <a href=$link.setPage("list.wm").addPathInfo("dir", $dir)>$dir</a>
>
> which gets translated to:
> <a
> href=http://basajaun:8080/test/servlet/test/template/list.wm.addPathInfo("dir",
>mydir)>mydir</a>
>
> It seems that Velocity is ignoring the second method call(addPathInfo).
> There is a practically identic example in the TemplateLink javadocs.
>
> Any hint?
I will take a look at it tomorrow and see what the problem.
I'll post what I find back to the list.
jvz.
---
Jason van Zyl
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]