TitleCannot use WikiVariables inside WikiLinks
Date04-May-2006 16:48:05 EEST
Version2.3.3
Submitter212.133.24.92
Bug criticalityMediumBug
Browser versionFx 1.5.0.2
Bug statusClosedBug
PageProvider used
Servlet Container
Operating SystemWindows XP SP2
URL
Java version

Hi JSPWiki Developers!

Q
How can I combine variables to form likes (e.g. [provide feedback|mailto:me@home?subject=[{$pagename}]&body=[{$baseuri}]])?

This does not seem to work.

Adrian


I figured out how to compose a mailto link text from WikiVariables.

Following works fine:

mymail:

http://www.ecyrd.com/JSPWiki/Wiki.jsp%3fpage=BugCannotUseWikiVariablesInsideWikiLinks

mymail2:

mailto:user@subdom.dom?subject=BugCannotUseWikiVariablesInsideWikiLinks&body=http://www.ecyrd.com/JSPWiki/Wiki.jsp%3fpage=BugCannotUseWikiVariablesInsideWikiLinks%0a

Can I evaluate a WikiVariable inside a link definition?

This won't work:

provide feedback

If not, are there alternatives to do what I want?

Thanks!

Adrian

--AnonymousCoward, 05-May-2006


Hi Adrian!

At the moment, no. This is because of the way our rendering system works...

-- JanneJalkanen


Closing the bug, the request can currently not be honored, but feel free to contribute !

--HarryMetske

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-4) was last changed on 21-Mar-2007 22:02 by HarryMetske