dojo

What is href=javascript:;

in a code which i am goin through there is a link has href=javascript:; in code.when it is clicked it opens a lightbox to show some msg with close button.how is it done.I think this uses dojo ...

Permissions error when debugging with dojo src

I'm running with the src version of Dojo 1.4.2, in Firefox/Firebug. Everytime I load my app I get a "Break On Error" because the Components.classes reference below hits a permission error. There are three sub-questions here: 1). Can I stop this error happening? (Yes I could hack dojo to stop the call, but I see that as annoying hacker...

DOJO.xhrPOST not working in android

In my JS i'm using this code try{ var xhrArgs = { url: "/mum/proxy/http/localhost:8080/com.error.android.mashup/xmlContentReader", postData: tmp, handleAs: "text", load: function(data) { // alert("data:"+data); }, erro...

ASP.Net UpdatePanel causes Dojo button to lose Dojo attributes

I have a page which contains an ASP UpdatePanel, and within the UpdatePanel, there is a button styled using Dojo with a dojoType of dijit.form.Button. When the UpdatePanel updates, the button loses all of the CSS styling, so it reverts back to an ordinary looking html button. I'm presuming this is because the dojo methods don't get cal...

text editor for jquery ,dojo,mootools

I need a text editor that supports cross platform JavaScript languages such as jQuery or MooTools. I do not mean a rich text editor. I'm looking for an "intellisense" text editor to develop in those languages. ...

dojo TimeTextBox don't listen to on blur event

Hi everyone, I want to add an on blur event to a dojo timetextbox but the event never been runned so the declaration of the timetextbox is like this: <label>End</label><input id="endp" name="endp" onBlur="calculateTimeSpent2(startp,endp,output);" /> the javascript function is like this: function calculateTimeSpent2(startp,endp,outp...

How to add a new node to a dijit.Tree

I want to add a new node to a dijit.ree as a sibling of the currently selected node. I've found sample code (I'm new to dojo) that adds a new item to the tree using the newItem method of ItemFileWriteStore, but the new item always appears at the bottom of the tree. How would I add to the store at a specified position, in particular the...

updating/refereshing dojo datagrid with new store value on combobox value changes

hey all, I have a combo box and a datagrid in my page. when the user changes the combo box value i have to update the grid with children details of newly selected parent. How can I achieve this using Dojo combo box and datagrid. the following code snippet not working for me. when I use setStore method on the grid with new json data. <...

Dojo and unregistering widgets

Hi, I am new to the Dojo Toolkit. I'm getting the error Tried to register widget with id=myButton but that id is already registered whenever I try to load dojo content twice (meaning I load HTML content through jQuery.Load into a container div). Is there a way of unregistering already registered widgets in dojo? I've seen some exampl...

Upgrading dojo in Spring-js from 1.3 to 1.4

We have a project where we're using Spring-js. With it comes Spring-dojo and the full dojo package. But in the current version of Spring-js (2.0.9), it's using dojo 1.3. Is there a way to upgrade manually to dojo 1.4? Or even a new Spring-js.jar-file that can be donwloaded that uses dojo 1.4? ...

Looking for Examples and Source of a working Dojo TreeGrid widget

Anyone know of some working examples with source of the dojox.grid.TreeGrid widget? The docs on DojoCampus don't have an example and the nightly test doesn't have source. Supposedly, this is trunked in Dojo 1.4, but I can't get it working. ...

Unable to display google maps in a dojo layout

Dear All, I am a real newbie in programming and now I have to combine Google Maps and Dojo. Both alone are fine but when I try to implement a Google Map into a Dojo content pane which is embedded in a border-container it simply does not work. I think there is a problem with the naming of the divs but perhaps there is something else to t...

dojox.widget.dialog: disable close button opacity animation

I am nearly happy with my dialog widget now, only that there is a built-in behavior of the close button fading in and out with mouseover/out interaction. I have found no way to disable this feature such that the close button remains at full opacity anytime the dialog is open. Here's roughly the code I'm working from: var d = new dojox....

DOJO file upload is not working in struts2.1.6

I have been workin on this for a while and I think I really need help! I am using struts 2.1.6 with struts2.1.6_dojo_plugin+ Spring. This is my Java Script code in the Page <%@ taglib prefix="sx" uri="/struts-dojo-tags"%><head> <sx:head cache="true" /> <link rel="stylesheet" href="/css/default.css" media="screen" type="text/css" /> <scr...

How to use dojo-tree node in php query

Hi, could someone explain how it is possible to extract a node label (instead of a value) from a dojo-tree and than use it in a (php) query? Thank you! ...

Applying a Dojo Toolkit (Dijit) theme to ASP.NET pages.

In the code below, I am trying to apply a Dijit theme to the controls in my .aspx page. However, the controls persist in their normal, unthemed appearance. Anybody know why? Master Page: <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Main.master.cs" Inherits="WebJournalEntryClient.Main" %> <!DOCTYPE html PUBLIC "-//W3...

Retrieve value from form

My form is like <form action="javascript:;" method="post" id="reportForm"> <input type="text" name="as" maxlength="3" /> --CODE-- <html:hidden property="reportid" value="${Scope.reportId}" /> --code-- </form> I can retrieve values from the form in javascript like this.form = dojo.byId('reportForm'); this.as...

dojo.connect with dynamic content

Is there something similar to jQuery's live()-method in dojo? I have some content that's being loaded with ajax, and need that content to get the same event connections. dojo.query(".allTheseElements").connect("onclick", function() { /***/ } And then have the dynamically loaded content fire on this too. ...

Why can't multiple programmatically generated FilteringSelect's share a single store?

Before you ask, a MultiSelect wouldn't really be intuitive for the user in this instance. I have an object, with an array as its value for 'items', that's provided on the page in a var statement. I also have a function that generates and places dijit.form.FilteringSelects and is triggered on a certain button's click event. Every one of ...

how can dojo.FilteringSelect be configured to match wildcard values?

Below is a sample of a filteringSelect populated with user data. My goal is to have perform wilcard match on the displayed values. for example, if the user types 'son', the dropdown matches will be "homer simpSON' and 'carl calSON'. By default, the match will only be on the beginning of the label. I tried changing dijit.byId('userselec...