Hi Ola, 'fraid to say you've found the first incompatibility between Spiro and Isis. IIRC, the spec doesn't mandate the "simple" scheme, or if it does, well I'm afraid that Isis doesn't currently support it.
Best I can suggest is to load up Isis into Eclipse [1] build, and submit a patch [3]. Happy to support you. Dan [1] http://isis.apache.org/contributors/development-environment.html [2] http://isis.apache.org/contributors/building-isis.html [3] http://isis.apache.org/contributors/contributing.html On 5 March 2014 16:52, Tomoloju, Ola <[email protected]> wrote: > Hello Folks, > > Please, how do you switch on simple scheme 'extensions' in an Isis App? > > I think our current Isis app is set up to use formal scheme. > > I am working on a proof of concept, which will offer CRUD operations using > existing Isis RO services. > > I am setting up Spiro Angular framework as a client to our Isis RO > services and as stated below Spiro needs a simple scheme extension to work. > > Any help will be appreciated. > > > > Below is the error I am getting: > > > > TypeError: Cannot read property 'friendlyName' of undefined at > viewModelFactory.actionViewModel ( > http://localhost:8080/crudpoc/js/spiro.angular.services.viewmodelfactory.js:118:63<http://localhost:8080/crudpoc/js/spiro.angular.services.viewmodelfactory.js>) > at > http://localhost:8080/crudpoc/js/spiro.angular.services.viewmodelfactory.js:293:45<http://localhost:8080/crudpoc/js/spiro.angular.services.viewmodelfactory.js>at > http://localhost:8080/crudpoc/js/underscore.js:99:29<http://localhost:8080/crudpoc/js/underscore.js>at > _.each._.forEach ( > http://localhost:8080/crudpoc/js/underscore.js:87:22<http://localhost:8080/crudpoc/js/underscore.js>) > at Function._.map._.collect ( > http://localhost:8080/crudpoc/js/underscore.js:98:5<http://localhost:8080/crudpoc/js/underscore.js>) > at viewModelFactory.serviceViewModel ( > http://localhost:8080/crudpoc/js/spiro.angular.services.viewmodelfactory.js:292:46<http://localhost:8080/crudpoc/js/spiro.angular.services.viewmodelfactory.js>) > at > http://localhost:8080/crudpoc/js/spiro.angular.services.handlers.js:129:54<http://localhost:8080/crudpoc/js/spiro.angular.services.handlers.js>at > wrappedCallback ( > http://localhost:8080/crudpoc/js/angular.js:6846:59<http://localhost:8080/crudpoc/js/angular.js>) > at > http://localhost:8080/crudpoc/js/angular.js:6883:26<http://localhost:8080/crudpoc/js/angular.js>at > Object.Scope.$eval ( > http://localhost:8080/crudpoc/js/angular.js:8057:28<http://localhost:8080/crudpoc/js/angular.js> > ) > > > > [image: Description: cid:[email protected]] > > *Ola Tomoloju* > > > > *From:* scascarini [mailto:[email protected]] > *Sent:* Wednesday, March 05, 2014 4:31 PM > *To:* NakedObjectsGroup/spiro > *Cc:* Tomoloju, Ola > *Subject:* Re: [spiro] Converting Modern.aspx to Modern.html in the > Spiro.Angular sample app (#23) > > > > It looks to me that the Isis server is not providing the simple scheme > 'extensions'. (see page C-104 of v1.0.0 of the Ro spec). This may well be > just that the Isis server is not configured to do so if so you'll have to > switch them on for Spiro. We only use the simple scheme not the formal. > > -- > Reply to this email directly or view it on > GitHub<https://github.com/NakedObjectsGroup/spiro/issues/23#issuecomment-36761935> > . >
