Re: [xwiki-users] RESTful API help

2014-07-22 Thread Aaron Hardy at AC
I can't help with the App Within Minutes part, as I'm not very familiar with it - I'm sure someone who knows more than me (ie anyone) could tell you if you need to be creating a page or just creating an object on a page. But, if make the controls appear ends up meaning that you need to add an

Re: [xwiki-users] RESTful API help

2014-07-22 Thread Jason Clemons
That's kinda what I'm trying to do..would I need to create the page first? For instance, does posting to http://yoursite.com/rest/wikis/wikiname/spaces/spacename/pages/pagename/objects create the page if it doesn't exist? Or would I 1. Create the page 2. add the objects Thanks for the

Re: [xwiki-users] RESTful API help

2014-07-22 Thread Aaron Hardy at AC
As far as I know, yes - you have to create the page first before adding an object to it, otherwise you'll get an error. Keep in mind that if your sheet is bound to the class, then adding an object of that class to a page will cause that page to display that class's sheet automatically... On

Re: [xwiki-users] RESTful API help

2014-07-22 Thread Jason Clemons
Would you take a second to elaborate on that last part if you have a second? I'm not sure I understand when you say Keep in mind that if your sheet is bound to the class, then adding an object of that class to a page will cause that page to display that class's sheet automatically... When I

Re: [xwiki-users] RESTful API help

2014-07-22 Thread Aaron Hardy at AC
When you create a custom class, you also create a sheet (which is basically just another page with display code) for that class which specifies how an object of that class will be displayed when the object is attached to a page. You're prompted to do this when creating a custom class. If the sheet

Re: [xwiki-users] RESTful API help

2014-07-22 Thread Marius Dumitru Florea
On Wed, Jul 23, 2014 at 6:22 AM, Aaron Hardy at AC ashtarcommunicati...@gmail.com wrote: When you create a custom class, you also create a sheet (which is basically just another page with display code) for that class which specifies how an object of that class will be displayed when the object