incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Kitching (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-139) Allow jspwiki pages to be at locations other than webapp root (for embedding)
Date Thu, 17 Jan 2008 15:28:33 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559955#action_12559955
] 

Simon Kitching commented on JSPWIKI-139:
----------------------------------------

I mean the contents of directory "src/webdocs" can be at
   /webappname/any/path.

So this includes Wiki.jsp, Edit.jsp,  etc as well as the contents of the "templates" directory.

The src/webdocs also has "images" and "scripts" subdirs. I haven't given these any thought
yet; probably they don't work yet. CSS files referencing images from the webapp etc. will
probably also be awkward. 

However with this patch, editing pages with the basic editor, navigating around, etc works.
And I'm pretty sure that having a "basePath" property available would be necessary for addressing
the other issues anyway. 

Feel free to ignore this until I have a complete patch (or as much as I need) if you wish.

> Allow jspwiki pages to be at locations other than webapp root (for embedding)
> -----------------------------------------------------------------------------
>
>                 Key: JSPWIKI-139
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-139
>             Project: JSPWiki
>          Issue Type: Improvement
>    Affects Versions: 2.6.1
>            Reporter: Simon Kitching
>            Priority: Minor
>         Attachments: TemplateManager.patch, WikiEngine.patch
>
>
> The attached patches allow jspwiki pages to be deployed anywhere within a webapp. In
particular, the jspwiki engine can now be embedded within another webapp and the pages placed
in a subdirectory while still rendering in the normal manner (http://host/webapp/somesubdir/Wiki.jsp?page=Foo).
> Note that embedded jspwiki usage has not been extensively tested; there may be more patches
required to allow full functionality. However this gets the basics working at least.
> Patches are against cvs trunk as of about 15 Jan 2008.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message