Hi Matthias, On Aug 16, 2011, at 11:18 PM, Matthias Gorzellik wrote:
Hello,
I have a question concerning the integration of xWiki into a vaadin project. We are very keen to add some of the xWiki features to our project, for example the WYSIWYG editor, the versioning, multilang support, plugin support... Because these features will then be very interconnected with our application, we refrain from using the REST api.
What we rather want is to use the xWiki somehow as a 'library' which provides components we can add to our vaadin view.
The question now is, if someone has done such thing before or it it is even possible ? Do we have to rip the whole xwiki sourcecode apart or is there an easy way to adapt xWiki to the vaadin framework ?
I would be very pleased with any kind of answer and I would also be happy to explain our project in detail if its not clear enough.
XWiki has a lot of different pieces to it and using it as a library means deciding what pieces you'd like to reuse. All pieces located in commons/, rendering/ are easy to use as a library. This means that you can easily reuse the XWiki rendering engine, see http://rendering.xwiki.org Now it's also possible to use some modules in platform/ but that'll depend on the module. The WYSIWYG editor is also usable as a library. Marius, do we have doc on xwiki.org that explains how to do this? (we should have it). Plugin support is deprecated is now component support, which is part of common/, see http://extensions.xwiki.org/xwiki/bin/view/Extension/Component+Module Multilang support is going to be hard to reuse ATM. Let us know more if you need more details. Thanks -Vincent
Thanks in advance, Matthias Gorzellik