Re: [xwiki-devs] XWiki 1.9-RC1: XWiki2.0 syntax by default breaks the creation of XWikiClass

2009-05-29 Thread Guillaume Lerouge
Hi Pascal, On Fri, May 29, 2009 at 2:25 PM, Pascal Voitot pascal.voitot@gmail.comwrote: The XWikiClassTemplate velocity script is in a XWiki/1.0 syntax doc: ## replace Main with the Space where you want your documents to be created ## replace the default parent with the one of your choice

Re: [xwiki-devs] XWiki 1.9-RC1: XWiki2.0 syntax by default breaks the creation of XWikiClass

2009-05-29 Thread Vincent Massol
Hi Pascal, On May 29, 2009, at 2:25 PM, Pascal Voitot wrote: The XWikiClassTemplate velocity script is in a XWiki/1.0 syntax doc: ## replace Main with the Space where you want your documents to be created ## replace the default parent with the one of your choice ## Save this template

Re: [xwiki-devs] XWiki 1.9-RC1: XWiki2.0 syntax by default breaks the creation of XWikiClass

2009-05-29 Thread Pascal Voitot
In fact, this is a problem for all the class scripts because the scripts include other scripts from other page which are also in XWiki/1.0... This is quite a problem these inclusion issues between XWiki/2.0 and XWiki/1.0... Have you thought about that? Pascal On Fri, May 29, 2009 at 2:25 PM,

Re: [xwiki-devs] XWiki 1.9-RC1: XWiki2.0 syntax by default breaks the creation of XWikiClass

2009-05-29 Thread Pascal Voitot
On Fri, May 29, 2009 at 2:34 PM, Guillaume Lerouge guilla...@xwiki.comwrote: Hi Pascal, On Fri, May 29, 2009 at 2:25 PM, Pascal Voitot pascal.voitot@gmail.comwrote: The XWikiClassTemplate velocity script is in a XWiki/1.0 syntax doc: ## replace Main with the Space where you want your

Re: [xwiki-devs] XWiki 1.9-RC1: XWiki2.0 syntax by default breaks the creation of XWikiClass

2009-05-29 Thread Vincent Massol
On May 29, 2009, at 2:42 PM, Pascal Voitot wrote: On Fri, May 29, 2009 at 2:35 PM, Vincent Massol vinc...@massol.net wrote: Hi Pascal, On May 29, 2009, at 2:25 PM, Pascal Voitot wrote: The XWikiClassTemplate velocity script is in a XWiki/1.0 syntax doc: ## replace Main with the Space

Re: [xwiki-devs] XWiki 1.9-RC1: XWiki2.0 syntax by default breaks the creation of XWikiClass

2009-05-29 Thread Pascal Voitot
On Fri, May 29, 2009 at 2:47 PM, Vincent Massol vinc...@massol.net wrote: On May 29, 2009, at 2:42 PM, Pascal Voitot wrote: On Fri, May 29, 2009 at 2:35 PM, Vincent Massol vinc...@massol.net wrote: Hi Pascal, On May 29, 2009, at 2:25 PM, Pascal Voitot wrote: The

Re: [xwiki-devs] XWiki 1.9-RC1: XWiki2.0 syntax by default breaks the creation of XWikiClass

2009-05-29 Thread Pascal Voitot
In the scripts, there are some: form action=$xwiki.getURL(${doc.space}.${class}ClassSheet,edit) method=post and when you render that inside {{velocity}}{{html}}/{{/html}}{{/velocity}}, this is quite a problem because it render the $xwiki.getUrl and then treats it as wiki syntax and surrounds it

Re: [xwiki-devs] XWiki 1.9-RC1: XWiki2.0 syntax by default breaks the creation of XWikiClass

2009-05-29 Thread Vincent Massol
On May 29, 2009, at 3:03 PM, Pascal Voitot wrote: In the scripts, there are some: form action=$xwiki.getURL(${doc.space}.${class}ClassSheet,edit) method=post and when you render that inside {{velocity}}{{html}}/{{/html}}{{/ velocity}}, this is quite a problem because it render the

Re: [xwiki-devs] XWiki 1.9-RC1: XWiki2.0 syntax by default breaks the creation of XWikiClass

2009-05-29 Thread Pascal Voitot
On Fri, May 29, 2009 at 3:19 PM, Vincent Massol vinc...@massol.net wrote: On May 29, 2009, at 3:03 PM, Pascal Voitot wrote: In the scripts, there are some: form action=$xwiki.getURL(${doc.space}.${class}ClassSheet,edit) method=post and when you render that inside

Re: [xwiki-devs] XWiki 1.9-RC1: XWiki2.0 syntax by default breaks the creation of XWikiClass

2009-05-29 Thread Vincent Massol
On May 29, 2009, at 3:28 PM, Pascal Voitot wrote: On Fri, May 29, 2009 at 3:19 PM, Vincent Massol vinc...@massol.net wrote: On May 29, 2009, at 3:03 PM, Pascal Voitot wrote: In the scripts, there are some: form action=$xwiki.getURL(${doc.space}.$ {class}ClassSheet,edit) method=post

Re: [xwiki-devs] XWiki 1.9-RC1: XWiki2.0 syntax by default breaks the creation of XWikiClass

2009-05-29 Thread Pascal Voitot
On Fri, May 29, 2009 at 3:19 PM, Vincent Massol vinc...@massol.net wrote: On May 29, 2009, at 3:03 PM, Pascal Voitot wrote: In the scripts, there are some: form action=$xwiki.getURL(${doc.space}.${class}ClassSheet,edit) method=post and when you render that inside

Re: [xwiki-devs] XWiki 1.9-RC1: XWiki2.0 syntax by default breaks the creation of XWikiClass

2009-05-29 Thread Vincent Massol
On May 29, 2009, at 3:34 PM, Pascal Voitot wrote: On Fri, May 29, 2009 at 3:19 PM, Vincent Massol vinc...@massol.net wrote: On May 29, 2009, at 3:03 PM, Pascal Voitot wrote: In the scripts, there are some: form action=$xwiki.getURL(${doc.space}.$ {class}ClassSheet,edit) method=post

Re: [xwiki-devs] XWiki 1.9-RC1: XWiki2.0 syntax by default breaks the creation of XWikiClass

2009-05-29 Thread Pascal Voitot
On Fri, May 29, 2009 at 3:43 PM, Vincent Massol vinc...@massol.net wrote: On May 29, 2009, at 3:34 PM, Pascal Voitot wrote: On Fri, May 29, 2009 at 3:19 PM, Vincent Massol vinc...@massol.net wrote: On May 29, 2009, at 3:03 PM, Pascal Voitot wrote: In the scripts, there are some:

Re: [xwiki-devs] XWiki 1.9-RC1: XWiki2.0 syntax by default breaks the creation of XWikiClass

2009-05-29 Thread Vincent Massol
On May 29, 2009, at 3:50 PM, Pascal Voitot wrote: On Fri, May 29, 2009 at 3:43 PM, Vincent Massol vinc...@massol.net wrote: On May 29, 2009, at 3:34 PM, Pascal Voitot wrote: On Fri, May 29, 2009 at 3:19 PM, Vincent Massol vinc...@massol.net wrote: On May 29, 2009, at 3:03 PM, Pascal