You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Thomas Singer <th...@regnis.de> on 2002/05/27 12:08:23 UTC

Anakia, access current document

Hello,

I have played a little bit with the Anakia example. It creates a menu on 
the left side, but inserts links even for the current page. Is there any 
possility to get the current output-filename to avoid the link creation for 
the current file?

Tom


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Anakia, access current document

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 5/27/02 6:08 AM, "Thomas Singer" <th...@regnis.de> wrote:

> Hello,
> 
> I have played a little bit with the Anakia example. It creates a menu on
> the left side, but inserts links even for the current page. Is there any
> possility to get the current output-filename to avoid the link creation for
> the current file?
> 

That might require mods to anakia.

If you are looking at static page generation, take a look at DVSL


  http://jakarta.apache.org/velocity/dvsl/index.dvsl

Not only can you get the current output filename, but more importantly it's
a different, declarative model akin to XSLT.

Give it a look.

-- 
Geir Magnusson Jr.
Research & Development, Adeptra Inc.
geirm@adeptra.com
+1-203-247-1713



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>