dojo

dojo.fx.wipeIn problem with object with style="display: none;"

I want to wipe in with object that define style with display: none;: dojo.fx.wipeIn({ node: dojo.byId("target"), duration: 500 }).play(); but the animation could not play. what is problem? i use this for showing the display properties but still showing nothing. The alert message is empty. dojo.fx.wipeIn({ node: dojo.byId("targ...

Javascript intellisense with Dojo/Dijit is Visual Studio 2008

I know that Visual Studio 2008 support JavaScript intellisense as I am using it with Jquery. I am wondering if anyone has ever explored how to get other libraries like Dojo and Dijit to work with it as well. I would assume you would have to provide the ///reference tag to your custom code but would still need a vsdoc for visual studio ...

Why won't Zend_Dojo enable/import properly?

I'm having a strange issue: I've used Zend Dojo and Zend Form to great effect in the past, but on my most recent project Zend_Dojo refuses to enable unless forced to in the view, and even then won't import the appropriate libraries for the dijits I'm using. Here is the applicable code: Bootstrap.php: protected function _initViewHelper...

"dojo is not defined" - Firefox 3.5 issue?

Please take a look at this code: http://3wcloud-com-provisioning-qa.appspot.com/testAjaxDojo Just tab off the "domain" input field to try to make the Ajax run. (Note: the test Ajax web service always sends back the same message, it pretends to check if domain is available but it really doesn't). When running in Firefox 3.5, I get "doj...

How to make height of a dijit Accordionpane dynamic

I can't figure out how to tell the accordioncontainer to set height of its accordion pane to auto so that the height of the pane is dynamic depending on its content. In the following code I am adding two panes to an accordioncontainer. One has height of 10px and another has 90px but in both cases the height of the accordion pane is cal...

TextBox inside Grid does not work properly

Doesn't show space typing inside textBox. And needs two clicks to accept focus. Try it at http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/grid/tests/test%5Fgrid%5Fformatters.html I use FF 3.5 ...

How do I retrieve values from dojo.data.ItemFileReadStore

First, I read this short help thread here: CLICK It uses a JSON file built together with PHP which looks something like THIS: { name:'Italy', type:'country' }, { name:'North America', type:'continent', children:[{_reference:'Mexico'}, {_reference:'Canada'}, {_reference:'United States of America'}] }, { name:'Mexico', type:'count...

Could not load 'dijit.Menu'

I want to run Dojo/Dijit with the Google CDN: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/dojo/1.3.2/dojo/dojo.xd.js"&gt; </script> I've tried 1.3.2, 1.3, 1.2 and all give this same problem. If what I've read is true, I only need to include the dojo.xd.js - then the requires will properly find dij...

Dojo/Dijit - DateTextBox hides my initial value

Demo: http://3wcloud-com-provisioning-qa.appspot.com/testDijitDate The calendar pop-up works fine and lets me pick a new date. But when the page loads, I see the date 08/15/2009 flash for just a moment, then it disappears. Is there some reason the CSS or JS would hide it by default? My HTML: <input id="startDate" name="startDate" ...

Dojo disable all input fields in div container

Hi Folks. is there any way to disable all input fields in an div container with dojo ? something like : dijit.byId('main').disable -> Input ? ...

Dojo - Some of my form.dijit's seem to be dead/inactive on one page

I was started to work on my first sample of the dijit.Tree control. When it didn't work, I added a couple of dijit.form.Textbox'es to the screen, and they didn't work either, even though I have them working fine on a similar form. Interesting enough, when I killed FireFox and restarted it, I was got a clear message in FireBug console ...

JSON - not all fields quoted in Dojo diji.tree sample code in book

O'Reilly book "Dojo - The Definitive Guide" page 378 shows the following sample Tree structure which is supposedly JSON. It seems to work in building the Dijit Tree structure. { identifier: 'name', label:'name', items: [ {    name: "Programming Languages",      children: [ etc... Should the word identi...

dojo filteringSelect is very slow

Hello friends, In my project I am fetching cities using country selected. Now I have about 8000 cities for 1 country, and because of that filteringSelect takes time to show it fast. following are ajax functions I am using to fetch records and display it in my page. function GetCities(){ dojo.xhrPost({ url: 'GetCitiesForCountry....

Trying to adapt the Dojo Toolkit "Highlight Container"

Hello! I am using the "Highlight Container" effect in the Dojo Toolkit (as shown here). My problem comes when I have a DIV that contains a TEXTAREA instead of a text field. I am not sure how to get it to recognize either a text field or a textarea. The code function is as follows: dojo.addOnLoad(function() { dojo.query(".container...

Dojo - dojo.byId() over an ajax response

Hi all I'm using Dojo support for Ajax function handleSubmit(evt, targetUrl, submitForm, updateDiv) { dojo.stopEvent(evt); dojo.xhrPost( { url: targetUrl, handleAs: "text", load: function(response){ updateDiv.innerHTML = response; wireEvents(); return response; ...

Dojo build -> dojo.require(); still needed?

Hi everyone, this was my first dojo build so please excuse my ignorance in this matter. I've just created my custom build from dojo build system using the following (very simplified) profile: dependencies = { stripConsole: "normal", layers: [ { name: "../dijits/cx/dijitsCXbuild.js", copyrightFile: "CopyrightCX.txt", dependen...

Programmatically Created AccordionContainer in a BorderContainer having sizing issues.

Hi all, I am trying to programmatically create an AccordionContainer within a BorderContainer. I am able to get the accordion container to show up, however, it appears that it incorrectly computes it's initial size. When the screen draws, the second accordion panel is off the bottom of the screen. If you resize the screen, or press the ...

dojotoolkit help

i am new to dojo actually i have three divs and div no1. have 10 pictures and other two divs are empty. i want user can drag pictures to any div (2,3) or drag back to div1 in last i want to store in db using php. can any body help me.? ...

how to use dojo.query with button

how can i call dojo.query with button on my page. so that i save data in mysql using php i need to run following code on button click dojo.query("img",dojo.byId("div1")).forEach( function() { // this is now the image dojo.xhrGet( { url: '/somepage.php', data: { image_name: this.title } // ???: depends on w...

dojo drag and drop Avatar

i am using dojo drag and drop, its working fine, only problem i have is when i start dragging, cursor come little up and left from the Avatar. which look vary bad. is there any solution for that at least move can be inside the Avatar... any solution, css , tables etc... ...