Thanks Vincent for your answer, but I found a solution :)
I must espace the dot in the docName when I get my document, not in the
rename method :
document =
xwiki.getDocument(spaceName+"."+docName.replace(".","\\."),context);
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Rename-document-with-dot-in-groovy-tp7595…
Sent from the XWiki- Users mailing list archive at
Nabble.com.