The operations you want to perform may take some time, depending on the number of affected pages, so I wouldn't block the HTML request, triggered when you click the button, until the operation is done. Maybe this can help http://platform.xwiki.org/xwiki/bin/view/DevGuide/PerformingAsynchronousTasks .
On Wed, Nov 25, 2015 at 12:47 PM, Giordano Ninonà <[email protected] > wrote: > Hi Devs, > > I am a Master Student of Computer Science and of Business Information > Systems. I am developing my master thesis project on a case study coming > from Learnpad, unfortunately I have some problems in understanding the huge > amount of documentation provided by the XWiki website for developers, > anyway the idea behind my project is the following: > > > *Starting from a XWiki page, clicking on an hypothetical button, I want to > be able to start a Java application that will aplly changes to the XWiki > space, that are: * > > - *Add and remove single or multiple pages to the space;* > - *Set the content of the new pages;* > - *Modify content of existing pages;* > > I am wondering because it is not clear, for me, if I need to create a > new *extension > *or a new *component *or a *macro*(and the differences between them), how > to properly implement a java application for Xwiki or how to start it from > the Xwiki environment, if it is possible to modify XWiki spaces at runtime, > or how to associate java object to wiki pages....and stuff like that... > > I've already read the documentation, checked the existing extension, > cheched the Github repository, but it is dispersive, sometimes too > technical (with some knowledge taken for granted) and sometimes too > general. In the end I am stucked because I don't know how to approach my > problem in this environment. > > Do you have any suggestion to help me? I need to be put on the right truck > > Kind Regards, > Giordano Ninonà. > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

