incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juergen Weber <webe...@gmail.com>
Subject Plugin-output in Wiki link
Date Mon, 03 May 2010 15:43:47 GMT

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.


Mime
View raw message