This Document is Out of Date. For the current documentation, please see http://docs.dojocampus.org/
John Walsh lives in the country of Googolica. This country is the first in the world to require its citizens to file their taxes online. Here's the form they use:
2007 Tax Form
The Sovreign Nation of Googolica, In Search We Trust
To the astonishment of the Googolican government, people have not been using the form. The Parliament investigated. The problem, they first thought, might be the brutal tax percentage - 100%. This theory was quickly dismissed.
The final report concluded the web page is faulty, thus discouraging it use. Among its problems:
- It's ugly. Really ugly.
- The form does nothing to help the user. It does not clean up mistakes. And it reports errors after the form has been submitted, leaving the user to stare at a blank form again.
- Googolica has two official languages, English and Snobol. Snobol-speakers are out of luck. And bifurcating the page into an English and a Snobol version makes development twice as difficult.
- People with special needs - low vision, motor problems that discourage mouse use - are out of luck.
- MORE...

IE 7 Fails to open the "Adding Dijit" page
When I click on the link I get a dialog box that says,
I didn't try much to figure out what was wrong.
Rob:-]
Same problem in IE6
I see the same problem in IE6... not exactly good as it happened when I was trying to convince my boss to let us use Dojo.
Works fine in FF 2.
Please Somebody fix it.
I have the same problem with IE.
However, works fine with firefox.
Not very useful example!
This example does not inspire any confidence at all in someone looking at using this toolkit. It crashes both IE 6 and 7 with an "Operation Aborted" error. Unfortunately, support for both IE and Firefox at the very least is a number one requirement. The example should either be fixed or removed (and if there's an underlying problem in the toolkit that causes this, I sure hope that gets fixed soon!).
Why post an example on this web site that appears to have never even been tried on the most commonly used browser platform?
Isn't that the point?
I believe the point is that this doesn't work, hence the need for Dojo.
It's an IE bug that's triggered by JavaScript on the next page
A quick search for 'Internet Explorer "operation aborted"' turned up a number of links, many of which explain that IE fails if you try to modify the dom in certain ways before it has fully loaded. Microsoft acknowledges the bug at http://support.microsoft.com/kb/927917 . There are a number of discussions of the problem that are easily found. I like this one: http://clientside.cnet.com/code-snippets/manipulating-the-dom/ie-and-ope...
Gary
You are correct. There are a
You are correct. There are a number of example pages that use inline dojo examples, and call "parse()" in a script tag immediate following the html ... all of these parse calls _should_ be wrapped in an addOnLoad, but unfortunately are not. We are making progress towards modifying them to work properly in IE, but resources and doc writers are limited.
One thing that could help
Is it possible to give an example of how to change one of them correctly? Or at least point to a correct example? Then we can figure out how to apply the change to the rest.
It's amazing to me that MS
It's amazing to me that MS can't do any better than IE. I used to be a avid IE user even while everyone around me moved to FF. Somehow, and believe me I don't know how they managed to pull it off, but somehow they made IE7 even worse than IE6. I finally called it quits like a year ago and haven't looked back. Chrome is nice too but there is no adblock so meh...I can't see Google allowing something like adblock on their browser either.
----------------------------------
Name - Barry Bathulo
Email - torreno.programmer[at]gmail.com
AIM - labtested1980
Yahoo - blowerping
Start a Petition
I am so sorry to said that i
I am so sorry to said that i didn't to join some webpages in dojobook!
'gradient' ?? Tundra only styles text
Anybody else had this?
Where the example talks about highlighting colours changing and gradients changing..... I get none of this.
The only effect Tundra seems to have is to set the fonts to nice ones.
???????
Loved this page, it turned my head to Dojo for real but
i got an exact replica working on a plain php page, but then wanted to use the same effect on a pop up div, the tundra css seems to take effect but none of the tundra cool stuff, any thoughts?
//--
<?php
session_start();
?>
@import "js/dojo/dijit/themes/tundra/tundra.css" ;
@import "js/dojo/dojo/resources/dojo.css" ;
dojo.require("dijit.form.TextBox") ;
dojo.require("dijit.form.CheckBox") ;
dojo.require("dijit.form.DateTextBox") ;
//dojo.require("dijit.form.CurrencyText") ;
//dojo.require("dijit.Tooltip") ;
//dojo.require("dijit.TitlePane") ;
<?
#include("dojoInclude.php") ;
$conn = mysql_connect($_SESSION['host'],$_SESSION['dbuser'],$_SESSION['password']);
mysql_select_db($_SESSION['database'],$conn);
$windowChoice = $_REQUEST['window'] ;
switch($windowChoice){
case 'name' :
echo "Insert Name" ;
$_SESSION['user'] = "" ;
$firstTip = "First-Name" ;
$secondTip = "Second-Name" ;
$displayForm = TRUE ;
break ;
case 'meal' :
echo "Insert Meal" ;
$_SESSION['meal'] = "" ;
$firstTip = "Meal" ;
$secondTip = "Pounds" ;
$thirdTip = "Pence" ;
$displayForm = TRUE ;
break;
case 'extra' :
echo "Insert Extra" ;
$_SESSION['extra'] = "" ;
$firstTip = "Extra - curry sauce etc" ;
$secondTip = "Pounds" ;
$thirdTip = "Pence" ;
$displayForm = TRUE ;
break ;
case 'insert':
$_SESSION['date'] = date('Y-m-d');
echo $staff = $_SESSION['staff'] . " You have ordered: " .$meal = $_SESSION['meal'] . " and " .$extra = $_SESSION['extra'];
$date = $_SESSION['date'];
$insertMealDetailsQuery = "insert into meal (name,meal,extra,date) VALUES ('$staff','$meal','$extra','$date')" ;
$cleanInsert = mysql_escape_string($insertMealDetailsQuery);
mysql_query($insertMealDetailsQuery);
echo "Your meal has been added to the list. Pay up or go hungry!" ;
break ;
}
if($displayForm == TRUE){
#if diaplaying form always show first two fields
echo "
First Name:
";
#but only show third form element if choice is not 'name'
if($windowChoice=='name'){
#nothing for name, the others have a third field required for pence price
}else{
echo "";
}
echo "" ;
}
?>
//--
That's very insightful, I am
That's very insightful, I am not much into filing taxes, never liked this task and I am pretty sure most people think the same. I usually seek help from professionals for filling my federal income tax forms that's until I get more familiarized with the procedure.
unperfect style of this book
It is not convenient to search a specific problem on this site, this style of this book is not good enough.
yours sincerely OuYang