Hi!
It seems that someone has broken the specialpage functionality -
originally it was supposed to be doing exactly what you want, but it
looks like someone "upgraded" the functionality at some point without
letting anyone else know.
This would need to be investigated, methinks.
/Janne
On Nov 26, 2007, at 19:08 , Matthias Käppler wrote:
Hi Janne,
I should have probably mentioned that when talking about more
advanced JSPs,
I mean that I have to include a lot of script files. Because the
JSP is
resolved using the "VIEW" context though (if I'm not mistaken), I
cannot
have any <script> tags in my JSP because that will break the
ViewTemplate.jsp.
Is there any other way having a JSP as a special page while still
being able
to have full control over the JSP from top to bottom?
Besides, although I defined my JSP directly as a special page, that
JSP
(let's call it MyJSP.jsp) is never invoked directly but instead
MyJSPContent.jsp will be included by the ViewTemplate). Is this
intentional?
Thanks,
Matthias
2007/11/26, Janne Jalkanen <[EMAIL PROTECTED]>:
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
--
Matthias Käppler
Research Assistant
Knowledge Management Group
DFKI GmbH, Germany