Login Register

problem

Dojox Grid problem this._arrayOfTopLevelItems has no properties

Hi to all, I'm pretty new to Dojo and I'm experiencing some problems with grids. I need to show data caught from a DB which sends them in JSON format. It's an array containing a number in the first position, and arrays again in the other positions; client side I just group the arrays in bigger ones through some criteria. Each group represents a data store for a single grid.
My problem is that grids show only question marks, instead of data. Through FireBug I had the following error description:

"this._arrayOfTopLevelItems has no properties"
"TypeError"

[solved] can't get dijit basic dialog working

Hi, i just try to reproduce this Basic Dialog: http://dojocampus.org/explorer/#Dijit_Dialog_Basic

Here is my attempt with dojo-1.1.0 package:

title

 
 

dojo.require("dijit.Dialog");

DnD target stops accepting when dojoDndItem

I started with the DnD example and have some DIVs with class 'dojoDndItem' and all's fine until I give one of the DnD items a widget type like so:

<div class="dojoDndItem" dojoType="foo.myWidget"> ... </div>

and then it can still be dragged around but it can't be dropped on the same target(s) anymore? Its as if the 'dndType' somehow gets changed? How does it work?

Dijit.Editor ...using by AOL

I have a strange problem..

I have a form with some object html..."select, inputbox, radio..etc..." that I have render with Dijit widget...

I have some problem with the "textarea" object that I convert with dijit.Editor widget...

If I use AOL for rendering Dojo object...I can't enter in this widget and write my content....
If I use Local Dojo JS...All work...

And...In FireFox someone when I click the Button that execute the method .close(true)...don't work...

What's the problem?

Tnx You

Programmatic MultiSelect

I get an error trying to create a MultiSelect programmatically.

The error is around line 21 as says: "Object doesn't support this property or method"

Has anyone had any success doing this?

Source:


<html>
<head>

<title></title>

<style type="text/css">
@import "/dojoroot/dijit/themes/tundra/tundra.css";
@import "/dojoroot/dojo/resources/dojo.css";
</style>
<style>
/* NOTE: for a full screen layout, must set body size equal to the viewport. */

Problem with integrating dojo table into contentPane

Hi,

I'm trying to build a webinterface for our program but I'm facing really strange problems with the dojo table widget.

I get the table to work on an own page, but as soon as it is moved into an contentPane, it stops working!

The strange Thing is that it uses exactly the same css and js files and it's the same directory!

Please note that the gruen.css is just an customized tundra.css.

Really annoying problem

I really like the design of Dojo, and I really like most of its simplicity...but one key feature I really need, is a bit lacking. I am talking about easy form submission. Its not hard to manually send a xhrPost, but I send it like this:

dojo.connect(dojo.byId("formtest"), "onsubmit", function() {
dojo.xhrPost({url: 'url',
handleAs: 'json',
load: function(data) { alert("Success"); },
error: function(data) { alert("Error - "+data); },

ContentPane question... (problem)

hi, sorry... my english is so bad...

i'm using a contentpane in a tabcontainer with a href='servletname'... servletname is my servlet...

that's ok... but the problem is when i try to send from my servlet to another page in the contentpane...

that is my way to go at the servlet... in the servlet:

if(request.getParameter("solicit").equalsIgnoreCase("califactual")){

problem with dojo.addOnLoad on IE7

Hello

I tried do call dojo.addOnLoad (dojo1.0) in a custom object file, to create a single instance of the object :

if(!dojo._hasResource["webshop.utils.Portability"]){ 
dojo._hasResource["webshop.utils.Portability"] = true;
dojo.provide("webshop.utils.Portability");


dojo.declare("webshop.utils.Portability",null , {
    getNodeContent : function (node){
        .....
  }

});

function init(){
alert('init function running')
portability=new webshop.utils.Portability();
}
dojo.addOnLoad(init);

}

;

Syndicate content