[xwiki-users] How can I unregister from mail list?

2016-04-07 Thread Giordano Ninonà
Hi users, I would like to unsign from this mailing list and also from the one of developers :) Giordano. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

[xwiki-users] How to completely remove XWiki Enterprise

2016-03-02 Thread Giordano Ninonà
Hi users, Yesterday I was testing my java component and after I have deleted some pages from my wiki (I am running XWiki Enterprise 7.3) I started to get some errors and malfunctioning such as: I don't see anymore any pages under the "Deleted pages" index and when I try to delete some nested

Re: [xwiki-users] I can't use my component anymore

2016-03-02 Thread Giordano Ninonà
Please guys, I have to graduate in 20 days and I can´t do it if I am not able to test my software. At least tell me how can I completely unistall everything from my machine so I can perform a clean isntallation of XWiki Enterprise. Giordano. 2016-03-01 19:30 GMT+01:00 Giordano Ninonà

[xwiki-users] I can't use my component anymore

2016-03-01 Thread Giordano Ninonà
HI users, I was in the final testing phase of my component, like always I have ran my Xwiki (version 7.3) then I have deleted the pages that I have to create automatically with my component as well as those apges containing XClass and the sheets. I don't know what I have done uncorrectly, but the

Re: [xwiki-users] XWiki Architecture

