dojo

Is there an easy way to create a confirmation dialog using dojo-toolkit or spring-js?

Hi, In my spring webapplicaiton I would like the user to confirm the deletion of an item before actually do it. I've looked for a simple example using dojo, but so far I didn't come up with a solution that suits such a simple and common use case. Any hints? ...

I am not able to change the Pie chart on Fly?

Hello I am using this code to change the pie chart on fly.. but I am not able to change?can anybody sujjest me how to do this Thanks http://dojocampus.org/explorer/#Dojox_Charting_2D_Simple%20Pie%20Chart I am flowwing this URL Expale.. Thanks advance.. ...

Can I able to display the pie chart in .ascx control?

I am trying to display a Dojo pie chart in .ascx control. I am using this code to display <script type="text/javascript"> dojo.require("dojox.charting.Chart2D"); var chart1; dojo.addOnLoad(function() { chart1 = new dojox.charting.Chart2D("simplechart"); chart1.addPlot("default", { type: "Pie", ...

problem grid cell editable

Hi; When I edit a cell object Dojox.Grid.DataGrid and I seized fonts... and then I leave the area by clicking outside the grid, the cell is edited. I do not know why? thank you for helping me ...

How to access a Container Node as a Node List for a custom dojo/dijit Widget

I am trying to create a custom Templated Widget in dojo. I need to do some manipulation of the containerNode of the template and want to use the node as a dojo.NodeList. I cannot seem to get things to function like I want. For example, I need to be able to "push/pop/shift/unshift" children from the containerNode. If I do the followin...

check if an dijit.dialog in firt plan

Hi, how should I do for check if an dijit.dialog is in first plan thank you for helping me ...

Dojo datagrid cell editing doesn't allow editing multiple cells in the row

Hi there, I'm using dojo 1.2.2 version. I can edit one cell in the datagrid fine. But when I edit another cell content in the same row after I complete editing the previous cell, I got prompted "Modify on deleted item is not allowed. Please save or revert changes before." and the second cell content doesn't get saved. Could somebody poi...

how to assign custom text to x-axis and y-axis(using Dojo controls)

hello friens I am using Dojo controls <script type="text/javascript"> dojo.require("dojox.charting.Chart2D"); dojo.require("dijit.form.NumberSpinner"); var chart1; // The data to use. var seriesData = [1, 2, 3,4, 5, 6, 7, 8]; dojo.addOnLoad(function() { chart1 = new dojox.charting.Chart2D("Div1"); chart1.addAxis("y", { vertica...

Can you preload images in a dojo animation.

I have a dojo animation object of about 15 images. I'm also using dojo.fx.chain to link them all together. Right before I create all my dojo.fadeIn's and dojo.fadeOut's I added in some basic javascript to preload each image. My question is: Am I doing this the hard way or is there some function/attr I can set in the animation object to...

Using dijit.filteringselect in a Spring MVC environment

Hi! I am trying to code two filteringselects which should both change according to data entered into any of the forms. So data entered into fs1 should trigger changes in fs2. Data entered into fs2 should trigger changes in fs1. I am in a spring environment which in my case means that the dojo code is in a jsp file and the filtering se...

Dojo FilteringSelect: Can't Add Options

I can't add any options to my FilteringSelect dijit. Here's my code: var options = { identifier: 'abbr', label: 'name', items: [{ abbr: 'ec', name: 'Ecuador', capital: 'Quito' }, { abbr: 'eg', name: 'Egypt', capital: 'Cairo' }, ...

dijit.Menu and dojox.gfx.surface don't seem to work together.

Has anybody tried to use the dijit.Menu and dojox.gfx together. When I try to attach a dijit.Menu to a dojox.gfx.Image I can only see the words and not the menu. ...

Dynamic forms in zend??

hey, i'm stuck at a problem which is kind of similar to one that Erik asked about. I'm trying to create a dynamic form in zend and what i wanna do is that there should be a button which when clicked adds a new text box or any form element dynamically. now the problem is that i'm new to zend framework. i'm using 1.9.7 right now. i've don...

Open/Close Dojo Menu with mouse over event

Does anyone know how to open/close a dojo dropdown menu with the mouseenter/mouseleave events? Actually, I've successfully opened the menu with the mouseenter event, however, the menu wont close when the mouse moves off the button (or the subsequent opened menu). ...

Is there something special required to use dijit widgets within a Struts2 application with the DOJO plugin?

I am taking a prototype of a web page and implementing it. The prototype makes heavy use of DOJO for some fancy UI elements. The application is built using Struts 2.1.8.1 with the DOJO plugin enabled. I am able to use the dojo specific tags within struts but I can't get the any of the dijit widgets to work. <%@ page contentType="text/ht...

how to count or summurize distinct values in Json with dojo

I'we got a Json response from a ArcGIS server that look like this: { "displayFieldName" : "ELTTYPE", "features" : [ { "attributes" : { "ELTTYPE" : "Faldunderlag", "DATANR" : 721301, "ELEMENTNR" : 40, "AREALTYPE" : "BELÆGNING", "SHAPE.area" : 26.4595572 } }, { "attributes" : { "ELTTYPE" : "Prydplæne",...

Dojo Custom build--

Hello, I was able to do a custom build for dojo and upload to my site. However, the date control does not display correctly. The popup date box displays the calendar but with the month of year on top. e.g. jan feb mar ... s m t w t... 1 2 4 5 6 ... 2009 2010 here is my build profile. Can you please give me some suggestion on how ...

Struts dojo use in jsp page for the end date functionality in java?

Hi, I am developing the jsp page in which i am using (<%@ taglib uri="/struts-dojo-tags" prefix="sx" %> library and which is using the Datetimepicker.I have tried to use it but i am stuck over here since some days. Datetimepicker giving the attributes Start-date and end-date, but i do not know the way how to use it as the dynamic values...

Dojo Tookit: FilteringSelect problem in IE

Hi, does somebody know something about problems with the filteringSelect in IE browsers? I just get an yellow exclamation mark and two JS errors in IE developer tool: dijit.form.ComboBox: TypeError: 'undefined' is null or no object dijit.form.FilteringSelect: TypeError: 'undefined' is null or no object I use dojo version...

how to disable single tab in dojo tabcontainer

i want to disable single tab in tabcontainer of dojo . ...