dojo

dojo toolkit question about loading the base dojo.js file

I am getting used to the dojo toolkit. So my question is does the following code mean to load the base dojo code? var djConfig = { baseScriptUri: "js/dojo/" }; Would I use the following code if I am using a CDN? var djConfig = { baseScriptUri: "http://o.aolcdn.com/dojo/" }; or would I write the code this way...

DOJO: find child

Here is the code: dojo.query(subNav.navClass).forEach(function(node, index, arr){ if(dojo.style(node, 'display') == 'block'){ "NOW HOW WOULD I FIND CHILDREN????" }); } }); By the way I just started working with DOJO, i am primarily working in jQuery. So now that i have found node that has ...

How to get dojo.style to appear in firefox

Hey I was testing this code. The alert displays the result in IE but not in Firefox: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Get computed border width</title> <script type="text/javascript" src="http://o.aolcdn.com/dojo/1.3.2/dojo/dojo.xd.js" djConfig="useXDomain:true">...

dojo clone event handlers

Hi. I'm using dojo.clone(obj) for clone DOM node, but i don't know how clone event handlers. does anybody know how do this? ...

Dojo Grid Template

Hello, In asp.net the DataGrid supports templates. You can provide your own template and have the grid fill the data in your template. With Dojo Grid, it seems like I can't make my own template outside of the the rigid simplistic cell style grid that Dojo provides. Does anyone know a way to use a custom template with Dojo Grid? Specif...

dojo how to get all tree node of specific type?

I wrote the following code to create a dojo tree. store = new dojo.data.ItemFileWriteStore({url: link}); treeModel = new dijit.tree.TreeStoreModel({ store: store, query: { ...

Is there a XHR request/response manager for Dojo

I was wondering if Dojo (or any of its extensions) provides a (reliable) XHR request/response manager that would allow me to queue, block and retry calls when needed. Something similar to AJAX Queue/Cache/Abort/Block Manager v. 3.0 for jQuery. ...

Dojo - submitting form by pressing Enter

Hello, I have the following code: <div dojoType="dijit.layout.ContentPane" id="filterForm" style="padding: 3px"> <form dojoType="dijit.form.Form"> <input dojoType="dijit.form.TextBox" style="width: 120px" /> <button dojoType="dijit.form.Button" type="submit"> Filter </button> <script type...

Set download path

I have a web application that receives a simple text file, but I need this file to be downloaded to a specific path. Meaning, when the application receives a text file, it will always be downloaded to a specific folder (for example, to C:\MyFolder). If it isn't possible, then I need to copy the file from where user has chosen to my fold...

Zend_Dojo and ValidationTextBox - invalid message does not always appear

Hello, I am using Dojo ValidationTextBox through Zend Framework in the following way: $form->addElement('ValidationTextBox', 'procedureName', array( 'label' => _('Procedure Name'), 'value' => $alarm->procedureName, 'attribs' => array( 'required' => true, 'invalidMessage' => 'Required!' ) )); Likewise, ...

chat functionality on php application

SO has lot many questions of this type but not able to find correct solution. May be I am missing anything. I am struggling from last few days for finding better option for Chat service. Following thing I have to keep in mind before using any option.. It should be OS independent Installation should be easy Opensource so that can be mo...

Spring dropped support for ExtJS, alternatives?

I've seen that Spring has dropped support for ExtJS for some time now and they went for dojo instead. So, is it still worth using ExtJS? And if so, which controller technology do you use when writing ExtJS+Java-based apps? I've heard some people saying DWR but I don't like that it autogenerates the JS code. Thanks ...

Dijit build with a single locale.

Hello, I'm trying to create a custom dijit build that only includes the rich text editor dijit.Editor and the single locale "en-us". I've created a acme.profile.js file that looks like this dependencies = { stripConsole: "all", optimize: "comments", cssOptimize: "comments", mini: true, localeList:"en-us", layerO...

Newbie Dojo - Google CDN Question

I have a test jsp with: <head> <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/dojo.xd.js" type="text/javascript"> </script> <script type="text/javascript"> dojo.require("dojo.widget.Tree"); dojo.require("dojo.widget.TreeSelector"); dojo.require("dojo.widget.TreeNode"); dojo.require("dojo.widget.TreeContextMenu"...

dojo.require required in Zend Framework's view helpers?

I've tried using a Dojo button view helper, but it appears that Zend will not automatically generate a dojo.require('dijit.form.Button'). Is this correct behavior? Here's excerpt from my layout script: <head> <?= $this->dojo()->setDjConfigOption('usePlainJson',true)->addStylesheetModule('dijit.themes.claro')->setLocalPath("/js/dojo...

Zend Framework - Dojo form support

Hello i am new in Zend Framework i have found that zend have support for dojo forms - Zend_Dojo_Form_Element_* works pretty well. But there are mising some elemnt like (BusyButton, RangeSlider or PasswordValidation) Is zend support them?? I have found that Zend supports BusyButton (http://framework.zend.com/issues/browse/ZF-9641) But i...

Give default color for text in html

How do i give default color for text in html ? To explain more in detail...We have dreamweaver or notepad++ or dojo tools or visual studio or any other tool...when we start typing anything..by default it gives color for specified text..Another good example is stack overflow..when some one asks a question...there will be blue color for so...

Is there a dojo equivalent of jQuery address?

Hello, I'm trying to create an ajax app with dojo. Is there an equivalent or something similar like functionality to jQuery Address. I want to make ajax hash based url navigation like twitter, facebook, etc with dojo. regards ...

connecting google analytics data api to dojo charts - php backend

I'm looking at feeding dojo charts with data from google analytics, within a Zend Framework app. Has anyone done this or have any overview as to how I would go about it? I see there is a dojox.data.GoogleSearchStore. Does it make sense to have a dojox.data.GoogleAnalyticsStore and is anyone working on something like this? ...

tinymce dijit.editor

I have been using tinyMCE over dojo dijit.editor because tinyMCE wins out on functionality. Though I've just come across this: http://phphtmledit.com/dojo/ShowEditor.php?gclid=CPizxJzR3qQCFQpBbgodFidd9A which, if I'm reading it correctly, claims to be a dojo editor but has all the functionality of tinyMCE. So my question: are there more...