Ok, sorry for the noise, I assume this is the example everyone is trying
to get working:

http://localhost:8080/dojox/data/demo/demo1.html

Right?

I'll have a look.

Cheers,
Craig 

> -----Original Message-----
> From: Craig L. Ching [mailto:[EMAIL PROTECTED] 
> Sent: Monday, June 02, 2008 9:50 AM
> To: [email protected]
> Subject: RE: Dojo Bundles
> 
> I have some experience getting this working, does someone 
> have a simple test case I can look at?  I know this was all 
> working awhile back, but I haven't checked against recent 
> code (I'm probably about 2 weeks behind trunk now).  If you 
> get me a simple test case, I'll have a look at it.
> 
> Cheers,
> Craig 
> 
> > -----Original Message-----
> > From: Felix Meschberger [mailto:[EMAIL PROTECTED]
> > Sent: Monday, June 02, 2008 8:14 AM
> > To: [email protected]
> > Subject: Re: Dojo Bundles
> > 
> > Hi,
> > 
> > Actually, Dojo is finding it. But it cannot evaluate it due to some 
> > dojo.data not found exception -- at least this is what 
> Firebug tells 
> > me.
> > 
> > Regards
> > Felix
> > 
> > PS: The SlingNodeStore and SlingPropertyStore files are not copied 
> > into the repository but accessed directly out of the bundle.
> > 
> > Am Montag, den 02.06.2008, 15:10 +0200 schrieb Alexander 
> Klimetschek:
> > > Ok, the file is there, but somehow dojo is looking in the
> > wrong place
> > > for it. A good way to analyze this is by using Firefox 
> with Firebug 
> > > installed, open the console and watch all XHR/JS loads in Firebug 
> > > while you open the page that triggers the error. You 
> should see what
> > > (absolute) paths dojo tries while looking for 
> > > dojox/date/SlingeNodeStore.js and what response comes 
> back from the 
> > > server (not found, found + actual script content etc.). This will 
> > > probably point out the real problem.
> > > 
> > > Alex
> > > 
> > > On Mon, Jun 2, 2008 at 3:04 PM, Christophe Lombart 
> > > <[EMAIL PROTECTED]> wrote:
> > > > On Mon, Jun 2, 2008 at 2:59 PM, Alexander Klimetschek 
> > > > <[EMAIL PROTECTED]>
> > > > wrote:
> > > >
> > > >> Pure guessing ahead....
> > > >>
> > > >> What do you get when you open
> > > >> http://localhost:8080/dojox/data/SlingNodeStore.js in a
> > browser? It
> > > >> should display the javascript file.
> > > >
> > > >
> > > > Yes, it works
> > > >
> > > >
> > > >> Don't know where it is located in the bundles, but 
> AFAIK it's a 
> > > >> Sling-specific dojo module that implements a Dojo data 
> store - so 
> > > >> it is not part of the dojo library, but some 
> additional file that 
> > > >> should be put into the repository (as initial-content).
> > > >
> > > >
> > > > It seems tha both Dojo extention bundel are well
> > deployed/install in Sling.
> > > > I see them in the OSGI console.
> > > >
> > > >
> > > >>
> > > >>
> > > >> Regards,
> > > >> Alex
> > > >>
> > > >> On Mon, Jun 2, 2008 at 10:04 AM, Christophe Lombart 
> > > >> <[EMAIL PROTECTED]> wrote:
> > > >> > 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
> > > >> >>
> > > >> >>
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> Alexander Klimetschek
> > > >> [EMAIL PROTECTED]
> > > >>
> > > >> >> Day JCR Cup 08 | Win a MacBook Pro: http://dev.day.com/ <<
> > > >>
> > > >> ----------------------------< [EMAIL PROTECTED]
> > > >> >---------- Alexander Klimetschek, Day Management AG,
> > > >> Barfuesserplatz 6, CH - 4001 Basel, T +41 61 226 55 31,
> > M +49 151
> > > >> 15 77 20 56 ---------------------------------------<
> > > >> http://www.day.com>-----------------
> > > >>
> > > >> Xing: http://www.xing.com/go/invite/3268380.32d2d4
> > > >> LinkedIn: http://www.linkedin.com/in/klimetschek
> > > >> Blog: http://weblogs.goshaky.com/weblogs/alexkli/
> > > >>
> > > >
> > > 
> > > 
> > > 
> > 
> > 
> 

Reply via email to