I have Aptana installed within Eclipse. I'm working on a project with the dojo 1.2 JavaScript library installed.
When I open one of dojo's dijit .js files, the code is formatted in a rather difficult to read way. The Eclipse "Outline" view shows a list of functions with names like "_2" and "ew". Not very human friendly.
I'm talking a...
In my struts 2.0.12 application I'm trying to use s:datetimepicker
but it does not render.
Firebug error: dojo is not defined
on dojo.require("dojo.widget.DatePicker");
My jsp page
<%@taglib prefix="s" uri="/struts-tags" %>
.
.
.
.
.
.
.
.
What's wrong? Did I miss something?
...
Hi,
I'm getting "This page contains bothe Secure and Non secure items"message in IE. When I commented the following piece of code from dojo.js.uncompressed.js file, the message is gone.
if(dojo.isIE){
if(!dojo.config.afterOnLoad){
document.write('<scr'+'ipt defer src="//:" '
+ 'onreadystatechange="if(this.readyState==\'comp...
When I run this through FireFox 3:
<script type="text/javascript" src="../resources/dojo-1.2.3-src/dojo/dojo.js" djConfig="parseOnLoad: true"></script>
<script type="text/javascript" src="../resources/dojo-1.2.3-src/dojo/dijit.js"></script>
<script type="text/javascript">
dojo.require("dojo.parser");
dojo.require("dijit.InlineEditBox"...
How can I use dojo 1.2 to :
a. define my own widget which inherits from an existing widget (say, the dijit.InlineEditBox widget)
b. programmatically insert a second widget (say a dijit.form.TextArea widget) so that it is the inline editable widget.
I can see how this sort of stuff works with a template html file, but if I want to do ...
Hi All, I am writing some UI tests using Selenium and i have a JavaScript Tree control, using the Dojo toolkit.
I have implemented a context menu for each node of the tree using the examples that Dojo provide, but I need the Selenium test to "invoke" the right click on the tree node, but I cannot get this to work. The tests simply do n...
I'm new to working with the Dojo lib and want to know: what's the ultimate development environment to work on Dojo widgets with?
I'm hoping for something with at least JavaScript syntax checking, and code completion support for the standard Dojo widgets and functions.
What development environment -- whether free or purchased -- are y...
Is there a way to set a button inside the dojo dialog box and have it close the dialog box it is residing in?
Putting dijits inside of dijits doesn't work, and I can't beleive there isn't a way to do that.
...
I've encountered what seems like a chicken & egg problem, and have what I think is a logical solution. However, it occurred to me that others must have encountered something similar, so I figured I'd float it out there for the masses.
The situation is that I want to use dojo's addOnLoad function to queue up a number of callbacks which ...
I'm having trouble configuring my initial installation of dojo to include the widget framework correctly.
Following most of the code I see, including dijit should look like this:
dojo.require("dijit");
and that's that. Unfortunately, that doesn't seem to work.
Using this initializes the widgets correctly, but there's some weird be...
I am using a dijit.form.FilteringSelect backed by a dojox.data.QueryReadStore in order to allow the user to select a region (think "auto-complete" mechanism). On each character entered by the user, the QueryReadStore sends a request to the server, awaiting a json list of matching regions (with associated IDs). By the time a short enoug...
Hi,
I am trying to create a website where I host my data on google spreadsheets, and show data to the user in his browser using dojo.
However, I am getting the error
Access to restricted URI denied" code: "1012
when the browser encounters:
var stateStore = new dojox.data.CsvStore(
{url: "http://spreadsheets.google.com/pub?key=p0jvMl...
Hi,
When I use an import such as
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.2.3/dojo/dojo.xd.js"
djConfig="parseOnLoad:true, isDebug: true"></script>
I get the error
dojox.data.CsvStore is not a constructor
for lines such as
var stateStore = new dojox.data.CsvStore({url: "dojo-passcsv.php", label: "name"...
Hi,
I have written an app using dojo that allocates a lot of data during its lifetime. Is there a way I can ensure that all the memory has been released when I am done?
Is there a method like dojo.data.destroyAllStores() that I can use with the <body onunload> tag?
Thanks.
...
Hi,
Im writing a fairly small web application in PHP and intend on using DOJO to make it "fancy" and most likely handle some validation on the client side (there will be server side validation too).
I would like make JavaScript a requirement for my site, and therefore, if a user's browser has JavaScript disabled, or is not capable of J...
I would like to fadeIn a node over one second. Then leave it on for 10 seconds. Then fadeOut for another 3 seconds. One way of chaining this would be as follows:
dojo.fx.chain([
dojo.fadeIn({node:myNode, duration:1000}), // fading in for 1 second
dojo.fadeIn({node:myNode, duration:10000}), // this does nothing for 10 seconds
...
I'm new to Dojo, so I need a little help.
Some of my links takes a while (when the user clicks, it takes several seconds before the page starts loading), and I'd like to add a "loading"-message.
I can do it the "old fashion way", but I want to learn the new, easier, smarter Dojo-way.
Exactly how it works is not important right now, bu...
How can I load content depending on the selection of a selection box? I want to load an array from the controller in php, and use it on the javascript, I don't know if I need to put that array in javascript, I guess that Zend_Dojo takes care of that for me.
My question is similar to this one that hasn't been answered: http://dojotoolkit...
Does anyone know the name of the CSS classes responsible for styling the dojo promptMessages (or invalidMessages) tooltip associated with ValidationTextBoxes.
Normally Firebug does a great job of revealing all the inner workings of CSS, but in this case the tooltip prompt disappears when I try to inspect it!
I am intending to play with...
I wish to declare a new dojo class inheriting from an existing dojo class, but with my own choice of default values for the class's properties. (The user can still override those values.)
I am declaring my own version of the dijit.form.FilteringSelect such that:
the hasDownArrow property defaults to false (rather than the standard tr...