incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk Frederickx" <dirk.frederi...@gmail.com>
Subject Re: Page types
Date Sat, 05 Jul 2008 08:42:11 GMT
Did you check the http://www.jspwiki.org/wiki/IfPlugin  which should
give you quite some power too.
You could eg consder to add this to [TitleBox] page or
[CopyrightNotice] pages, which allows to do this kind of stuff without
touching the template.jsp pages.


dirk



On Fri, Jul 4, 2008 at 3:32 PM, Christophe Dupriez
<christophe.dupriez@poisoncentre.be> wrote:
> Hi !
>
> I would like to follow-up the "aliases" discussions by one on the "page types".
>
> The idea is that "constant" plugin calls would be very useful for a given type of pages
in a Wiki.
>
> Examples: In a Wiki with "events", "white papers", "definitions", one would like:
>
> Page about an Event: list at the bottom of the pages referring to this event
>
> Page with a White Paper: Always a TableOfContent at the top;
>  + list at the bottom of the pages referring to this White Paper
> about an Event: list at the bottom of the page of the pages referring to this event
>
> Page with a definition:
>   At the top: links to broader terms; links to narrower terms
>   At the bottom: list at the bottom of the pages referring to this definition
>
> For now, I am thinking of a <c:choose>, <c:when>, and <c:otherwise>
in PageTop/PageBottom.JSP
> (one c:when per page type)
>
> Any better idea ???
>
> Christophe
>
> P.S. To come nearer from a Semantic Wiki, page type is somewhat a must.

Mime
View raw message