From the dojo documents on dijit.registry, I see the forEach method accepts a last parameter thisObject. But it doesn't way what that object is. Is it a dijit widget or a dojo object?
I want to destroy all widgets inside an element (that will be replaced by AJAX) so they can be parsed again without conflicting id's.
dijit.registry.forE...
Hi,
I have a tabcontainer with 3 tabs and some inputs. Everything works good till i put dojoType="dijit.form.ValidationTextBox" in a input.
after that the page looks like this in chrome and in firefox.
http://www.narvenblog.com/tralha/dijit_bug_chrome.jpg
what is happening with chrome?????
thanks
...
Hi all,
I'm a bit new to Javascript and am trying to create a delimited string from a textarea. The problem is when passing in the textarea, it adds newlines for each row on the textarea. I need to have the entire textarea parsed into a string with a delimiter for each line (replacing the newline char). So for example, if you passed i...
Hi,
I am using struts2.1.6 with DOJO plugin.
I have three tabs shown as TabValue1, TabValue2 and TabValue3. I want to show TabValue2 as the default tab if a certain url is clicked otherwise TabValue1 is the default tab.
Here is the code:
<sx:tabbedpanel cssStyle="width: 630px; height: 600px;" doLayout="true"
id="tabbedPanel2...
I've coming to be more interested in Dojo Toolkit which I find great, but are many Dojo users also using Python also? And why is it like that?
I heard of Cherry Py (and why not Django?).
...
Hi,
I try to use first time the Dojo toolkit and I'm facing an error.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/ja...
Hey all, i want to use a regular expression to match a word with one specified character randomly placed within it. I also want to keep that 'base' word's characters in their original order.
For example, with the 'base' word of test and the specified character of 'y', i want the regular expression to match all the following, and ONLY t...
Hi,
Trying to get a Dojo datagrid working - have duplicated the first example on the documentation page (http://docs.dojocampus.org/dojox/grid/DataGrid) & it works just fine.
However, when I try to display the grid inside another div (i.e. putting 'gridContainer4' from the example inside any other div) nothing displays...
Any help mu...
Hi,
I am using a borderContainer with a fix width and centering in the center of my page (Use of a div around the bordercontainer).
Everything works fine until i add a TabContainer. All of a sudden i can not see my Tab's anymore. This goes as wel for IE as FF.
Is this a bug or something else? How could i work around this?
I'm using the...
Hello,
Up till now my system used dojo 1.3.2 successfully. I have many javascript files with our own declared classes which are combined together using shrinksafe to a single javascript file.
I tried to upgrade to dojo 1.4.x (I tried several minor versions). I used the build system with a layer file with all the dojo.require()'s I use ...
Hey guys, im not well versed in dealing with asynchronous design patterns, and im having a problem writing a script that does two async data fetches.
Im using Dojo.data.api.Read.Fetch() to make two fetch() calls from seperate databases. The reulsts come back asynchronously. However, I have to cross reference the results, so i want my s...
I have a problem with dojo.xhrGet (dojo 1.3) in IE8 where:
1. I have a set javascript files that must satisfy some dependecies
proj4js.js depends on OLprototype.js
while lcc.js and EPSG3308.js are needed if proj4js.js is used.
2. if I execute the script below, funLoad("/proj4js/lib/proj4js.js") fails on IE8, while it works on FF3.6.3; f...
Hi, I wonder if anyone has experienced memory leaks in IE7 when using dojos datagrids. I have used the dojo.addOnUnload to destroy the grid widget but it seems like there are still references to the grid and its subcomponents when i use the tool drip to analyze the memory
leaks.
<script type="text/javascript">
dojo.require("do...
I was told IBM no-longer uses Dojo. Is this true? A small amount of web searching shows IBM is/was a member of the Dojo Foundation and is/was a code contributor... If it is true, approximately when did IBM stop using Dojo? If its not, to what extend is IBM still actively using and promoting the toolkit (use in their public web sites, pro...
Here is my code:
dojo.provide("test.validation");
dojo.declare("test.validation", null, {
addValidate : function(a) {
this.a = dijit.byId(a);
var link = dojo.connect(dijit.byId("form"), "onclick", this.validate);
},
validate : function(e) {
e.preventDefault();
console.log(this);
if (...
I would like to disable client side validation on certain fields in my user form. Currently I have two sets of fields that are displayed depending on the value of a previous drop down list. i.e. if the drop down list is set to value "A" 1 new field appears in the form. If the drop down list is set to value "B" 3 new fields appear in t...
Hey!
I have a cool bit of dojo running where I click a button - and it brings a success message on the screen via javascript. Is it possible to issue a call to a server side Groovy script foo.groovy from within this Javascript - because not only do I want to show the cool success message - but I need to do some work in the background at...
jQuery is great especially its plugin but I do not like to add a lot of script tags in my html. Is there something similar to dojo.require? So I can manage those plugins easier and cleaner.
...
Hi there,
after some hours of checking out documentation, I am somewhat desperate:
Basically I need to populate a TabContainer with some TextBoxes, and some Checkboxes. All theses neatly arranged: Labels to the left, fields to the right.
To have this done I use a TableContainer that I add to the TabContainer, create the TextFields and ad...
I'm running into a problem using dojo.connect() to connect an 'onclick' event with this button:
<button dojoType="dijit.form.Button" widgetId="inbox_button" id="inbox_button">Inbox</button>
and the code making the connection is:
var inbox_button=dojo.byId("inbox_button");
dojo.connect(inbox_button,'onclick',function(){
var contai...