Hello.
I'm working on XWikiJCRStore project by Google Summer of Code program.
The objective of these project would be to implement a full XWiki store
using JCR as a backend.
Project home page is
http://www.xwiki.org/xwiki/bin/view/Dev/XWikiJCRStore
I've created and tested jcr node type hierarchy for xwiki. And I will
start to write real backend soon.
Any comments/wishes/help/etc are welcome.
--
Artem Melentyev, UralSU, CS301. http://usunet.ru/xwiki/
jabber: amelentev(a)jabber.ru | icq: 175349029
Hi.
In dealing with a performance issue on objects attached to a
document, I came up with an approach to create a subclass of
BaseObject that has its own Hibernate mapping, and can include other
full-class Java objects as children, etc.
This works pretty well but requires some hacking in that it doesn' t
seem like XWiki will load a subclass of BaseObject directly, so I
have to force this reloading when I access the object.
The main advantage is this allows me to have properties that are
loaded in one SQL roundtrip, as opposed to one SQL query per actual
object instance, which is the best that seems possible with the built-
in custom mappings.
I'm wondering if there it would make sense to incorporate this kind
of custom subclassing into the XWiki base code. I think it could be
done without a lot of work (when the store reads the object's class,
if it is a subclass of BaseObject it reloads that particular object
using the appropriate mappings).
For our own project we can probably do this with local patches, but
it seems like it might be useful to others.
Any thoughts?
Hi all,
I have a plugin that does stuff requiring programming rights. For
example it calls Document.getDocument().
This is fine: the plugin is invoked from a doc saved by someone with
prog rights. The plugin API is passed the XWiki API object obtained
when that document is parsed.
So I can then use that to do: wiki.getDocument(blah).getDocument().
Now I need to do something similar when a document is saved, rather
than when invoked by the user. So I'm implementing
XWikiDocChangeNotificationInterface.notify().
However I don't know how to get an XWiki API object that will return
true for checkProgrammingRights() from my notify implementation.
Assuming this makes sense, does anyone have any ideas? :)
Regards,
Robin
hi,
I have followed this tutorial to modify my xwiki to be a full utf8 one:
http://www.xwiki.org/xwiki/bin/view/Dev/CharactersSets
It works and I could input multilanguages in the xwiki.
However when I trying to put a internallink on some other charactersets.
For example I modified these things on a page: [����������]
and edit that new page. Then the strange things happened, the name of the new page turns to be XWiki.WebHome.
Have anyone had this problem?
How to solve it?
I'm looking to get started with XWiki again and checked out the latest from
SVN. I'm getting the following error when trying to do the build:
C:\Project\XWiki\build.xml:151: taskdef A class needed by class
org.apache.cactus.integration.ant.CactusTask cannot be found:
junit/framework/Test
Any ideas?
Thanks
Duke