Hi, It was not a RTFM answer, one that doesn't help at all, but an answer that points you to the right location where the answer is. It is our policy to make the documentation as useful as possible, so that when somebody has a question, the answer should be available online. If our online documentation does not cover a question frequently asked, we'd rather improve the documentation and point to it than answer the same question over and over again. Answering questions is time consuming both for the developer that takes time away from writing useful code, and the user that has to wait several hours for an answer, instead of quickly reading the documentation. If somebody reads the documentation and still doesn't find the answer to his problem, then we need to know what exactly is not clear, and how could we improve the documentation. We would appreciate if you told us what exactly isn't clear in our documentation? Juergen Lorenz Simon wrote:
Hi,
it seems my questions are difficult. Allow me to rephrase:
Will we be able to hook into the XWiki authentication process by writing a component or plugin for xwiki?
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HCustomAu... says exactly that: it tells you that you must implement the XWikiAuthService interface and configure xwiki.cfg to point to your class. It also points to a tutorial that you can follow. Is it still not clear that you can hook into the login process? It does not use a component or a plugin (an XWiki plugin), but just a plain java class implementing an interface.
Will we be able to hook into the XWiki page creation process by writing a component or plugin for xwiki?
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Notifications says exactly that. You can use notifications to intercept the page modification events and alter the new document before it is saved. As above, you do not write a component or a plugin, but a java class implementing an interface and calling a registration method.
Will it be possible to develop and debug said components without having to check out and install the entire xwiki repository content? Or do we need to check out XWiki Enterprise on Eclipse to develop and debug said components?
You don't have to download the whole repository. If you use maven (and you should), just write a short pom.xml, declare a dependency on the xwiki-core module, and run: mvn install eclipse:eclipse This will download all the dependencies and create an eclipse project you can open with File -> Import -> Existing project into workspace If you also want the javadocs or sources, use: mvn install eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true The first time you run this, it will take a while, since lots of dependencies must be downloaded.
On 07.11.2008, at 13:17, Vincent Massol wrote:
On Nov 7, 2008, at 1:00 PM, Juergen Lorenz Simon wrote:
Thanks for the RTFM,
now can I get some answers, please? :) What part from the docs do you not understand?
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Sergiu Dumitriu http://purl.org/net/sergiu/