I am considering implementing a custom XWikiRenderer that uses FreeMarker
(http://www.freemarker.org/) to render the xwiki templates
(src\main\web\templates) and documents, as an alternative to velocity.
I thought that it would be as simple as implementing a custom XWikiRenderer,
however I discovered that
* the XWikiVelocityRenderer exposes some static methods, which is used
within a few different xwiki classes
* VelocityContext instances are constructed and manipulated outside from the
XWikiVelocityRenderer
Are there any plans to refactor the code base to support custom
XWikiRenderer implementations.
My ideal goal would be to enable a mix of rendering engines - freemarker,
velocity, or any other template language. However some metadata would be
needed to inform the rendering api which template engine to use.
To begin with - I'd like to be able to reuse all of the existing templates,
but specify for a wiki, or for a space, that freemarker is the default
rendering engine. Then an enhancement could be to allow each document to
override this.
Then - the next step could be to allow the templates to be written in
freemarker.
I am fairly experienced with freemarker having used it on a few web sites
over the last few years. I also implemented the integration code for
freemarker in webwork.
Thanks,
Cameron.
Hi,
Here is a tentative roadmap of XWiki.. This is of course only indicative
and your feedback is welcomed..
If anybody wants to add to this roadmap go ahead.. Add features, comment
the page or in this list..
http://www.xwiki.org/xwiki/bin/view/Dev/Roadmap
We will create some JIRA tasks for these different features and will
order them by milestone..
From there if anybody wants to start helping out, this is of course
most welcome !
Ludovic
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Hi,
Wide search on the mail archives doesn't return the 2 folks who suggested
an XWikipedia. Having 360K words of wiki markup articles and notes to go
in such an app I'm happy to start immediate work on the use cases and uml
for this.
I guess at least 3 possible overlaps with other suggested projects:
* Local Names for connecting to external sources.
* P2P for interwiki sharing
* freemind for topic map organisation.
WDYT
Cheers
Jim
PS Have now had a go at learning javascript, velocity and groovy so I
should be up to speed soon (20 years C, C++, java and strict jsp-j2ee).
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
> -----Original Message-----
> From: Vincent Massol [mailto:vincent@massol.net]
> Sent: mardi 7 juin 2005 13:57
> To: 'xwiki-dev(a)objectweb.org'
> Subject: RE: [xwiki-commits] r596 - in xwiki/trunk/src:
> main/java/com/xpn/xwiki/plugin/packaging test/com/xpn/xwiki/test
>
>
>
> > -----Original Message-----
> > From: Jeremi Joslin [mailto:jeremi@users.forge.objectweb.org]
> > Sent: mardi 7 juin 2005 13:53
> > To: xwiki-commits(a)objectweb.org
> > Subject: [xwiki-commits] r596 - in xwiki/trunk/src:
> > main/java/com/xpn/xwiki/plugin/packaging test/com/xpn/xwiki/test
>
> [snip]
>
> > +/**
> > + * ===================================================================
> > + *
> > + * Copyright (c) 2005 Jrmi Joslin, XpertNet, All rights reserved.
>
> Jeremi, you're going to find me a pain in the ... but there are 2 issues
> here:
>
> 1/ I think the copyright should go to Ludovic Dubost. At least that's the
> current policy AFAIK
Actually forget that (sorry about it) because I guess that's the current
discussion in progress. I personally always try to have a single
person/organization that gets the copyright attribution for the reasons
mentioned here:
http://clirr.sourceforge.net/contributing.html
Ludovic, before we do this license change what is the current licensing
policy WRT the copyright? By looking at the existing source code I had
assumed it was to give it to you but maybe that's not the case.
[snip]
Thanks
-Vincent