[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2645) Promote forum thread to FAQ

Christian Bauer (JIRA) jira-events at lists.jboss.org
Wed Mar 12 21:10:57 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-2645?page=comments#action_12402622 ] 
            
Christian Bauer commented on JBSEAM-2645:
-----------------------------------------

I think this should be done as a plugin. 

So when you create a forum topic, it has a plugin macro in its header (or footer, depending where we want to render the "Link to FAQ" button). That macro renders a button and when you click that button, you get a list of directories you have write access to. You pick the directory and specify a name for the "link" document. That document is then created in the target directory and it will have a [<=documentRedirect] macro in its body. When the WikiTextHandler tries to render that macro, it instead sends the browser a redirect to the original forum document.

That way we avoid duplicating content but we still need to handle deletion. We could just let the redirect run into a 404.



> Promote forum thread to FAQ
> ---------------------------
>
>                 Key: JBSEAM-2645
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2645
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Wiki
>            Reporter: Gavin King
>         Assigned To: Christian Bauer
>            Priority: Blocker
>
> Easily promote a forum thread into the FAQ browser

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list