Building decent RIA data-intensive crud-like application is still hard. In spite of existence tons of frameworks.
I'm going to build my own framework for such kind of applications. One of key requirements is scaffolding (generating UI from model). Another is .NET server-side.
I know about asp.net dynamic data, oracle ADF, fornax/sculpt...
How to show a checkbox in a dojo datagrid?
...
Hey,
I have a dojo (dijit) select dropdown that calls a js function onChange. I was expecting this to only call the onChange function when the user changes the value in the dropdown, however, it even calls the onChange function when I programatically change the value of the dropdown from js code. How do I get it to only call the functio...
Hello,
I have a very strange problem with dojo not loading properly in one action in one of the controllers in my application (it seems to work just fine in the other actions). I've been trying to sort it out, and it appears that in the action that its not working it fails to generate the following code that's present in all the other a...
This has been working fine, not sure why it's stopped all of a sudden.. Basically I am getting the error:
Notice: Duplicate dijit ID detected for id "email; temporarily generating uniqid" in ..\Zend\Dojo\Form\Decorator\DijitElement.php on line 171
If I look at the page source, my JS for dojo has been added twice:
var zendDijits = [{"...
I've created a dialog in dojo with a few input fields. Based upon a few criteria, I'd like to dynamically the destination url the data is posted to within that dialog (the equivalent of the action attribute on a form). Yet I see no way to set a dialog's action, or even how to manually submit it.
Here is a bare-bones version of the dia...
Hi All,
I wanted to know if there is a way I can abort the default drop operation in dojo. I am doing some custom manipulation in the function,
dojo.subscribe("/dnd/drop/before", function(source, nodes, iscopy){
//Custom manipulation
});
And from this function, I want to cancel the drop, similar to what happens when you press t...
I have a dijit dialog which runs and opens my requested href fine, it also runs an onLoad function fine.
I am trying to get swfupload to work in this dialog. I have the href loading the page with the required html, the required javascript included in the parent (not loaded) document and it all seems to work ok.... that is swf upload is ...
Inside dijit.Dialog, I am trying to process a dijit.form.Form. The problem is:
on hitting the submit button, the dialog box just closes and does nothing - while it's expected to submit the form to login_submit.php and alert() with a message saying the form was submitted successfully. This works fine on Firefox/Chrome though.
The code is...
I have a dojo TabContainer that has a BorderContainer child, with a left region and a center region ContentPanes.
-TabContainer
-BorderContainer
-ContentPane (left)
-dojox.layout.ContentPane (center)
I have it setup so that the left ContentPane is collapsible (by replacing it with a slimmer ContentPane) which works...
the current theme is connected with
dojo.require("dojox.charting.themes.PlotKit.green");
I created my theme, saved it in the same folder and tried to add to page:
dojo.require("mytheme");
But it's not connecting this way.
...
I have a dijit validationtextbox widget:
<input dojoAttachPoint="tbIPAddress" type="text" size="15" class="ipaddress"
dojoType="dijit.form.ValidationTextBox"
required="true"
regExp="^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$"
promptMessage="Enter IP Addres...
I have 2 dijit widget template classes and am trying to call one from the other but am having issues with dojo.hitch and scope:
I'm in a searchvehicleswidget and call a second widget, commandswidget:
this.CommandsWidget.Post("vehicle/getconfiguration/", request, dojo.hitch(this.CommandsWidget, this.CommandsWidget.FillForms));
Which t...
Hi everyone,
Does anybody know how one would go about looping through all the elements in a form using Dojo? (the form itself was created through the ZendFW Zend_Dojo_Form)
What I'm trying to do is go through all the fields/inputs in the form, and if possible, change their id value. However, even if its not possible to change the ID's...
When I execute the code below in IE7/WinXP32, then the output in the console is "undefined". The output changes to the expected "getContext()", when I make either of two modifications:
I remove the image tag.
I use: <body onload="draw()">
Any idea what is going on here? What may be a workaround?
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD...
Hi,
I am displaying data in tree structure using dojo.The data will be read from xml file.when we click the particular data in tree we are getting the name of that.
newArgs.name = fileStore.getValue(item, "name");
What i want is ,when the particular node is clicked that name sholud be displayed in text box.
How can i do that?
...
How can I get Dojo Dijits (1.5.0, currently) to work with XHTML as application/xml+xhtml? It works if sent as text/html, but application/xml+xhtml is required.
This seems to be tied to dijit.form.DatePicker and a few others.
This isn't a matter of validating against W3C, it just plain doesn't work, at all.
Error: mismatched tag. Expec...
Hi everybody, I'm having a trouble with dojo and really need your help. I want to catch changedValue event of datetimePicker controls in my pages (which haven't had valueNotifyTopics attribute yet). So, in dojo.addOnLoad function, I use setValueNotifyTopics to set value of valueNotifyTopics on it. But I don't know why setValueNotifyTopic...
I am a Dojo newbie and am trying to create a custom templated Dojo widget. What is the correct way to map a custom Dojo widget attribute to the text node of an HTML textarea element using an attributeMap? I would like to be able to set the value of the textarea while declaratively creating the custom Dojo widget.
e.g.
...
...
Hi,
When I subscribe to a channel in cometd, I could receive msgs from multiple
clients. The process is asynchronous.
When two clients send msgs at the same time, only one of them is received.
Javascript is single-threaded.
How to get all msgs?
Regards
P G Patrudu.
...