Jonathan Jackson wrote:
> How would you go about creating a link to the current
> template in a .vm file? I'd like to have buttons that change
> properties and then reload the current page, but I run into
> trouble with $data.screenTemplate returning the path using
> '/' to separate directories rather than the required ','.
> $link.toString($data) returns the full path to the current
> page, but it includes any parameters for actions that were
> used in creating the current page. Any suggestions?
>
> Thanks,
> -Jonathan Jackson
>
I don't know if this is really the Right Way(tm) to do it, but I've
found that the following works:
#set($here = $data.Parameters.getString("template"))
--
Sam Solon
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]