I am building a web application using Grails. I decided to use dojo and I added a dojo fisheye menu for begining in the main.gsp so it would be available on all the application's pages.
It works fine for the (home) index.gsp page, but once I select another one, the fisheye menu disapears. If I go back to home it is there. I revised my se...
Hi,
We have a J2EE webapp deployed to JBoss. This webapp is used for authentication purposes.
Now we would like to have other webApps that are not written in java to communicate and authenticate against this webapp. The reason we want to do this is: Suppose we have a small webapp that does simple task for the user. This webapp could be...
I want to push arbitrary XMLEncoded java objects back and forth using Dojo cometd channels, and I have a problem decoding the payload properly.
In order to do this I have this send method in a stripped down version of the chat room client demonstration program:
private void send(String string) {
Map<String, Object> map = new HashMap<...
How do I consume a .NET Web Service using Dojo? I believe I have the web service serializing its output as JSON but I'd like an example if anyone knows of one. Thanks!
...
I'm trying to make a DateTextBox that submits data once a date is selected. To do that I have this code: <form action="timecard/setViewDate" method="post" id="timespan" dojoType="dijit.form.Form">
<input type="text" name="calendar" value="2009-09-28" id="calendar" dojoType="dijit.form.DateTextBox" onchange="doTimechangeSubmit" />
</form...
Hi,
How do I customize an existing Dojo widget? I'm using dojo version 1.3. In the previous versions we had the html file under templates folder. Do I need to edit the source code directly.
I need to add an image to Accordion widget. Can someone please help me in customizing it?
Thanks in advance.
...
I have a dojo dijit.Tree, and I want to be able to put some html in the labels. To do this, I created an function called getCustomLabel and assigned it to the tree getLabel attribute:
tree = new dijit.Tree({
model: aMOdel,
showRoot: false,
getLabel: getCustomLabel
});
function...
I have a form that as more than a 100 fields across 5 categories of which only 3 fields are necessary and the rest are autofilled or set to default values. Earlier I was using a dijit.TitlePane to split the sections and hide the other remaining sections.
I have now decided to switch to a tabbed model as I would like to distribute my UI...
Hi All,
I've a DataGrid which contains data fetched from the server side. I need to filter the data based on some conditions. I've three checkboxes, on selecting the checkboxes I need to filter the data. For example I've three Checkboxes- Pending, Issued,Completed. When I uncheck Pending checkbox, the DataGrid should contain only Issues...
I am attempting to create an html table that joins GIS Map output with a dojox csv store. This is performed through a series of function calls. The resulting behavior is that in IE, I need to fire (onclick event on the map) the parent function twice to get the joined data (ChildFoo) from the csvStore to appear. It's like the parent fun...
I am getting a JavaScript error in IE6 when trying to send form data with xhrGet. Here is the code:
var kw = {
url: "Save.action",
load: function(data){
},
error: function(data){
},
form: "editData"
};
dojo.xhrGet(kw);
It works fine in IE 8. I am using Dojo 1.3.2 and the error in the uncompressed dojo.js is a...
I'm working with the dijit.Menu widget, but I don't know how to do some things:
How can I catch te position of the top left corner of a dijit context menu?
How can I know witch dome node belongs to the dijit menu, (to do that I write into the menu the DOM node id and I find it with dojo.byId, but I don't think its the best way)
How can...
I have a datagrid all set up, connected to an XMLStore. When the user selects a month from the dropdown list I want the grid to filter only that months data. Should be simple and according to every example it is. I can't figue out why it doesn't work, nor why IE tells me that none of the methods (filter, sort, setQuery) are supported by ...
I would like to have a tooltip that only comes up when you click a text link (but does nothing on hover). I know this is easy to do with jquery, but I have to use dojo. I've tried to declare a new tooltip class with "attachHover: false;" but it breaks when I declare the class so I assume this is wrong:
dojo.declare("clickTooltip", digit...
Hi all, i have been learning about javascript and using dojo. I am trying to execute a php file with dojo. My code is
dojo.xhrGet({
url: 'helloworld.php',
load: testCallback,
error: testError,
content: {name: dojo.byId('name').value}
});
for the dojo function. The php file is basically a simple script that prints the val...
Hi,
I have a webapp that (did) allows text to be copied using zeroClipboard, using a Dijit.Menu, by right clicking. The problem is that Flash 10 needs the user to click on the actual Flash applet to allow this to happen now.
I have tried to use the ZeroClipboard.glue() method to 'glue' the swf to the menu item but am having no success...
Hi,
using Dojo, is it possible to make an Ajax call using xhrPost from an HTTP view to a HTTPS url ?
The url must be HTTPS (as defined in Struts).
If I simply set "MyCommand" as the 'url' parameter of the xhrGet, I get a 302 error code.
If I transform "MyCommand" using javascript to something like "https://......./servlet/MyCommand"...
I have the following code:
<input type="text" dojoType="dijit.form.NumberTextBox" size=8
constraints="{min:0,max:100000,places:0}"
id="orgNumberOfStudents" name="orgNumberOfStudents"
required="true" invalidMessage="Integer between 0 and 100,000"
value="">
Questions:
1) How do I set the width of the box? Do I hav...
My current task is to migrate a J2EE application (JDK5) that is using DWR for its AJAX capability, into WebSphere Commerce platform (J2EE 1.4, JDK1.4). In the WebSphere Commerce, the idea is for the AJAX to call commands those are written in Commerce platform. WebSphere Commerce has its own AJAX approach (powered by Dojo), but I am hopin...
Hello,
I am extending dojo's dojox.data.JsonRestStore and I want to provide my own fixed scheme.
this is getUsername won't work because it doesn't refer to the current datastore
Take a look at this code:
/**
* @author user
*/
dojo.provide("cms.user.UserAuthenticationStore");
dojo.require("dojox.data.JsonRestStore");
dojo.declare("c...