2016-02-17 Thread Giordano Ninonà
anwhile you make yourself some, please don`t > hesitate to share ;) > > Thanks, > Eduard > > On Wed, Feb 17, 2016 at 4:33 PM, Giordano Ninonà < > giordano.nin...@gmail.com> > wrote: > > > Hi users, > > > > Is there any usefull and self-explainin

[xwiki-users] XWiki Architecture

2016-02-17 Thread Giordano Ninonà
Hi users, Is there any usefull and self-explaining image or diagram which describe the Architecture of XWiki? I am looking for something like this: http://dev.xwiki.org/xwiki/bin/view/Drafts/OldArchitecture but that is not "old" of course! Any help? Giordano.

Re: [xwiki-users] Space´s representation

2016-02-12 Thread Giordano Ninonà
? > > Thanks, > Eduard > > On Thu, Feb 11, 2016 at 4:29 PM, Giordano Ninonà < > giordano.nin...@gmail.com> > wrote: > > > Hi users, > > > > In my java component I am handling the creation of spaces and pages. The > > point is to write a java meth

[xwiki-users] Space´s representation

2016-02-11 Thread Giordano Ninonà
Hi users, In my java component I am handling the creation of spaces and pages. The point is to write a java method that can create and update spaces and terminal pages contained in them according to some data structure. I already have created XClasses, XObjects and Sheets to handle the content

[xwiki-users] How to display strucured Data

2016-01-21 Thread Giordano Ninonà
Hi users, Searching and reading plenty of material, I have understood some of the XClass and Sheet behaviour, but I have still some problems because, even if I have created an XClass and a related Sheet (binded adding an "XWiki.ClassSheetBinding" object to the XClass document) and after have

Re: [xwiki-users] How to display strucured Data

2016-01-21 Thread Giordano Ninonà
P.S. I am working on Java, thus in each page I see that the last modification was performed by "Unknown user". 2016-01-21 12:58 GMT+01:00 Giordano Ninonà <giordano.nin...@gmail.com>: > Hi users, > > Searching and reading plenty of material, I have understood some

[xwiki-users] How to create an XClass and bind to a sheet

2016-01-19 Thread Giordano Ninonà
Hi users, I am wondering on how to create an XClass from java, and bind it to a class-sheet to be used to represent several objects as XWiki pages. How can I achieve that in a way that allow me to incrementaly update the object every time a modification is performed? Thanks for your help,

Re: [xwiki-users] How to create an XClass and bind to a sheet

2016-01-19 Thread Giordano Ninonà
nt that listens to the ApplicationReadyEvent event and then in the > onEvent() method, create your xclass and perform all the operations you > need. > > > > As Thomas mentioned, you could also extend > AbstractMandatoryDocumentInitializer although this is not a public API and > it may be r

[xwiki-users] XClass, BaseObject and class Space

2016-01-18 Thread Giordano Ninonà
Hi users, I am writing because I have an object in my Java code to be represented in XWiki. My idea is to create an XClass and a related style sheet, then I would create a Base Object for each object to be represented with a wiki page. I need to update the wiki every time the data structure that

[xwiki-users] Dropdown menù with child pages

2016-01-14 Thread Giordano Ninonà
Hi users, Today I am wondering about how to create, inside a wiki page, a drop down menù containing all the child pages of another space. Any idea? Giordano. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

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à <giordano.nin...@gmail.com>: > Hi devs, > > I am developing a sort of UI

[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] Send data to Java component

2016-01-13 Thread Giordano Ninonà
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 Ninonà > <giordano.nin...@gmail.com> wrote: > > What I get is the code line *$services.evoS.addInstance(&

[xwiki-users] How retrieve terminal pages

2016-01-12 Thread Giordano Ninonà
Hi users, I have a problem with my Java component. I have a hjava method wich take as input 3 strings: wikiName, wikiSpace and the wiki page to retrieve the doc, thus the content and perform modification. Ok, when I try to delete a terminal page inside a nested page, there is no problem, the

Re: [xwiki-users] How retrieve terminal pages

2016-01-12 Thread Giordano Ninonà
I got the same behaavior also with the modifications suggested by Guillaume. Any other ideas? Giordano. 2016-01-12 17:16 GMT+01:00 Giordano Ninonà <giordano.nin...@gmail.com>: > Hi Guillaume, > > Thank you a lot, that really helps! The only thing is which library I > should

Re: [xwiki-users] How retrieve terminal pages

2016-01-12 Thread Giordano Ninonà
resolve("AB.CD\\.E.F", new > org.xwiki.model.reference.WikiReference('hello')); > def docRef = new org.xwiki.model.reference.DocumentReference('page', > spaceRef); > {{/groovy}} > > I hope it helps, > Guillaume > > > 2016-01-12 16:27 GMT+01:00 Giordano Ninonà <giorda

Re: [xwiki-users] Velocity documentation

2016-01-09 Thread Giordano Ninonà
Thank you! :D 2016-01-09 11:52 GMT+01:00 Hamster : > https://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html > > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Velocity-documentation-tp7597449p7597450.html > Sent from the XWiki-

[xwiki-users] Velocity documentation

2016-01-09 Thread Giordano Ninonà
Hello users, I am wondering where can I find the Velocity documentation or guides to discover how this scripting language works. I am asking this because the " *Scripting"i* [1] and the "*Velocity Macro" *[2] pages explain almost anything about the usage of the language (syntax and semantic).

Re: [xwiki-users] Why deleted page still appear in the UI?

2016-01-06 Thread Giordano Ninonà
I've removed the *saveDocument() *method and it works :D Thnaks, Giordano. 2016-01-05 18:38 GMT+01:00 vinc...@massol.net <vinc...@massol.net>: > > > > On 5 Jan 2016 at 18:35:18, Giordano Ninonà (giordano.nin...@gmail.com > (mailto:giordano.nin...@gmail.com)) wr

Re: [xwiki-users] Why deleted page still appear in the UI?

2016-01-05 Thread Giordano Ninonà
e to documents. > > However the doc should no longer appear in the Dashboard Tree. > > Thanks > -Vincent > > > On 5 Jan 2016 at 16:39:02, Giordano Ninonà (giordano.nin...@gmail.com) > wrote: > > Hi Vincent, > > I mean that I can see the deletion on the Activity S

Re: [xwiki-users] Why deleted page still appear in the UI?

2016-01-05 Thread Giordano Ninonà
c.delete()) > * Is page Main.TestPage deleted: > $xwiki.getDocument('Main.TestPage').isNew() > {{velocity}} > > Hope it helps, > -Vincent > > On 5 Jan 2016 at 16:39:02, Giordano Ninonà (giordano.nin...@gmail.com > (mailto:giordano.nin...@gmail.com)) wrote: > > > Hi Vince

[xwiki-users] Why deleted page still appear in the UI?

2016-01-05 Thread Giordano Ninonà
Hi users, I'm developing a java component that offer APIs accessed through script services to perfom modification to the wiki. When I delete a document (thus the related page I guessed) from my java code with the "*.deleteDocument(doc, context)*", on my browser I see the last modification as a

Re: [xwiki-users] Why deleted page still appear in the UI?

2016-01-05 Thread Giordano Ninonà
On 5 Jan 2016 at 16:20:52, Giordano Ninonà (giordano.nin...@gmail.com > (mailto:giordano.nin...@gmail.com)) wrote: > > > Hi users, > > > > I'm developing a java component that offer APIs accessed through script > > services to perfom modification to the wiki. > >

Re: [xwiki-users] How to deploy Java Component and save files?

2015-12-26 Thread Giordano Ninonà
Moreover the command prompt tell me that there is an invalid schema name, in this case "Home", but that is the name of my wiki If I use the alias of my wiki (localhost) I get the same error. Giordano. 2015-12-26 17:07 GMT+01:00 Giordano Ninonà <giordano.nin...@gmail.com>

Re: [xwiki-users] How to deploy Java Component and save files?

2015-12-26 Thread Giordano Ninonà
t>: > Hi Giordano, > > On 23 Dec 2015 at 19:40:11, Giordano Ninonà (giordano.nin...@gmail.com > (mailto:giordano.nin...@gmail.com)) wrote: > > > Thanks Vincent, > > > > I found everything I need but I got a nullpointer exeptioneverytime I > use the envir

Re: [xwiki-users] How to deploy Java Component and save files?

2015-12-23 Thread Giordano Ninonà
toString() > method is called on each object and the resulting Strings are compared." > > Thanks, > Marius > > [1] > > https://click.apache.org/docs/velocity/vtl-reference-guide.html##if/#elseif/#else%20-%20Output%20conditional%20on%20truth%20of%20statements > > > >

Re: [xwiki-users] How to deploy Java Component and save files?

2015-12-23 Thread Giordano Ninonà
01:00 vinc...@massol.net <vinc...@massol.net>: > > > On 23 Dec 2015 at 16:56:20, Giordano Ninonà (giordano.nin...@gmail.com > (mailto:giordano.nin...@gmail.com)) wrote: > > > Hi users, > > > > Thanks for your answers, anyway it wasn't a String problem, and also > ch

Re: [xwiki-users] How to deploy Java Component and save files?

2015-12-22 Thread Giordano Ninonà
were wrong? Giordano. 2015-12-22 11:31 GMT+01:00 vinc...@massol.net <vinc...@massol.net>: > Hi Giordano, > > On 21 Dec 2015 at 15:20:55, Giordano Ninonà (giordano.nin...@gmail.com > (mailto:giordano.nin...@gmail.com)) wrote: > > > Hi users, > > > > My project in XWi

[xwiki-users] How to deploy Java Component and save files?

2015-12-21 Thread Giordano Ninonà
Hi users, My project in XWiki consists in a java component which offers some APIs through a script service called by a Velocity script in a wiki page. I put my .jar in the directory C:\XWiki Enterprise 7.3\*webapps\xwiki\WEB-INF\lib *and this is the Velocity and HTML code that I've put in my

[xwiki-users] Can't run XWiki 7.3

2015-12-15 Thread Giordano Ninonà
Hi users, I have installed XWiki 7.3 but when I start the service, you can see in the attachments what the commando prompt is saying to me. I have tried to unistall and re-install, I've cheched the environment variable JAVA HOME and I don't know how to solve this. Giordano.

Re: [xwiki-users] Can't run XWiki 7.3

2015-12-15 Thread Giordano Ninonà
Solved, I've changed the installation directory and it worked, my OS is WIndows 8.1 :) 2015-12-15 11:32 GMT+01:00 Giordano Ninonà <giordano.nin...@gmail.com>: > Hi users, > > I have installed XWiki 7.3 but when I start the service, you can see in > the attachments what t

Re: [xwiki-users] [xwiki-user] How can I get the Wiki (XWiki object) from Execution context?

2015-12-14 Thread Giordano Ninonà
It doesn't matter, I have cleaned my project and updated Maven dependencies and now it works :P Thanks again. 2015-12-14 11:10 GMT+01:00 Giordano Ninonà <giordano.nin...@gmail.com>: > Thanks a lot, but when I write > > *@Inject private Provider xwikiContextProvider;* > I ge

[xwiki-users] [xwiki-user] How can I get the Wiki (XWiki object) from Execution context?

2015-12-14 Thread Giordano Ninonà
Hi users, I am developing a Java Component that offers APIs through a script service. Those APIs have to modify space and pages' contents of a wiki, thus I was wondering on how to do thatI already know that if I want to perform modifications to a Wiki I must add the "xwiki-platform-oldcore"

Re: [xwiki-users] [xwiki-user] How can I get the Wiki (XWiki object) from Execution context?

2015-12-14 Thread Giordano Ninonà
ovider; > > See > http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents#HTheXWikicontext > for more about XWikiContext in components. > > On Mon, Dec 14, 2015 at 10:53 AM, Giordano Ninonà > <giordano.nin...@gmail.com> wrote: > > Hi users, > &g

Re: [xwiki-users] [xwiki-user] How can I get the Wiki (XWiki object) from Execution context?

2015-12-14 Thread Giordano Ninonà
so you'd better use Java 7. > > On Mon, Dec 14, 2015 at 11:15 AM, Giordano Ninonà > <giordano.nin...@gmail.com> wrote: > > It doesn't matter, I have cleaned my project and updated Maven > dependencies > > and now it works :P > > > > Thanks again. > &g