Login Register

dojo 1.0

dojo 1.0 IE too slow?

Has anyone had any problems with IE being too slow? I am having a problem with running functions right after it was created. dojo.addOnLoad seems to help but I don't want to use that every time.

Error loading contents of dojo.require(...)

I'm able to get dojo working in a sandbox environment linking to dojo with relative path names. I'm having a problem getting it to work completely when in use inside of Struts/Tiles. I seriously doubt this makes any difference but I just can't seem to load any additional modules with dojo.require(...) without getting an error.

E.g., if I try 'dojo.require("dojo.parser")' I see the following error in firebug:

GET https://frisky.ecovate.com/cc/default/undefined./parser.js 404 (20ms)
Could not load 'dojo.parser'; last tried './parser.js'

Custom builds and getting one file with it all - a newbie question

Hi!

I want to have a build with all my widgets etc. I've tried to copy all my dojo.require() into the following but I think I'm missing something vital...

dependencies ={
layers: [
{
name: "test.js",
dependencies: [
"dijit.Button",
"dijit.Tooltip",
"dojo.parser",
"dojo.date.locale",
"dijit.layout.AccordionContainer",
"dijit.layout.ContentPane",
"dojox.layout.ContentPane",
"dijit._Container",
"dijit._Templated",

Fade out functionality not working reliably for dojo text boxes in IE 7 However, works fine on on Firefox

Hi We are using DOJO 1 with IE 7 and finds that the fade out functionality is not fading out the text fields as desired however the same code works fine for Mozilla.
any suggestions

Dojo1.0 shows Object required-Information message on IE 7 status bar

Hi ,We are using DOJO 1.0 with IE 7 and we can observer in the IE status bar the following information message (with written test on Status bar DONE) when we click on any link in the first page of website we say the informational icon along with done text on status bar and if we double click on the icon we saw the following information.Urgent help needed.

line :21
char :41160
Error:Object required
code :error

Please help in resolving this issue.

No such issue is observed with ForeFox

thanks,

TabContainer scrollbar bottom doesn't show in IE6 until page resized??? or p tag added to body tag onLoad???

My tabcontainer shows its contents but the bottom of the container isn't visible in ie6 when there's a scrollbar. If you parallel ie7, FF (that do work) to ie6 the displayed area is the same but the ie6 TabContainer panes scrollbar disappears below this point unless you resize the window which corrects it. It is almost like the container it is in has it's overflow set to hidden, except the container tag is the body tag, it works in FF and ie7 and I've removed all custom CSS. Anyone have any ideas on how to solve this?

How do I use markup to create my custom widget and put a dojo widget as its contents also using markup using dojoTypes

I wanted to load a container widget in my custom widget but do it all in markup. How would you do that? I figured seeing this isn't specific on a dijit that this would be the right place to post this. If it's not, I'm sorry.

[DnD] OnDrop call a function

Hi all, in dojo 0.43, i made a function to create a floatingpane instead of copying item when i dropped it.
My function look like that :

new dojo.dnd.HtmlDragCopySource(getId('Item1'), ["source"], true);
new dojo.dnd.HtmlDragCopySource(getId('Item2'), ["source"], true);

var dropZone = dojo.byId('dropZone');
var target = new dojo.dnd.HtmlDropTarget(dropZone, ["source"]);
target.onDrop = function(event){
   this.onDragOut(event);
   var id = event.dragSource.dragObject.id;
   CreateFloatingPane();
};

Dojo 1.0 Chars worked on Portal 6.0, RAD 7.0

[EDIT: Moving to the DojoX forum.]

I am trying to develop Bar Chart and Bubble Chart using Dojo 1.0 Chart on WebSphere Portal Server 6.0 and RAD 7.0. For a simple web application this has been done, but for a portlet I am facing problems. It would be great if somone can help me on this. Here are the details of my code for trying to implement dojox.charting.Chart2D.

dojo.require("dojox.charting.Chart2D");
makeObjects = function(){

<Solved>dojo1.0 dojo.xhrGet

I am new to Dojo. I am trying to get JSON data from server. Here I have written code

var series=dojo.xhrGet({
url: "actions/seriesBuilder.jsp",
handleAs: "json",
timeout: 5000,
load: function(response, ioArgs) {
console.log(response);

return response;
},
error: function(response, ioArgs) {
console.log("Error Occured");
}
});

Syndicate content