Re: [xwiki-users] Including local (file://) webpage

2016-03-07 Thread pgregoire
Ok then, thanks for the answers - I'll look into using the getURLContent function then. vmassol wrote > On 7 Mar 2016 at 16:24:11, pgregoire ( > pgregoire@ > ) wrote: > > Well,  > file:// aside, I'm wondering whether there is an xwiki macro that will  > actuall

Re: [xwiki-users] Including local (file://) webpage

2016-03-07 Thread pgregoire
Well, file:// aside, I'm wondering whether there is an xwiki macro that will actually get the URL content of a certain URL, and render it within a page. I thought that this was what getURLContent did, but if such is the case, then it's my understanding that the macro runs on the server to render a

Re: [xwiki-users] Including local (file://) webpage

2016-03-07 Thread pgregoire
Yes, I understand it can be handled on the client web-browser side, I was wondering if there was some way that on the server side, the wiki server could parse the webpage and include the *resulting page* in another web page (as opposed to a link to the page), so that to the client, it would look

[xwiki-users] Including local (file://) webpage

2016-03-04 Thread pgregoire
Hello, I'm pretty sure this can't be done currently, but I still wanted to double check. It seems that Chrome and Firefox prevent linking to local files - so the IFrame macro, when pointing to file://someserver/somefile.html, doesn't display anything. For some reason IE allows it, so I do see the

Re: [xwiki-users] RESTful API to create a new object of custom class?

2016-03-04 Thread pgregoire
Finally made it! So - first of all I messed up my class name while trying stuff out, I didn't need the XWiki. prefix in there. Second, I first create the page with a PUT command, then I make it into an instance of my class (or rather create an object of that class under it and somehow it does the

Re: [xwiki-users] RESTful API to create a new object of custom class?

2016-03-03 Thread pgregoire
Ok an update here... With the following syntax: "C:\Program Files\cURL\bin\curl.exe" -u admin:admin -X *POST *-H "Content-type: application/x-www-form-urlencoded" -H "Accept: application/xml" -d "className=XWiki.Development.Resources.Version Information.VersionInformationClass" -d

Re: [xwiki-users] RESTful API to create a new object of custom class?

2016-03-02 Thread pgregoire
I'm sorry, I think I still need a little help here... So, I managed to get my object created. To give you an idea, I have a page (at Development.Resources.Version Information.WebHome) where I have a LiveTable that shows all my VersionInformation objects. When I create these objects, they wind up

Re: [xwiki-users] RESTful API to create a new object of custom class?

2016-03-01 Thread pgregoire
Ok I think we're on to something now... The actual name of the space is "Development". "Software Development" is just the pretty name. I entered the page as WebHome. http://srvwiki:8080/xwiki/rest/wikis/xwiki/spaces/Development/spaces/Resources/spaces/Version+Information/pages/WebHome/objects

Re: [xwiki-users] RESTful API to create a new object of custom class?

2016-03-01 Thread pgregoire
Thank you, so basically everything that has children is considered a space? I tried the two following syntaxes: -X POST -H "Content-type: application/x-www-form-urlencoded" - H "Accept: application/xml" -d "className=Development.Resources.Version Information.VersionInformationClass" -d

Re: [xwiki-users] How to filter livetable

2016-02-25 Thread pgregoire
Eduard Moraru wrote > Hi, > > On Thu, Feb 25, 2016 at 3:26 PM, pgregoire > pgregoire@ > wrote: > >> Eduard Moraru wrote >> > On Thu, Feb 25, 2016 at 12:31 PM, Eduard Moraru >> >> > enygma2002@ >> >> > >> > wrote: &g

Re: [xwiki-users] How to filter livetable

2016-02-25 Thread pgregoire
; > Thanks, > Eduard > > [5] > http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro#HAllacceptedvalues > >> >> Hope this helps, >> Eduard >> >> -- >> [1] >> http://extensions.xwiki.org/xwiki/bin/view/Extension/Live

[xwiki-users] How to filter livetable

2016-02-24 Thread pgregoire
Hello, I installed xwiki a few days ago and I'm still learning the ropes. I created a new class called VersionInformation with its associated template and sheet. I'm able to create objects and display them in a livetable, but I have a hard time using the queryFilters option. My class has a