dojo

[DOJO] Problem after Update to 1.41 (dijit.Dialog)

Hi there! If got a lil problem with dijit.Dialog ... I want to open a Flash Audio player inside the dijit.Dialog via an iframe! It all worked perfect with Dojo 1.37, but after the update, I canÄt see the Flash player! :( It actually works because you can hear the audio track playing, but the player is somehow covered so you cant see it!...

How to write a creator for dnd enabled dijit tree

Hi, I have a digit tree that has dnd enabled via the dndController="dijit._tree.dndSource" option.Currently when drag is initiated the avatar content seems to be right aligned. The avatar is automatically picking the image and text content of item that is being dragged but I would like to have this information left aligned. I believe ...

Save Dojox GFX Canvas as SVG

Is there a way to serialize a Dojox GFX canvas as SVG? I am looking for a way to save my Dojox GFX canvas contents in a way which can be exported as a graphics file (SVG, PNG, JPG, etc.) which could be easily saved or printed, and SVG seemed the most likely. I found a reference to a function dojox.gfx.utils.toSvg, which looked perfect:...

Dojo filteringSelect query expression

Hi I'm using the dojo filtering select widget. I'm trying to customize the queryExpr. According to all forums/documentation, there are 4 types of expressions: - ${0} - find exact expression - ${0} - contains - ${0}* - starts with - *${0} - ends with I'm trying to accomplish an auto-completion where any word starts with the typed in...

dojox.grid.DataGrid and CouchDBRestStore: no new values on scrolling the grid

I recently set up a dojox.data.CouchDBRestStore in combination with a dojox.grid.DataGrid. Initially the data get displayed as they should. But if you scroll down the grid no new values get retrieved from the couchdb. Adding a row index to the store shows that the grid is aware of the total count of the documents within the database as ...

What does dijit.registry.remove() do?

What does dijit.registry.remove() do? How does it handle invalid parameters? ...

How to enable the browser context menu in dojox.grid.DataGrid?

I'm trying to get the browser context menu to work inside a dojox.grid.DataGrid. When I right-click on the grid now, nothing happens. I tried overriding onCellContextMenu, onRowContextMenu, doContextMenu, and oncontextmenu with empty functions on the grid instance, but that didn't work. The method onCellContextMenu is called on a right-c...

How to position a dijit.menu relative to its trigger?

I've got a couple menus like this: // Contextual Menu // triggers <div id="contextMenuTrigger0">0</div> <div id="contextMenuTrigger1">1</div> // menu <div dojoType="dijit.Menu" targetNodeIds="contextMenuTrigger0, contextMenuTrigger1" leftClicktoOpen="true" style="display:none"> <div dojoType="dijit.MenuItem" class="fir...

Installation and integration of the DOJO toolkit

How can I install the DOJO toolkit and use it on my website? Is there a tutorial? ...

Dojo element/widget targeting, what am i doing wrong?

I'm totally new to dojo ... and am drawing from my experience with jQuery somewhat ... I have several elements like so: <input name="info1" value="" style="width:52px" contstraints="{pattern:'#'}" dojoType="dijit.form.NumberTextBox"/> <input name="info2" value="" style="width:52px" contstraints="{pattern:'#'}" dojoType="dijit.form.Num...

Need to translate a jQuery animation to Dojo?

I would like to use a jQuery plugin called Superfish as the menu on my website. I'm currently using Dojo as my JavaScript framework. But, Dojo 1.4 supports some of jQuery's API (everything except animation, I think?). So I am able to run the whole plugin, except the "animation" part. My question is: How do I translate the jQuery $ul....

Setting the value (selected option) of a dijit.form.Select widget

I have a dijit.form.Select widget. It's tied to a data store, if that matters. It's filled with several options already. All I want to do is programmatically set its value. I can get its value using myWidget.attr('value') but if I try to do myWidget.attr('value', 5) for example (where 5 is one of the valid values), all it does is reset t...

Dojo -webflow multiple submit buttons

I am trying to use dojo on my jsp page.I have multiple submit buttons and based on what is clicked we have the webflow configured to go the respective view.something like Next-->Goes to the next page Cancel Exit->Goes to the exit page when i use dojotype form and click on any of these submit buttons they act like "next button" and goes t...

dojo.data.ItemFileReadStore + dojox.grid.DataGrid + 100% width and height

I want a dojox.grid.DataGrid with a dojo.data.ItemFileReadStore as the data store. I want it to fill the entire screen. I don't want to specify dimensions in pixels. All the examples that I've seen specify them in pixels or use a CSV data store. I've tried using HTML elements and javascript to setup the datagrid and store. Has anyone do...

Error: Tried to register widget with id==grid1but that id is already registered

Hello, I am currently developing my personal website and part of my site I have a biased view pr avoid duplication of code ... and this view I have a dojox.grid.datagrid ... I can call this view twice in the same page (ruban.phtml) the problem is that I click on 1 button that is the appeal of this view (partial view) and then I click th...

DOJO very slow with IE6

Hi There, I am using Dojo JS libraries in my project. The application runs on IE 6/7/8 and FireFox. The application is working with a normal response time in IE7 and above and Firefox. My Problem is *When i run the application in IE6 , the page gets loaded very slow (takes upto 2 minutes). I get errors like this :- could not load ...

How to run dojo on php pages.

I have implemented some tutorials of dojo all this tutorials work on html web pages. Is there any way to implement dojo on php pages. ...

Mysql and Dojo Connection

Is there any way to connect mysql database with dojo web pages. Kindly give me some guide lines so that I can make it possible. ...

Dojo 1.4.1 + IE8 dojox.charting labels not working

Hi everybody, I know this problem has already been discussed in Dojo 1.4 - IE 8 dojox.charting label not shown -> dojox.gfx but the solution does not work for me :-( Neither this <meta http-equiv=“X-UA-Compatible” content=“IE=7” /> nor this <meta http-equiv=“X-UA-Compatible” content=“IE=EmulateIE7” /> as proposed in the ticket #10...

Dojo/Dijit: Can't get filtering select to work

I have a page with some JavaScript and it includes dojo.parser and has parseOnLoad set to true and whatnot. Later in the page, I have another JavaScript tag that has: dojo.require('dijit.form.FilteringSelect'); dojo.registry.remove('ID OF SELECT BOX'); After all that, I have a select box with dojoType="dijit.form.FilteringSelect". W...