-- Christian Sanchez <[EMAIL PROTECTED]> wrote (on Friday, 25 July 2008, 11:09 AM -0500): > Well its weird that I downloaded directly from the SVN and it didn't worked, > then I downloaded a copy of the dojo toolkit from the official page, and > worked. To confirm this I downloaded from the ZF downloads link and it didn't > worked either. > > I copied the files from externals/dojo to scripts/dojo and have set the > localpath the same as yours. Isn't the localpath independent of the location? > It should work with whatever path you send as a parameter, of course being > under a public folder (where you don't get an 404 error).
setLocalPath() is used to indicate the REQUEST_URI segment of your url that will resolve to dojo.js, plain and simple. If what you provide does not resolve, then it will not work > All I wanted to try is the Hello World! example from dojo with your libraries, > maybe if you recreate that with the ZF 1.6 RC1 package download, you'll see > the > error. Just to confirm, I download the RC1 package, untarred it, and reset my symlink to point to this location. Everything worked exactly as expected. At this point, I'm pretty sure it's an environmental issue. Ensure that you can go to 'http://yourdomainname' + the value you pass to setLocalPath(), and that dojo.js is displayed. > I will confirm though, a firend has another instance using Dojo with ZF > too. > > 2008/7/25 Matthew Weier O'Phinney <[EMAIL PROTECTED]>: > > -- Christian Sanchez <[EMAIL PROTECTED]> wrote > (on Thursday, 24 July 2008, 07:11 PM -0500): > > Hey I just re-downloaded (if that's a word :P) the package from the page > you > > sent but I had some issues with the dojo (externals) version packaged, I > > suggest you should make a new package because Dojo wasn't working with > the > > tests I was making. Had to download a fresh copy from the dojotoolkit > home > > page. Firebug was sending some errors about not defined objects... > > Hope this suggestion could help some people that downloaded this version > and it > > wasn't working for them... > > I am using the externals as shipped, and having no issues. In my > project, I have created a symlink to this directory: > > % cd /path/to/project/public > % ln -s /path/to/framework/externals/dojo scripts > > The above creates a symlink called 'scripts' that points to > externals/dojo/ in my framework location. I then have the following in > my code: > > $view->dojo()->setLocalPath('/scripts/dojo/dojo.js'); > > And that's all there is to it. Everything just works from there. > > How were you doing it? > > > 2008/7/22 Alexander Veremyev <[EMAIL PROTECTED]>: > > > > We couldn't be happier to announce that Zend Framework 1.6 Release > > Candidate 1 is now available from the Zend Framework download site! > > > > http://framework.zend.com/download > > > > An overview of new features: > > > > * Dojo Integration > > - JSON-RPC > > - Dojo Data packing > > - Dojo View Helper > > - Dijit integration with Zend_Form & Zend_View > > - Dojo Library Distribution > > * SOAP > > - SOAP Server > > - SOAP Client > > - Autodiscovery > > - WSDL access > > - WSDL Generation > > * Preview of Tooling Project in Laborator (see /laboratory folder) > > - Command Line Interface > > - Project Asset Management > > * Unit Testing Harness for Controllers > > * Lucene 2.3 Index File Format Support > > * Zend_Session save handler for Database Tables > > * Paginator Component > > * Text/Figlet Support > > * ReCaptcha Service > > * Zend_Config_Xml Attribute Support > > * Character Set Option for DB Adapters > > * Zend File Transfer Component > > * New Media View Helpers (Flash, Quicktime, Object, and Page) > > * Support in Zend_Translate for INI File Format > > > > This obviously marks a very important step towards a high-quality, > > highly tested 1.6 GA release. Thanks to everyone who has contributed > to > > this release in any way: with patches/check ins, > > documentation/translations, and bug reports. > > But our work is not yet over! Let's do our best to bring this > release > to > > the breaking point to find areas we can improve the release for > General > > Availability. Based on your feedback we will determine in the next > few > > weeks whether we require additional release candidates, so please > > provide feedback on our issue tracker (http://framework.zend.com/ > issues) > > as soon as you can and ask any questions/post your experiences on > the > > appropriate mailing list. > > > > Again, the Zend Framework community does NOT recommend this release > for > > production use. We do, however, recommend evaluating new features in > > this release with existing and new applications. > > > > Enjoy 1.6RC1, and see you on the issue tracker, wiki, and mailing > lists! > > > > ,Alexander > > > > > > > > > > > > -- > > Christian S nchez A. > > -- > Matthew Weier O'Phinney > Software Architect | [EMAIL PROTECTED] > Zend Framework | http://framework.zend.com/ > > > > > -- > Christian S nchez A. -- Matthew Weier O'Phinney Software Architect | [EMAIL PROTECTED] Zend Framework | http://framework.zend.com/
