Hmm,
I would guess that you are either changing Velocity templates that aren't
going through Turbine, or that your tool isn't specified correctly.
Try this little snippet of Velocity code:
#set( $test = "yes" )
Is Velocity Working? $test
That will at least tell us whether or not Velocity works.
----- Original Message -----
From: "daniel robinson" <[EMAIL PROTECTED]>
To: "Turbine Users List" <[EMAIL PROTECTED]>
Sent: Friday, July 05, 2002 12:38 AM
Subject: Re: $serverName problem
> Jeff,
>
> Thanks for responding. No go.
>
> $Xsltool.transform("\xsl\index2.xml","index2.xsl")
>
> just gives comes back as a literal in the generated page.
>
> To tell you the truth I'd feel alot better if template/ServletInfo.vm
> from the example wasn't returning
>
> Servlet Info: $serverName
>
> This seems like pretty much the same problem.
>
> Thanks,
>
> Dan
>
> Jeff Linwood wrote:
>
> >Hi,
> >
> >Assuming that Xsltool is specified in your TurbineResources.properties as
a
> >tool, use $Xsltool.transform("\xsl\index2.xml","index2.xsl")
> >
> >Velocity doesn't hide references that don't exist, unless you use $!
instead
> >of $ to mark Velocity statements.
> >
> >Let us know if this works,
> >
> >Jeff
> >----- Original Message -----
> >From: "daniel robinson" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Thursday, July 04, 2002 10:11 PM
> >Subject: $serverName problem
> >
> >
> >>Ok,
> >>
> >>I'm trying to get a test going using a Tool. I put the string:
> >>
> >>$session.Xsltool.transform("\xsl\index2.xml","index2.xsl")
> >>
> >>And when I run the page all I get is this string. The same thing
> >>happens in the Sample app with the Servelet example and $serverName. I
> >>have looked at the archives and this question has been asked a bunch of
> >>times and never answered as far as I can tell.
> >>
> >>Dan
> >>
> >>
> >>--
> >>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]>