[xwiki-users] Sort Array of Objects

2016-05-03 Thread Rochlin Oleg
Hello again.

I don´t have really much knowledge in Velocity. So right now begging for help :D

#set($users = $xwiki.rightsmanager.usersApi.allUsers) 

#foreach($user in $users)

I am getting an array of objects(user in xwiki). $users-array should be sorted 
by familyname  

Here is the snippet from 

https://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/generic/SortTool.html

I am still kinda confused how to apply this on mine

Single Property Sort
 #foreach($obj in $sorter.sort($objects, "name"))
   $obj.name Ordinal= $obj.ordinal
 #end
 End

Thank you, guys =)
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changing the app name in App Within Minutes

2016-05-02 Thread Rochlin Oleg
Hello there. 

I´ve got some questions about xwiki blog. Currently blog is being used by 
internal and also external user. some information should not be read by 
externals. Is it possible to decide right access for every  single post? 

Thanks,

Oli
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Compare Strings

2016-04-29 Thread Rochlin Oleg
I am currently trying to Filter my userlist

#set($users = $xwiki.rightsmanager.usersApi.allUsers)

#foreach($user in $users)

  #if(($xwiki.getUser($user).isUserInGroup("XWiki.GroupName"))&& 
$xwiki.getUser($user).position !="StringExample")

  {{section justify="true"}}

It should show me all users except of those with String I defined in if within 
position section.
sadly the second part of IF is being ignored. Users with String are still shown.


Thanks  =)

Oli

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki Button with ActionListener?

2016-04-19 Thread Rochlin Oleg
Thanks for the link. it´s still not really helping me with my question.  )


-Ursprüngliche Nachricht-
Von: Mohamed Boussaa [mailto:mohamed.bous...@xwiki.com] 
Gesendet: Montag, 18. April 2016 17:41
An: XWiki Users
Betreff: Re: [xwiki-users] XWiki Button with ActionListener?

Hello,

Here is the XWiki Developer's Guide:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/


Regards,
Mohamed.

On Mon, Apr 18, 2016 at 1:28 PM, Rochlin Oleg <oleg.roch...@ssi-schaefer.com
> wrote:

> Hello my fellow XWIKI-people.
> I would like to create a button to generate some content.
>
> Pseudo-code example
>
> {{velocity}}
>
> #set(button=false)
>
> Click this Button causes #set(button=true)
>
> #if($button)
>
> script starts
>
> #end
>
> {{/velocity}}
>
> Any ideas? I am pretty new to WIKI
>
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] XWiki Button with ActionListener?

2016-04-18 Thread Rochlin Oleg
Hello my fellow XWIKI-people.
I would like to create a button to generate some content.

Pseudo-code example

{{velocity}}

#set(button=false)

Click this Button causes #set(button=true)

#if($button)

script starts

#end

{{/velocity}}

Any ideas? I am pretty new to WIKI

Mit freundlichen Grüßen / Best regards

Oleg Rochlin | Werkstudent | System implementation
SSI SCHÄFER | SSI Schäfer Noell GmbH | i_Park Klingholz 18/19 | 97232 
Giebelstadt | Germany

oleg.roch...@ssi-schaefer.com

Website | Blog | 
YouTube | 
Facebook


SSI Schäfer Noell GmbH | 97232 Giebelstadt | Germany
Incorporated in Würzburg | Commercial Register B 6936 | VAT no. DE170860279
Managing Directors: Rudolf Keller, Henricus Swinkels

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] xWIKI LDAP auto update

2016-04-14 Thread Rochlin Oleg
Hello there. I am pretty new to XWIKI. I have some questions to LDAP and User 
information.
User management is currently used with LDAP. I changed user profile information 
and mapped fields to LDAP. Information is as usual updated once user logged in 
to XWIKI
 I would like to know if there is any possibility to auto update user 
information in some time periods without pushing them to login in wiki.

Thanks!


Mit freundlichen Grüßen / Best regards

Oleg Rochlin | Werkstudent | System implementation
SSI SCHÄFER | SSI Schäfer Noell GmbH | i_Park Klingholz 18/19 | 97232 
Giebelstadt | Germany

oleg.roch...@ssi-schaefer.com

Website | Blog | 
YouTube | 
Facebook


SSI Schäfer Noell GmbH | 97232 Giebelstadt | Germany
Incorporated in Würzburg | Commercial Register B 6936 | VAT no. DE170860279
Managing Directors: Rudolf Keller, Henricus Swinkels

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users