dojo

PHP Framework that integrates with dojo

I am looking for the simplest php framework that comes integrated with dojo. I do not need MVC or to learn a giant framework all over again. Does anyone have suggestions or examples? ...

dojo.data is undefined Flitering select

hi, I am having a few problems with Dojo Filtering Selects when using the Zend Framework Forms and need some help to find out what I have missed as this is driving me mad. I am currently getting this errors in firebug: dojo.data is undefined dojo.data.ItemFileReadStore is not a constructor Below is the code that I am using to cre...

Is Dojo offline working? Are there any alternatives?

Hello there! I'm working on a web app which will need to work offline. I'm looking at Gears right now, but I also found Dojo offline. I'm asking this question because the latest news of it are from 2007, and the hosted demos don't seem to work (I've installed Gears under Firefox 3.0 on my Ubuntu laptop) Is anyone using Dojo offline, or a...

Providing links and markers [label] in each bar in a bar chart

I have recently started working on dojo. I am facing problems in the following cases. How can i provide a unique link (href) in each bar in the bar chart? When a user clicks on a bar, he should be taken to a related jsp/html page.Basically, i am looking for a clickable bar. How do i provide a label or note (Ex:10,12,a name etc) inside ...

Dojo Tooltip. dojo.data fetch(). Problems in opera

Weird problem with dojo.data. var store = new dojo.data.ItemFileReadStore({ url: "[myUrl]" }); console.log(temp.fetch({ query:{id:'*'}, onComplete: functionOnComplete, onError: functionOnError })); functionOnError show such trace in opera only: message : Statement on line 16: Syntax error Backtrace: Line 16 of linked scri...

Automatically Resize dojo dijit.Grid widget when it's parent container resizes

I have a dojo Grid widget inside a TitlePane with it's width set to 100%. The TitlePane is in a liquid layout so it's width changes with the browser window size. The problem I am having is that when the parent window expands (or contracts) the grid itself does not change it's width. I can get it to resize itself by calling render() on ...

Is it possible to disconnect all event handlers in Dojo?

Some code I am working with replaces some HTML elements that have Dojo event listeners with new HTML coming from an AJAX call (using .innerHTML=). I have read that event listeners should be disconnected using the dojo.disconnect(handle) method before they are replaced to prevent memory leaks. Is it possible to derive all handles connect...

configure dojo in eclipse

How do I configure dojo in eclipse? Is there any plugins? What are the steps for doing the same? I am using eclipse ganymede.I get a error when i try using the ATF ...

mysql data into Dojo datagrid table

Greetings all. I have a php script calling MYSQL and displaying data in a table. It is rather ugly and I would rather have it displayed in a Dojo style table/datagrid. Can anyone point me in the right direction? thanks! ...

Text length with dojo gfx

While rendering text with dojo's gfx, is there a way to tell how much space the text would take, just in case I need to wrap it so it fits a given width? How would you manage to print text of arbitrary lengths if you had to make them fit areas of restricted width? Update: Sorry, I should have mentioned I need to do the wrapping on the s...

DojoToolkit AccordionContainer

How easy is it to make AccordionContainer provided with Dojotoolkit to slide up and down On MouseHover of Title rather than onMouseClick of the title pane. ...

How to access kiosk id reader data from PHP based Web Application

Has anyone done something like this? How? I'm just starting a project that will have a browser based web application (using PHP and possibly an Ajax framework like Dojo or JQuery) that is presented to the user from within a kiosk unit. It's basically a survey in a browser but will need to id the user via the id card swipe reader on the ...

Dojotoolkit uncaught exception : could not load cross domain resources

I am able to get the dojo working on my site and AccordionContainer dijit that I am using is working fine. except that I get the error below continously. "Dojotoolkit uncaught exception : could not load cross domain resources" I tried to locate and fix the issue from the discussions on the same topic here at SO and else where without an...

Java frameworks vs. Javascript frameworks

I am a big fan of the Dojo Toolkit but I see here often that there are Java frameworks that do the same thing but they are not as extensive or as user friendly as Dojo in my opinion. What are the main differences? Can I use Dojo for the GUI and Java as the back-end? Is there a list of Java frameworks for web development? ...

Essential Dojo

I'm starting to use Dojo; this is (essentially) my introduction to AJAX. We have a Java backend (torque / turbine / velocity) and are using the jabsorb JSON-RPC library to bridge Java and Javascript. What do I need to know? What is the big picture of Dojo and JSON, and what are the nasty little details that will catch me up? What did...

Is it possible to test a sequence of asynchronous function calls with D.O.H

I am trying to use doh.Deferred to write a test that will check the following sequence of events: login with user A (asynchronous) log out (synchronous) login with user A (asynchronous) The return value of the second callback function is another doh.Deferred object. I was under the impression that the callback chain of d will wait f...

Can I get the name of the currently running function in javascript?

Is it possible to do this: myfile.js: function foo() { alert(<my-function-name>); // pops-up "foo" // or even better: "myfile.js : foo" } I've got the dojo and jquery frameworks in my stack, so if either of those make it easier, they're available. ...

How can I anticipate which type of CSS selector will work?

I'm creating a form with dojo, and I want a range-restricted number input field. So I use this: <input id = "sample_input" type = "text" dojoType = "dijit.form.NumberTextBox" name = "sample_input" value = "27" constraints = "{min:1,max:30,places:0}" promptMe...

How do I specify the selected tab with dijit.layout.TabContainer?

How do you specify the selected tab at startup? How do you programmatically select tabs? ...

"dojo is undefined" in IE

I created a site using ning, when i open the site in IE, I get an error "dojo is undefined". The page display is totally haywire. But the site works perfectly in other browsers (i have tried in safari only). I am looking for some workaround / fix on the server side, since i do not expect users to change their IE ...