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. 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).

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