specialPages are for all intents and purposes, wikipages. Interwiki references are external references, and are e.g. not subject to referencemanager operations.

/Janne

On Nov 26, 2007, at 19:12 , Terry Steichen wrote:

Just a small question:

   What's the difference between jspwiki.interWikiRef.xxx and
   jspwiki.specialPage.xxx (other than the former can - optionally -
   refer to a link on another site)?


And a suggestion - you might want to mention the use of the %s parameter, as in:

   jspwiki.specialPage.item = Wiki.jsp?page=MySpecialPage&parm1=%s

   which allows the use of markup like:
       [Item:xxxxx]


Janne Jalkanen wrote:
Yes, that is exactly the reason why they exist.  It allows you to
reference any JSP page as a WikiPage.  Even reference counting should
work.
jspwiki.specialPage.MyAdvancedJSP = myownjsps/my.jsp

and then use

[MyAdvancedJSP] within WikiMarkup.

/Janne

On Mon, Nov 26, 2007 at 05:50:13PM +0100, Matthias Käppler wrote:

Hi,

I was wondering, there is a "jspwiki.specialPage" property in
jspwiki.properties which is set for a couple of pages. Can I use this to
reference my own JSPs as a plain old wiki page?

My problem is that I have a rather advanced JSP with a lot of scripting magic going on, and I want to reference it from the LeftMenu, not through a
"raw" link to the JSP.

Can I do this with special pages? If so, how? (of course I tried setting my
page JSP as a special page, but that didn't change anything).

Thanks,
Matthias




Reply via email to