Hi Florin,
On Oct 31, 2008, at 10:56 AM, Florin Ciubotaru wrote:
Hi devs,
We currently have a comments plug-in that is written for a custom
core. This plug-in enables us to have hierarchical comments and
several
storage implementations.
This sounds very cool (threaded comments have been asked several
times). Can you give more information:
* Where is it located?
* Is there a design page for it or at least what's the full spec for it?
* What's your roadmap for it?
The issue I encounter when rewriting it to a plexus
component is
that I
cannot make it independent from the core. I need both read and write
access to the storage, and I could not find a bridge to it. All I
can do
is retrieve data, with org.xwiki.bridge.DocumentAccessBridge and
org.xwiki.bridge.DocumentModelBridge, but not write data.
Does anybody know how can I write a component that needs read/write
access to the storage without using XWiki,XWikiDocument and
XWikiContext
classes?
For now you'll need to add methods to the bridge as I don't think
Artem has done the conversion of the storage to proper (i.e. using the
new architecture and not the old xwiki context one) components.
Thanks
-Vincent