[xwiki-users] Check if User is in a group

2014-06-13 Thread Daniel Ebanja
Hi, how can I check programmatically that a certain member is in a group. I need this in my custom authentication, to prevent the same user from been added several times to the same group. Thanks ___ users mailing list users@xwiki.org

Re: [xwiki-users] Check if User is in a group

2014-06-13 Thread vinc...@massol.net
Hi, Did you check on google? I see that  https://www.google.com/search?q=xwiki+check+if+a+user+is+in+a+groupoq=xwiki+check+if+a+user+is+in+a+group returns several topics related to this. Thanks -Vincent On 13 Jun 2014 at 09:04:28, Daniel Ebanja

Re: [xwiki-users] Check if User is in a group

2014-06-13 Thread Daniel Ebanja
Hi, I tried many things already. But not this. http://jira.xwiki.org/plugins/servlet/mobile#issue/XWIKI-5440 I'll give this a try. Thanks Am 13.06.2014 09:12 schrieb vinc...@massol.net vinc...@massol.net: Hi, Did you check on google? I see that

Re: [xwiki-users] Syntax Guide Page doesn't work because of 'Failed to execute the [velocity] macro'

2014-06-13 Thread Clemens Klein-Robbenhaar
[...] Thanks for your answers regarding the second problem. Changing the #set($results fixied it. For the first one I found it myself. It happen if you change the option 'xwiki.section.depth=' from '2' to '1' in the xwiki.cfg. Ah, ok, that's why. I can reproduce the problem when I change

Re: [xwiki-users] Check if User is in a group

2014-06-13 Thread Hamster
Or maybe this might help... Retrieve-the-list-of-users-based-on-the-selected-group http://xwiki.475771.n2.nabble.com/Retrieve-the-list-of-users-based-on-the-selected-group-td7588132.html#a7588138 -- View this message in context:

Re: [xwiki-users] link on a header in the same page

2014-06-13 Thread vinc...@massol.net
Hi Christophe, On 12 Jun 2014 at 14:36:08, Christophe Domas (christophe.domas+xw...@gmail.com(mailto:christophe.domas+xw...@gmail.com)) wrote: Hi, Create a link on a header in the same page is painfull. First reflex is to use the link syntax of the link [[labelSpace.Page#HMyheading]]

Re: [xwiki-users] link on a header in the same page

2014-06-13 Thread Christophe Domas
Hi I know that I first used the wrong 2.0 syntax in a 2.1 xwiki page, but the documentation misleading me; *Since XWiki Syntax 2.1 is based on XWiki Syntax 2.0 all syntax from XWiki Syntax 2.0 is valid unless the 2.1 specifications suggest differently.* And the sample table on Links section had

Re: [xwiki-users] New Notifications Tutorial (a.k.a Event Listener)

2014-06-13 Thread Clemens Klein-Robbenhaar
On 06/13/2014 01:18 AM, Paul Libbrecht wrote: Hello Vincent and all, I've been successfully making my first (java-based) component (I can call it from other places) using hints from there and the components' tutorial. However, I have failed to get that component to listen to events.

Re: [xwiki-users] [ANN] 10 years of the XWiki open source project!

2014-06-13 Thread vinc...@massol.net
Hi everyone,   Just realized that this page was still in the Drafts space. I wasn’t sure where to move it to so I created a blog post out of it: http://www.xwiki.org/xwiki/bin/view/Blog/XWiki+is+10+years+old%21 Thanks to everyone who contributed to share their stories! -Vincent On 14 Nov 2013

Re: [xwiki-users] New Notifications Tutorial (a.k.a Event Listener)

2014-06-13 Thread Paul Libbrecht
Hello XWiki experts, What else can wrong in my listener? Shouldn't there be listener registration at components? (e.g. in the initialize method) yes, for registration you need to add the class to the META-INF/components.txt Sure, that's done, couldn't get Utils.getComponent to work

Re: [xwiki-users] New Notifications Tutorial (a.k.a Event Listener)

2014-06-13 Thread Thomas Mortagne
On Sat, Jun 14, 2014 at 12:01 AM, Paul Libbrecht p...@hoplahup.net wrote: Hello XWiki experts, What else can wrong in my listener? Shouldn't there be listener registration at components? (e.g. in the initialize method) yes, for registration you need to add the class to the