[xwiki-users] Executing a page from another page

2011-11-22 Thread jerem
Hello, I'm trying to execute a page from another page. The executed page has some groovy and velocity, does some queries, and as output attaches a computed file to itself (and outputs some success or error message to page content). Executing it means just showing the page, as a result the

Re: [xwiki-users] Executing a page from another page

2011-11-22 Thread Marius Dumitru Florea
On Tue, Nov 22, 2011 at 11:14 AM, jerem jeremie.bousq...@gmail.com wrote: Hello, I'm trying to execute a page from another page. The executed page has some groovy and velocity, does some queries, and as output attaches a computed file to itself (and outputs some success or error message to

Re: [xwiki-users] Executing a page from another page

2011-11-22 Thread jerem
Seems great but ... I was not complete in my description. In fact the caller page is a groovy class ... And I want to execute MyPageToExecute from groovy, depending on conditions. Tried println {{include document/}} but it did not work. I could close my groovy block and restart after, but then

Re: [xwiki-users] Executing a page from another page

2011-11-22 Thread jerem
It's working with coding a sort-of wget from groovy code (Reader on URLConnection) :) Thanks, Jeremie -- View this message in context: http://xwiki.475771.n2.nabble.com/Executing-a-page-from-another-page-tp7019817p7019940.html Sent from the XWiki- Users mailing list archive at Nabble.com.