dojo

dojo/dijit ContentPane setting content

I am trying append some XML retrieved via a dojo.XHRGet to a dijit.layout.ContentPane. Everything works ok in Firefox (3.6) but in Chrome, I only get back 'undefined' in the particular ContentPane. My code looks something like this: var cp = dijit.byId("mapDetailsPane"); cp.destroyDescendants(); // there are some existing Widgets/cont...

javascript curtain (used to idicate busy process) not displaying for entire process. Probaly I dont understand the callback wll enough.

I have a process where a user puts in a comma delimited list that is then processed one item at a time. I want to be able to indicate to the user that it is processing and let them know when it is done. So I used the curtain idea from Borgar's replay to ... Div Over Page. This worked but the curtain disappears well before the process is ...

Adding tool tips to dojo DataGrid items

I would like to add a tooltip with some extra data to each row in a dojox.grid.DataGrid. I have tried to create an onCellMouseOver handler, but I can't get the data item data out of the event object I'm getting. What is the best way to add a tooltip to a DataGrid row? ...

Determine if a dijit's DOM has finished loading

Is there a way to query a dojo dijit to tell if the dijit's DOM has finished loading? ...

How to give the menus associated with dojo's dijit.ComboBox different css from those of dijit.Menu

When you use a dijit.ComboBox, the type ahead suggestions get implemented as a dijit.Menu. I've got a design which calls for the matched portion of the suggestion rows to be normal, and the unmatched portion to be bold. The structure that dojo creates is like this: <ul class="dijitReset dijitMenu"> <li role="option" class="dijitReset d...

How do I use Dojo CDN + my.name.space.widget?

I want to use a CDN version of Dojo but I also want to use my collection of widgets in my own name space. How do I make the two play together? ...

DataGrid in Dojo , with json data from a servlet.

Hello , i am using JSON for first time... and want to fill my datagrid with my JSON data, this is my JSON data, { "head": { "vars": [ "s" , "fname" , "lname" ] } , "results": { "bindings": [ { "s": { "type": "uri" , "value": "http://tn.gov.in/Person/41" } , "fname": { "type": "literal" , "value": "Gay...

pie chart update or how to send values from gridivew to pie chart to update

Hello friends i am using dojo pie chart in my application.. I have dojo pie chart and bar grpah... My questions is now i need to update those two things.. that is.. above the charts I have gridview with user data.. I need to pass certain values from gridview to pie chart or bar grpahs to update..using javascript or jquery please can an...

Dojo treemodel- adding large number of items

I am trying to add a large number of items (100+) to my tree via ForestStoreModel by calling newItem in a loop. This seems to be quite slow and locks up the browser. Is there any way I can do something similar to grid's beginUpdate & endUpdate? I want to basically 'turn off' my tree, add 100 items in a batch, then 'turn on' my tree. ...

QueryReadStore loads JSON into DataGrid, but JsonRestStore does not (from the same source)

I'm building a Dojo DataGrid from JSON data provided by my REST interface. The DataGrid loads the data fine using a QueryReadStore, but doesn't seem to work with the same same data piped into a JsonRestStore. I'm using the following Dojo libs with Dojo 1.4.1: dojo.require("dojox.data.JsonRestStore"); dojo.require("dojox.grid.DataGrid")...

Ajax Form Validation in Struts 2.1.8 using jsonValidationWorkflowStack

I'm trying to get the ajax validations working in my Struts 2.1.8.1 application. I'm not using any of the built in struts ajax tags so that makes things slightly more complicated but I've been following the directions here: http://struts.apache.org/2.1.8/docs/ajax-validation.html My problem is that the jsonValidationWorkflowStack is alw...

format dojo DataGrid header row

I want to assign a background color to my programmatically created Dojo DataGrid's header row. I've tried to override the defaults by adding .dojoxGridHeader or .dojoxGrid-Header to my style sheet, but these have no effect. Is there another way, such as with a Dojo event or property? If my style sheet is the only way to go, am I using t...

What happened to Dojo in 2008?

Many of you have seen this graph of Google Trends of popular AJAX frameworks (Dojo, jQuery, YUI). The graph seems to make it clear that interest in Dojo collapsed in the second quarter of 2008, falling by 80%; jQuery picked up the slack and ultimately grew to more than triple the size of Dojo. Why? What happened in Q2 2008 that demoli...

enable Dojo support for Forms just on demand in Zend Framework

How to have Dojo support disabled by default and just enable it if you want to use it ? I have the problem that dojo support is automaticly loaded when using any form. Even without any dojo elements. I have following configuration: Bootstrap file if($this->dojo()->isEnabled()){ $this->dojo()->setLocalPath($this->baseUrl().'/js/...

Poll the Server with Ajax and Dojo

I'm using dojo.xhrPost to sent Ajax Requests The call is wrapped by a function sendRequest() I've now to continuously (every 3sec) send the same ajax Post to the server How can I implement a Server Poll with Dojo? I basically need to call sendRequest() every 3 secs ...

when was Dojo 2.0 released?

Hi I have Used Dojo.1.0. But i have some version related Q :- When will Dojo 2.0 be released? Also is Dojo 1.5 the latest? -Vas ...

jQuery and Intraweb ?

Anyone have a sample of doing a jQuery notification/popup/calendar in Intraweb ? A simple example would be great.. Even better... dojo version would be great. ...

Which web application framework?

From the following list of frameworks, which one would you use to develop a rich web application and why would you choose it over the others? Sproutcore GWT ExtJS GXT SmartGWT Dojo / Dijit Flex Capuccino Grails ...

@EventListener on contrib:MultiplePropertySelection (Tapestry 4.1)

Hi. Is it possible to add @EventListener to a contrib:MultiplePropertySelection in Tapestry 4.1 (dojo) and listen to onclick on its checkboxes? I would like to redraw the component everytime I click on a checkbox (as I'm toggling disabled and checked properties on the rest of them then). I would like to achieve this (Java): @EventListe...

Dojo Dijit Dialog relative position. is it possible?

Hello Friends, I want to position Dojo's Dijit Dialog relative to one of my html element. is it Possible? If yes. How? currently it always shows dialog in middle of viewport. Can any one help me regarding the matter? Thanks. amar4kintu ...