Re: [xwiki-users] RESTful API Issue

2012-04-11 Thread Marius Dumitru Florea
On Tue, Apr 10, 2012 at 7:18 PM, Aslam Sayyed aslam.say...@gmail.com wrote: Thanks a lot Mauris. In our current implementation, we consume virtual wikis only through REST api and we have extended it to add few functionalities as we needed. As per your comment, I'm thinking to export existing

Re: [xwiki-users] RESTful API Issue

2012-04-10 Thread Aslam Sayyed
Some more info on this issue Class: XWiki.MyCustomClass exists in default wiki XWiki. But I'm Trying to add object as shown below in another wiki (say virtualwiki1). On Mon, Apr 9, 2012 at 10:17 PM, Aslam Sayyed aslam.say...@gmail.comwrote: Hi All, I'm using RESTful API, I'm trying to create

Re: [xwiki-users] RESTful API Issue

2012-04-10 Thread Marius Dumitru Florea
On Tue, Apr 10, 2012 at 3:21 PM, Aslam Sayyed aslam.say...@gmail.com wrote: Some more info on this issue Class: XWiki.MyCustomClass exists in default wiki XWiki. But I'm Trying to add object as shown below in another wiki (say virtualwiki1). Currently you can't add objects of a type/class

Re: [xwiki-users] RESTful API Issue

2012-04-10 Thread Aslam Sayyed
Thanks a lot Mauris. In our current implementation, we consume virtual wikis only through REST api and we have extended it to add few functionalities as we needed. As per your comment, I'm thinking to export existing class definition to xar / xml and import it to other virtual wiki. Can I

[xwiki-users] RESTful API Issue

2012-04-09 Thread Aslam Sayyed
Hi All, I'm using RESTful API, I'm trying to create Xwiki Object and attach to existing document using /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/objects POST method Object customObject = new Object(); customObject.setClassName(XWiki.MyCustomClass); Property