[xwiki-users] how to purge history in a space?

2014-07-08 Thread Pascal BASTIEN
Hello, I need some help with my velocity script. I try to remove history of pages on a space. This code work well for a page: {{velocity}} $xwiki.getDocument('BacASable.TestPage3').getDocument().resetArchive($context.context) {{/velocity}} but my script fail when I launch this one to remove

Re: [xwiki-users] how to purge history in a space?

2014-07-08 Thread vinc...@massol.net
Hi Pascal, Does it work with  http://extensions.xwiki.org/xwiki/bin/view/Extension/Remove+Document+History ? Thanks -Vincent On 8 Jul 2014 at 10:29:13, Pascal BASTIEN (pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote: Hello, I need some help with my velocity script. I try to

Re: [xwiki-users] how to purge history in a space?

2014-07-08 Thread Pascal BASTIEN
Yes thxs you, I saw this extension. It's work with that. I saw than this user meet same problem: http://xwiki.markmail.org/message/2tx6ac55lrjmju6u?q=purge+history+already+associated With velocity it is impossible to remove history then? If yes, I will shedule your extension.

Re: [xwiki-users] how to purge history in a space?

2014-07-08 Thread vinc...@massol.net
On 8 Jul 2014 at 11:14:25, Pascal BASTIEN (pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote: Yes thxs you, I saw this extension. It's work with that. If it’s working then you could do the same! I saw than this user meet same problem:

Re: [xwiki-users] exchanging the ScriptMacro ClassLoader

2014-07-08 Thread Summer, Roman
Hi, while I tried to implement the org.xwiki.classloader.ExtendedURLStreamHandler in the described way I recognized some problems: - First, the class org.xwiki.rendering.internal.macro.script.ScriptClassLoaderHandlerListener uses the

Re: [xwiki-users] how to purge history in a space?

2014-07-08 Thread Pascal BASTIEN
I already check the code of this extension: it is groovy code and it is not a simple one... I wanted reinit my sandbox with velocity code and I wonder if there aren't a bug with resetArchive method (or if I'm wrong with my syntax) Thxs anyway :-) De :

Re: [xwiki-users] exchanging the ScriptMacro ClassLoader

2014-07-08 Thread Thomas Mortagne
On Tue, Jul 8, 2014 at 1:35 PM, Summer, Roman roman.sum...@de-gmbh.com wrote: Hi, while I tried to implement the org.xwiki.classloader.ExtendedURLStreamHandler in the described way I recognized some problems: - First, the class

Re: [xwiki-users] how to purge history in a space?

2014-07-08 Thread Pascal BASTIEN
FYI, finally I add this parameter to overwryte my Sandbox (and reinit history): copy $xwiki.copyDocument(TemplateSandbox.$docName, Sandbox.$docName,fr,true,true))

Re: [xwiki-users] how to purge history in a space?

2014-07-08 Thread vinc...@massol.net
Hi Pascal, It could be nice to share how to reinitialize a space” as a snippet on extensions.xwiki.org when you have it all working ;) Thanks -Vincent On 8 Jul 2014 at 17:38:43, Pascal BASTIEN (pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote: FYI, finally I add this

Re: [xwiki-users] Display problem: gray background

2014-07-08 Thread Leonardo Kodato
UPDATE: I tried to update Xwiki to the last super stable version, but the problem persists. It loads the new version and tries to display the Distribution Wizard to start the upgrade proccess, but then the gray background shows up and there is nothing I can do. One thing to note is that some