jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Vittor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JSPWIKI-865) Provide the source page on the Edit.jsp link
Date Thu, 11 Sep 2014 02:49:34 GMT

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

David Vittor commented on JSPWIKI-865:

Hi Harry, thanks for responding. I guess maybe the URL is not the best way to pass this information.

But my understanding is that every page has a "source/parent" page, and I'm trying to work
out a way to capture that information.
How about creating a page attribute called "source/parent", which will store the context that
the page created from, within the new page.

Hmm - now that I think more about this, as pages are renamed, and links are removed or moved
around, maintaining this might be an issue. However intuitively I feel like every page came
from another page, and so somehow that should be preserved.

> Provide the source page on the Edit.jsp link
> --------------------------------------------
>                 Key: JSPWIKI-865
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-865
>             Project: JSPWiki
>          Issue Type: Wish
>          Components: Core & storage
>            Reporter: David Vittor
> When a new page is linked to from an existing page, e.g. [NewPage]
> The code creates a link like this:
> * https://jspwiki-wiki.apache.org/Edit.jsp?page=NewPage
> I think it might be a good idea to include the original source page, like:
> * https://jspwiki-wiki.apache.org/Edit.jsp?page=NewPage&src=CurrentPage
> Maybe these should be POST requests, but I think we should maybe go incrementally.
> I think it would be great for creating / storing the heirarchy of pages.
> Any thoughts?

This message was sent by Atlassian JIRA

View raw message