Hi,

Am Montag, den 02.06.2008, 11:05 +0200 schrieb Christophe Lombart:
> Maybe I can continue my investigations ... nice way to learn how Sling is
> working.

ok. good. -- If you know Dojo, you are right -- I don't even know dojo
enough ;-)

Maybe we should move the SlingNodeStore and SlingPropertyStore objects
into a subpackage such as dojox.data.sling.SlingNodeStore and
dojox.data.sling.SlingPropertyStore ? And we could add a store
implementation for Sling Resources ?

Regards
Felix

> 
> On Mon, Jun 2, 2008 at 11:02 AM, Felix Meschberger <[EMAIL PROTECTED]>
> wrote:
> 
> > Hmm,
> >
> > Now, I am completely off my terrain :-)
> >
> > Maybe Lars could be of help here ? What I tried was adding the following
> > lines to the SlingNodeStore.js and SlingPropertyStore.js files:
> >
> >        dojo.require("dojo.data.util.simpleFetch");
> >        dojo.require("dojo.data.api.Read");
> >        dojo.require('dojo.data.api.Write');
> >        dojo.require('dojo.data.api.Identity');
> >        dojo.require('dojo.data.api.Notification');
> >
> > Immediately before the dojo.provide statement. Not sure, what or whether
> > this is required.
> >
> > This could be related to our recent change to use the dojo source
> > distribution instead of the dojo release distribution to be able to run
> > dojo on server and client.
> >
> > Maybe Lars can be of help ?
> >
> > Regards
> > Felix
> >
> > Am Montag, den 02.06.2008, 10:04 +0200 schrieb Christophe Lombart:
> > > Ahh ok . I thought that js libraries are deployed as content. of course
> > not
> > > :-)
> > >
> > > I have another issue. I have install both Dojo bundles and then I'm
> > trying
> > > to start the demo
> > > (http://localhost:8080/dojox/data/demo/demo1.html)
> > >
> > > It seems that it didn't find SlingNodeStore. I think this is not the
> > correct
> > > path to access to it.
> > >
> > > Error: Could not load 'dojox.data.SlingNodeStore'; last tried
> > > '../dojox/data/SlingNodeStore.js'
> > > Source File: http://localhost:8080/dojo/_base/_loader/loader.js
> > > Line: 327
> > >
> > > I have also another error :
> > >
> > > Error: [Exception... "'Error: Could not load class
> > > 'dojox.data.SlingPropertyStore'. Did you spell the name correctly and use
> > a
> > > full path, like 'dijit.form.Button'?' when calling method:
> > > [nsIDOMEventListener::handleEvent]"  nsresult: "0x8057001c
> > > (NS_ERROR_XPC_JS_THREW_JS_OBJECT)"  location: "<unknown>"  data: no]
> > >
> > >
> > >
> > > Thanks,
> > > Christophe
> > >
> > >
> > > On Mon, Jun 2, 2008 at 12:08 AM, Felix Meschberger <[EMAIL PROTECTED]>
> > > wrote:
> > >
> > > > Hi Christophe,
> > > >
> > > > Am Montag, den 02.06.2008, 00:03 +0200 schrieb Christophe Lombart:
> > > > > Hi,
> > > > >
> > > > > I'm trying to install the Dojo extensions but I don't see the folders
> > > > > mentioned in Sling-Initial-Content.
> > > > > I just made a "mvn clean install" from the Dojo extension projects
> > > > > ([sling-home]/extensions/dojo & [sling-home]/extensions/dojo-sling)
> > and
> > > > > install those bundles from the Sling console but nothing is added
> > inside
> > > > the
> > > > > repo.
> > > > >
> > > > > Do I miss something ?
> > > >
> > > > The Dojo code is not copied into the repository (any more) but
> > delivered
> > > > directly out of the bundle. This simplifies updates of the dojo
> > toolkit.
> > > > This is manifested by the "Sling-Bundle-Resources" manifest header:
> > > >
> > > >        <!-- Provide the actual library as bundle resources -->
> > > >           <Sling-Bundle-Resources>
> > > >               /dojo,/dijit,/dojox
> > > >           </Sling-Bundle-Resources>
> > > >
> > > >
> > > > Hope this helps.
> > > >
> > > > Regards
> > > > Felix
> > > >
> > > >
> >
> >

Reply via email to