-- Christian Sanchez <[EMAIL PROTECTED]> wrote
(on Wednesday, 23 July 2008, 12:37 PM -0500):
> Hi guys!
> Well I'm trying to implement the Hello world example with the ZF_1.6_RC1, 
> after
> an hour of frustration my guess is that, since I'm not using an exact address
> to send the localpath
> 
> $this->dojo()->setLocalPath('../html/scripts/dojo_f/dojo/dojo.js')

LocalPath should be the path relative to the document root -- i.e., the
path that would occur in your script's href tag:

    $this->dojo()->setLocalPath('/scripts/dojo_f/dojo/dojo.js');

This should appropriately set the rest of it.

Let me know your results; regardless, I'll try to make this clearer in
the manual.

>               ->addStyleSheetModule('dijit.themes.tundra');
>               echo $this->dojo();
> 
> the error is in the import that tries to get the library from the same 
> address:
> 
> @import "../html/scripts/dojo_f/dijit/themes/tundra/tundra.css";
> 
> When it should be:
> 
> @import "http://localhost/dev/example/html/scripts/dojo_f/dijit/themes/tundra/
> tundra.css";
> 
> Maybe I'm wrong but it still does not work :'-(
> 
> --
> Christian S nchez A.

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to