velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Baynes" <kbay...@seagullsw.com>
Subject RE: Issue with anchor links
Date Tue, 09 Jul 2002 18:34:02 GMT
Mathew-

It appears that you are passing in "pathToFile" as a parameter to an object
in the context called "link".

The return value of the "link.setpage(pathToFile)" method, would depend on
the inner workings of the "link" class, wouldn't it? That would be a Java
programming issue, not a Velocity issue, correct?

The "link" class is performing the URL encoding, isn't it?

~Kevin

> -----Original Message-----
> From: Matthew Chapman [mailto:mchapman@franchise.com]
> Sent: Tuesday, July 09, 2002 2:02 PM
> To: velocity-user@jakarta.apache.org
> Subject: Issue with anchor links
>
>
> When I attempt to set an anchor link, it is converted from a # to a %23
>
> for example:
> <a href="$link.setpage(path,to,file.vm#a">link to file.vm</a>
>
> produces the result:
> http:/domain.name/path%20to%20file.vm%23a
>
> This just kills the link and page. How can I get around this (without
> hard-coding the URL) ?
>
> regards
> Matthew
>
> eMail: mchapman@franchise.com
> Phone: 760-943-0080 x 1159
> ICQ #: 5428662
>
>
> --
> To unsubscribe, e-mail:
> <mailto:velocity-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:velocity-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message