Hello Sirs,
I need to implement the function "jsontool.serialize" in the code below, groovy, and I do not understand the error that is accusing, can help me solve this?
{{groovy}}def hql0 = ", BaseObject as obj where doc.fullName = obj.name and obj.className = 'E-nova.E-novaClass'";def listProjetos = services.query.hql(hql0).execute();def json = ['totalprojetos': listProjetos.size(), 'projetos':[1000] , 'edges':[1000] ];def i = 0;
for(item in listProjetos){ def hql = "select distinct list from BaseObject as obj, DBStringListProperty as prop join prop.list list where obj.className='XWiki.TagClass' and obj.id=prop.id.id and prop.id.name='tags' and obj.name ='$item' "; def tag = services.query.hql(hql).execute(); i = i + 1;
json.projetos.add({ id: xwiki.getDocument(item).getName() })}
jsontool.serialize(json);
{{/groovy}}
Ty.
Atenciosamente,
Eduardo Abritta
e-mail: eduardo.abritta(a)outlook.com | cel: (32)8472-9631
Hello,
I wanted to know if it is possible to filter by groups with CAS authenticator.
http://extensions.xwiki.org/xwiki/bin/view/Extension/Authenticator+Jasig+CAS
I must maps groups with xwikiAllgroups?
Are there a parameter like LDAP one?
#-# Only members of the following group can authenticate.
#-# The following kind of groups are supported:
#-# * LDAP static groups (users/subgroups are listed statically in the group object)
xwiki.authentication.ldap.user_group=xxxxxxx
and BTW for ldap authentication what's "LDAP static groups (users/subgroups are listed statically in the group object)" meaning?
If I add a LDAP member in my LDAP group, I must relauinch Tomcat for synchronsie xwiki group?
Thxs.
Hello everybody,
I'm using a platform I coded ~a year ago to provide an interface handling
chrooted user creation, with secure storage of password and of course file
storage.
I thought it would be a good idea, since I released the code yesterday, to
have a github repo for it.
See
http://extensions.xwiki.org/xwiki/bin/view/Extension/FTP+Wiki+%28File+Trans…
I'm not a real developper so surely the code can be improved.
I'd like to have a repo with the name of application-filetransferplatform ,
is it possible ?
Thanks
Guillaume