Re: [xwiki-users] problem with doc.display - trying to set permissions based on a group

2014-08-27 Thread Thomas Mortagne
A good way to have always up to date javadoc is by using http://nexus.xwiki.org/nexus/index.html#nexus-search. See http://platform.xwiki.org/xwiki/bin/view/DevGuide/API#HHowtofindaclass. On Mon, Aug 25, 2014 at 10:29 AM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: On Fri, Aug 22,

Re: [xwiki-users] problem with doc.display - trying to set permissions based on a group

2014-08-27 Thread Thomas Mortagne
This is just a code to get the existing bindings and yes it does not replace the SRD. What we really need to automate the generation of the SRD but nobody had the time to work on it yet. Note that in that list you don't only have public APIs but also any velocity variable previously defined.

Re: [xwiki-users] problem with doc.display - trying to set permissions based on a group

2014-08-27 Thread Dmitry Bakbardin
Thanks, Thomas! This script doesn't work for me: it shows nothing. Tested at 5.x Also I'm issued http://jira.xwiki.org/browse/XWIKI-10851 for SRD update. Wed, 27 Aug 2014 14:15:56 +0200 от Thomas Mortagne thomas.morta...@xwiki.com: This is just a code to get the existing bindings and yes

Re: [xwiki-users] problem with doc.display - trying to set permissions based on a group

2014-08-27 Thread Thomas Mortagne
On Wed, Aug 27, 2014 at 2:56 PM, Dmitry Bakbardin haru_mamb...@mail.ru wrote: Thanks, Thomas! This script doesn't work for me: it shows nothing. Tested at 5.x Yes this script does not work in 5.x. What version are you on exatly ? Also I'm issued http://jira.xwiki.org/browse/XWIKI-10851

Re: [xwiki-users] problem with doc.display - trying to set permissions based on a group

2014-08-27 Thread Leonardo Kodato
Hi everyone. I have followed your suggestion Marius and I'm beginning to understand how velocity works. It seems to be easy. But I cant make some things work: 1 - How can I get a object property when creating a document?I want to make the document only editable to its author and to a specified

Re: [xwiki-users] problem with doc.display - trying to set permissions based on a group

2014-08-25 Thread Marius Dumitru Florea
On Fri, Aug 22, 2014 at 2:16 PM, Dmitry Bakbardin haru_mamb...@mail.ru wrote: Hi! Marius, http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation contains documentation up to 5.x. Where one can find 6.x documentation in the same way? Indeed, the SRD hasn't been updated in a while. There's

Re: [xwiki-users] problem with doc.display - trying to set permissions based on a group

2014-08-22 Thread Marius Dumitru Florea
On Wed, Aug 20, 2014 at 9:11 PM, Leonardo Kodato leonardokod...@gmail.com wrote: Hello everyone. I'm currently developing my skills with velocity to be able to make more advanced applications. Today what I'm trying to do is set some rights based on a modified version of FAQ Application. I've

Re: [xwiki-users] problem with doc.display - trying to set permissions based on a group

2014-08-22 Thread Dmitry Bakbardin
Hi! Marius, http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation contains documentation up to 5.x. Where one can find 6.x documentation in the same way? Fri, 22 Aug 2014 11:16:44 +0300 от Marius Dumitru Florea mariusdumitru.flo...@xwiki.com: On Wed, Aug 20, 2014 at 9:11 PM, Leonardo

[xwiki-users] problem with doc.display - trying to set permissions based on a group

2014-08-20 Thread Leonardo Kodato
Hello everyone. I'm currently developing my skills with velocity to be able to make more advanced applications. Today what I'm trying to do is set some rights based on a modified version of FAQ Application. I've added just a Group field, so the user can direct his question to one of our