I'm just getting started with dojo, and I've understood that dojo.query is the same as $ in jQuery.
But I haven't figured out what it returns. Is it a specialized object like in jQuery?
What I'm trying to do (with no luck) is:
dojo.query("output").innerHTML = data;
//this doesn't work either:
dojo.query("output").html(data);
//tried a...
I have a Dojo Datagrid with one of the columns being rendered as a textbox by a formatter function. When I click on the rendered textbox to enter some value, the cursor appears in the textbox and focus is immediately lost (i.e, the cursor disappears - typing does not produce anything). I have to click once more on the textbox for the foc...
I'm using Dojo Drag and Drop. When a user adds an item to a container (div dojoType='dojo.dnd.Source') then I need to get that data into a form so I can later process it on a server when the user submits the whole page. That part is working.
Then to remove an item, I allow them to drag/drop an item to a "trash" container.
I'm having...
Hello everyone.
I am using dojo.gfx to create vector shapes and text on my website and everything works fine when I am "dojo.require"-ing all dependencies in my Javascript. But when I'm building everything I need in a custom build (especially dojox.gfx, dojox.gfx.svg and dojox.gfx.vml), Dojo's automatic differentiation for SVG-supportin...
I'm using a dojox.data.QueryReadStore to populate a dijit.Tree dynamically on expansion of each node. When each of the child TreeNodes is created, I'd like to put a custom attribute on it.
How do I get called back on the automatic creation of TreeNodes before rendering?
...
Since Apache Struts has deprecated Dojo plugin from Struts 2.1.x I am thinking to change everything to jQuery. I especially noticed the difference in sizes (170kb vs 19kb - something like that). I had troubles with IE browser with handling dojo scripts, is this happening also with jQuery (when user is working with the application for a l...
In modern web browsers we can work with multiple contents in parallel by using tab containers. It took me quite some time to mimic a similar behavior within a webpage of a web-app by using a library called Struts Menu. The solution as far as I understand is basically a combination of using CSS with calling JSP pages.
I was wondering if ...
Upon creating a tree from a store in dojo, it seems to pre-select the top node in my tree; does anyone know how to stop this from happening?
...
Is it possible to capture keyboard events within a diagram produced using Dojox.GFX?
We have a simple graphical application which involves some shapes drawn on a surface. We would like to add some simple keyboard interaction, e.g. using the Delete key to delete a shape, and using "Ctrl+A" to select all shapes.
I have tried adding dojo....
A little context:
The app I'm working on has a right-click context menu for certain objects on the screen. The current design as that each of these objects listens for a right-click, sends an AJAX request to get the context data for that object, uses that data to create a PopupMenu2 from Dojo 0.4.3 (I know!), and then generates a right-c...
Hi,
I am struggling with a bit of dojo that is needed to upload a file. Now the file upload form sits within a dojo dialog box, so is hidden until the user selects an 'upload file' button.
This button can be clicked on anywhere on the site, so I've created a controller to handle the upload.
At the moment I am just trying to get it to...
Hello, I need to be able to take a background image and float a second draggable image (should be scalable, but with fixed proportions) Also the code should be able to 'flatten' the image for photo sharing. Oh, also the floating image should have a dropped shadow to give the illusion of depth. Thanks! Is this possible with jQuery, ajax,...
hi all,
i have following filteringselect:
<select name="v" dojoType="dijit.form.FilteringSelect" valueList="v" id="v" value="0"><option value=""></option><option value="0">0-test</option><option value="1">1-test2/option><option value="2">2-test3</option><option value="X">X-testx</option></select>
the strange thing is, that the empty ...
I have a page that when a user clicks on a link for some reporting tools, it first asks them to enter some report parameters. I get the parameters dialog as a form using AJAX, based on the id of the link. Each dialog has some dojo controls on it, so I need to parse them when the dialog appears, because it is not originally part of the pa...
I concede that this question may fall into the 'discussable' but not 'answerable' category. If so, I do apologize and please mark the question as such.
The question: I've mainly used jQuery and UI for my front-end interaction and AJAX. I need to help on a Dojo project quickly if possible and was wondering if anyone knows of a decent bit...
I have a contentPane with a remote form, I'm trying to get the form to submit, and stay within the pane, either displaying the form again on error or reporting success.
I'm sure this is easy but I'm stumped, not the first time and not the last I'm sure.
Store Form :
class Services_Form_Store extends Zend_Dojo_Form {
protected ...
Hi,
Using dojo.dnd, I want to allow a user to drag only one item at a time, rather than any arbitrary number, as per the dojo's default behaviour.
At the moment, a user can hold Ctrl and click multiple draggable items at a time, then drag them all as a group. I want to disable this so that the user can only drag one item at any given ...
Hello,
I am using Dojo 1.3.1 and have a dijit.Menu with several dijit.MenuItem items. The menu is displayed as a context menu when the user right-clicks on items that were bound to the menu using (dijit.byId("contextmenu_pf")).bindDomNode(...). All works well, but frequently when the menu is displayed, one or more of the menu items ar...
I read in the dojo trac from 3 years ago a concern that dojo combobox needs to implement option groups. I am using version 1.3.2 and my combo is failing. Are the option groups still not supported after all this time?
Thanks.
...
The documentation for getBoundingBox() in dojo says:
Returns a bounding box of a shape. A
text shape is a point-based object, so
it doesn't define a bounding box.
I don't get it. Any sane implementation of vector graphics for the web includes bounding box for text objects (raphaelJS and jQuery SVG that is)! What does "a point b...