incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Quinn Fissler <qfiss...@gmail.com>
Subject Re: New page template
Date Thu, 12 Feb 2009 10:47:31 GMT
That sounds good, Nicola.

I was thinking of doing my own! :-)

Regards,

Quinn

2009/2/12 Fischer, Nicola (ORISA Software GmbH) <fischer@orisa.de>

> Hi
>
>
> I have written a GenericNamePagehandler to create a page on base the
> newpagehandler but with the ability to determine the Name of the page
> depending on multiple field in the form.
>
>
> Are you interested in the Code?
>
>
> Regards,
> Nicola
>
> -----Urspr√ľngliche Nachricht-----
> Von: Roland Whitehead [mailto:roland@quru.com]
> Gesendet: Donnerstag, 12. Februar 2009 09:41
> An: jspwiki-user@incubator.apache.org
> Betreff: New page template
>
> I have been asked to provide templates for new pages. When someone creates
> a new page, rather than having a blank empty page, they want some
> pre-written information (such as ACLs, various headers and so
> forth) already in place.
>
> There are two stages to this request:
> 1. Provide a default pre-populated new page and 2. Provide multiple
> different pre-populated pages, perhaps based on some naming in the original
> link.
>
> As an example I am thinking along the lines of something like:
>
> [my new page | myNewPage template='thisTemplateName']
>
> Clicking on this when "myNewPage" doesn't exist would produce a new page
> based on "thisTemplateName". "thisTemplateName" would already be a wiki page
> so that "myNewPage" would effectively be a clone of "thisTemplateName". If
> "myNewPage" already exists then the template would just be ignored.
>
> Even if 2 isn't currently viable, has anyone got any suggestions for a
> default pre-populated page template? Have I missed something obvious?
>
> TIA
>
>
> Roland
> --
> QURU Ltd, London
>
>
>
> ____________
> Virus checked by G DATA AntiVirus
> Version: AVF 19.253 dated 11.02.2009
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message