Re: [xwiki-users] Send data to Java component

2016-01-13 Thread Giordano Ninonà
What I get is the code line *$services.evoS.addInstance("$type", "$pName", "$description") *printed in the wiki page. GIordano. 2016-01-13 12:18 GMT+01:00 Giordano Ninonà : > Hi devs, > > I am developing a sort of UI for my java component and I have encountered > a

Re: [xwiki-users] Page tree stopped working on Main wiki

2016-01-13 Thread Christoph Haas
Am 13.01.2016 um 11:27 schrieb Marius Dumitru Florea: > Can you try the same with XWiki.DocumentTree page? (it includes > XWiki.DocumentTreeMacros and I thought PR is checked on the included > content). Done that. Did not resolve it. However on the "DocumentTree" page I find that these work on the

Re: [xwiki-users] Page tree stopped working on Main wiki

2016-01-13 Thread Marius Dumitru Florea
On Tue, Jan 12, 2016 at 6:04 PM, Christoph Haas wrote: > Am 12.01.2016 um 16:39 schrieb vinc...@massol.net: > > On 12 Jan 2016 at 14:27:50, Christoph Haas (em...@christoph-haas.de > (mailto:em...@christoph-haas.de)) wrote: > >> Am 12.01.2016 um 13:04 schrieb Marius

[xwiki-users] How to inject some velocity or groovy code into my 'app within minutes' template?

2016-01-13 Thread Danny Sharpe
Hi, I'm a real novice, so please forgive my question if it is trivial. I've created a simple app with App Within Minutes, and I'd like to customise it a little. For example I have a boolean checkbox and a user selector with the app, which I'd like to be disabled (uneditable) for all users except

[xwiki-users] Send data to Java component

2016-01-13 Thread Giordano Ninonà
Hi devs, I am developing a sort of UI for my java component and I have encountered a problem: In a wiki page I've put some input text boxes(i.e. *Page name: *) in which the user will insert the information needed by the method that I want to invoke from Velocity when I push a button. I have

Re: [xwiki-users] How to inject some velocity or groovy code into my 'app within minutes' template?

2016-01-13 Thread Marius Dumitru Florea
Hi Danny, I suggest you start by reading http://extensions.xwiki.org/xwiki/bin/view/Extension/App+Within+Minutes+Application/#HCustomization , in case you haven't done it already. Hope this helps, Marius On Wed, Jan 13, 2016 at 1:11 PM, Danny Sharpe wrote: > Hi, > > I'm a

Re: [xwiki-users] Send data to Java component

2016-01-13 Thread Thomas Mortagne
Are you sure your ScriptService component have has @Named("evoS") ? Or maybe you forgot to register it in component.txt file. Another possibility is that your method return null (when a method return null Velocity print as if it was not existing). On Wed, Jan 13, 2016 at 12:20 PM, Giordano

Re: [xwiki-users] Send data to Java component

2016-01-13 Thread Giordano Ninonà
Thanks Thomas, It was the last one. Il 13/gen/2016 13:29, "Thomas Mortagne" ha scritto: > Are you sure your ScriptService component have has @Named("evoS") ? Or > maybe you forgot to register it in component.txt file. > > Another possibility is that your method return

Re: [xwiki-users] How to inject some velocity or groovy code into my 'app within minutes' template?

2016-01-13 Thread DannyS
Hi Marius, Thanks for the speedy reply :) I had read that page, but having re-read it today I made a modicum of progress. I'm still not sure how to disable and set defaults to the template when creating a new page/object within my app, but I did figure out how to edit values of the pages after