Login Register

dijit

Dijit Tooltip Conflicts with Advanced TinyMCE Editor

In IE7, when there is an active scrollbar in the advanced TinyMCE editor, the scrollbar will become unstable after a dijit tooltip is displayed on the page (I am using TinyMCE 3.2.2.1 and Dojo 1.1.1). Cannot reproduce in Firefox 2.0.0.20).

To recreate this issue:
1. Put a dijit tooltip on a page (or use a ValidationTextBox) with the advanced TinyMCE editor:

/js/dojo/dijit/form/ValidationTextBox.js">
/js/tiny_mce/tiny_mce.js">

Grid as Widget - Display problem

Hi,

i have a strange Problem, iam trying to add an Grid as own widget : iam using the following code

dojo.provide("myWidgets.ShopShow");

dojo.require("dijit._Widget");
dojo.require("dijit._Templated");

dojo.require("dojo.data.ItemFileReadStore");
dojo.require("dojox.grid.DataGrid");
dojo.require("dijit.layout.ContentPane")
dojo.require("dijit.layout.LayoutContainer");

dojo.declare(
"myWidgets.ShopShow",
[dijit._Widget, dijit._Templated],
{
widgetsInTemplate: true,
templatePath: dojo.moduleUrl("myWidgets", "templates/shopshow.html"),

Problem Dijit.form.TextBox - Initial Value

 Hi to all ...Hi have this same problem link.
My server accept and send the date in this format...

Ex.  29/11/2008 ( The pattner is dd/MM/yyy)

So that I have create this cose in JS header...
---------------------------------------------------
dojo.addOnLoad(function() {
dojo.declare("DominoDateTextBox", [dijit.form.DateTextBox],{
   setValue: function(unparsedValue) {
       this.value = dojo.date.locale.parse(

Difference between dijit.form and dojox.form

Hi,

can anybody tell me the difference between dijit.form and dojox.form. Both have a DateTextBox for example but what's the difference. And if I want to create een e-mail adres input field, how can I validate this field. Do I have to use the dijit.form.ValidationTextBox and write a regular expression or can I use dojox.validate.isEmailAddress. Then my next problem would be, how to implement dojox.validate.isEmailAddress.

Maybe there is a tutorial on how to make forms with dojo that I can't find.

Thanx

Adam

Can you remove inline styles in Dijit

When rendering a ContentPane firebug shows inline styles being generated within the Dijit generated html. Is there a way to turn this off w/o having to override every inline style per element via javascript?

Programmatic replace dijit controls in a form

I'm trying to do a "cool" thing (I hope) that I thought to be easy to get, but my experience in Dojo is not sufficient to achieve this goal.

Simple question, but stuck: dijit input field properties do not hold when in a loop.

Hi,

In the following code, my input field in my form repeats as I would like, however the input dojoType and it's properties do not hold after the first iteration. So for example if I have a input dojoType = dijit.form.NumberTextBox; that outputs 10 times in a loop. only the first form will hold certain properties like constraints and trim and the other 9 will appear/function as just normal input text fields. Anybody have any clue why this is??? Any help would be much appreciated.

<?php
$i=1;
while($i<10){

dijit.Tree data collision error help

Hi,

I'm fairly new to dojo, and searched for similar postings but hit an impasse. Perhaps someone here could help or at least point me in the right direction.

I'm using dojo version 1.1.1 to construct a dijit.Tree; however, I receive the following collision error when children nodes (with different parents) contain the same "name":


{tree} : error loading root children: [ Error: dojo.data.ItemFileReadStore: The json data provided by the creation arguments is malformed. Items within the list have identifier: [name]. Value collided: [D] ]

Getting value of underlying formfield through to programmatic dijit

When programmatically applying a dijit to a form textbox, is there an automatic way of "percolating" the value of the underlying html textbox through to the dijit object?

By "natural way", I mean without having to specify explicitely {value : underlyingNode.value} when defining the dijit object.

page not loading error with dijit on IE6

I'm trying to use dijits for the first time, and am running into some weird bugs in IE6. I'm testing using the dialog example from dojocampus, and when I first run it, it works. However, if I refresh the browser, I get an alert message that says:

Internet Explorer cannot open the Internet site http://mysite.

Operation aborted

and then I get IE's page can not be displayed. If I quit the browser and go to the page again, it works again.

Syndicate content