You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Juergen Weber <we...@gmail.com> on 2010/05/03 17:43:47 UTC

Plugin-output in Wiki link

Hi, 

I'd like to reference a web app on the same machine as JSPWiki 2.8.3 without
having to hardcode the machine name.

So, I wrote a little plugin that gets jspwiki.baseURL via
WikiEngine.getBaseURL()

But when I use the plugin in the link like [goto myapp|{INSERT BaseURLPlugin
path='/myapp'}]
the link is created as
http://linda:8080/JSPWiki/attach/%7BINSERT%20BaseURLPlugin%20path%3D%27/myapp%27%7D

Did I overlook something?

Guess I'll have to rewrite the plugin to output a complete http url ..

Greetings,
Juergen

-- 
View this message in context: http://old.nabble.com/Plugin-output-in-Wiki-link-tp28436708p28436708.html
Sent from the JspWiki - User mailing list archive at Nabble.com.