You also need to escape \ itself to be complete. If you were using
model script service as Vincent suggested you would not need to worry
about escaping.
On Thu, Sep 3, 2015 at 5:10 PM, qvendeville
<quentin.vendeville(a)capgemini.com> wrote:
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.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne