Hello
I'm creating a Live Table with the normal macro and I would like to know if it
is possible to change the font size and color of the text inside the table ?
{{velocity}}
#set($columns = [doc.name, doc.date])
#set($columnsProperties = {
doc.name : {displayName : Name },
doc.date :
Hello !
on one wiki page I have a skript to delete a comment on another page. But when
a user that has no edit right tries to do it, it fails. Is there a way to go
around this and let the user delete the comment as if he had edit rights?
for reference here is my simplified code
{{groovy}}
Hello
In a groovy macro I can access the comments on the page like this :
comments = doc.getComments();
now I want to delete the last one... how can I do that?
I tried :
comments[0].delete();
but it doesn't work
do you know what to type to make it work?
Thanks a lot
Adrien
Hello !
I got a pretty long code for one of my page and I get this error :
Caused by: javax.script.ScriptException:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
General error during class generation: Method code too large!
Is there any way to change the xwiki
Hello
I'm using the include macro to transfer some information between the
different documents of my xwiki, but somehow I can't transfer any class. When I
try this code :
First page :
{{groovy}}
xy=2;
public class Souris {
public String Name;
public Souris(){
Name=Jerry;
}
}
Souris Verte =
Hello,
I have little question : I would like to define a class in a groovy macro in a
document, create an instances of this class on another document and then access
this instance on the first document. Is that possible to do?
It would kinda look like this:
First doc (Doc1):
{{groovy}}
public
Hello
I have a little question and I couldn't find an answer on the internet...
In a groovy part, I can create list the attachments of the current document
with this :
{{groovy}}
list = doc.getAttachmentList();
print(list);
{{/groovy}}
how can I access the documents of another page in the same
Date: Mon, 10 Nov 2014 16:23:33 +0100
From: thomas.morta...@xwiki.com
To: users@xwiki.org
Subject: Re: [xwiki-users] access another document with groovy
def yourDocReference = new DocumentReference('xwiki', 'XWiki', 'WebHome')
def yourDoc = xwiki.getDocument(yourDocReference)
def list
Hello,
I just installed XWiki on my computer to make a small Wiki for myself and I was
unable to display icons on the page Main.WebHome Icons work fine on the
other pages, but when I write [image.icon.accept] in the editor, the text
icon.accept appears on the page instead of the icon
Thank you all for the quick answers :-)
Sadly none of the proposed syntax work on my Main.WebHome page, but they all
work on any other page of the wiki. Is there an option that I might have
changed to get this result?
Cheers
Adrien
10 matches
Mail list logo