dojo

how to construct a zend_dojo xhrPost request

hello all, im new in dojo please how do i construct an XhrPost request in zend? thanks. ...

Mouseover Event on dojo controls

hello friends.. I have a pie chart displayed on the page with dojo stuff. on mouse over on pie chart I need to display some text can any body tell me how to do this? Thanks ...

Dojo Parseonload:false Then not loading Dojo modules

Hello, I have some Dijit Tabs, and in those tabs I have some Dojo Text boxes and Fields. Some of my Dojo Tabs load when the page is loaded, and some load only when clicked on. My issue is that I cant get the Tabs that load only when clicked, to work with the Dojo modules. Its hard to explain, so I made a simple example to help. I h...

zend form using dojo (ajax) to check yhe checkbox and where to write the javascript codes?

I have made a default form using Zend Framework which is working well. i need to use any kind of ajax in the form may be dojo which comes with Zend. I dono how to use these form elements and how to call them. like when i click on a radio button called yes,open an textbox or change data. any example ? ...

Dojo Grid - store.revert() not working

Hello, I try to validate the modified fields of a dojo grid. If the validation fails, I call store.revert() and break out of the store fetch loop. But this doesn't seem to be working. In FF I get this error: 'assertion failed in ItemFileWriteStore'. Any help is appreciated. Thanks. ...

where should the dojo satement should be written in a zend form .

hii i am new to zend . i have written a form using zend . like under forms i have created the forms and a simple one like $specific_consultant = new Zend_Form_Element_Radio('Specific_consultant'); $specific_consultant->setLabel('Specific Consultant') ->addMultiOptions(array( 'Yes' => 'Yes', ...

Loading javascript in a Dojo ContentPane

Hello, I am stuck again. I am trying to load some javascript (a number spinner) into a Dojo content pane. And I get a nice ugley message: Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917) Here is my code. Any ideas? <html> <head> <script type="text/javascript" ...

what is difference between dijit and dojo

I am new to dojo . i se ethis term like dijit . what is this actually . ...

how to update pie chart on dojo

Hello friends this is the code I am using to update the pie chart on fly.. dojo.require("dojox.charting.Chart2D"); dojo.require("dojox.charting.plot2d.Pie"); dojo.require("dojox.charting.action2d.Highlight"); dojo.require("dojox.charting.themes.Wetland"); dojo.require("dojox.charting.action2d.MoveSlice"); dojo....

How to get a value from Dijit.Editor?

I have a dijit.editor on my page and when I click on a button I want the contents inside my editor. It should be fairly simple, but I've stumbled upon it for now. Never mind, i solved it. dojo.require("dijit.Editor"); dojo.addOnLoad(function() { var editor = dijit.byId("myEditor"); var btn1 = dojo.byId("Button1"); ...

how to add the labels to x-axis and y-axis in dojo

helo friends I need to add the lables for x and y axis in dojo grapsh dojo.addOnLoad(function() { var dc = dojox.charting; var c = new dojox.charting.Chart2D("test3"); c.setTheme(dojox.charting.themes.Wetland); c.addPlot("default", { type: "StackedAreas", ten...

Dojo + ServiceStore + SMD + JSONP = removed escaped characters

So, I have a ServiceStore in dojo where the response has escape characters like so: { name:"\"Fred\" and \"Wilma\""} In my deferred callback for this service, the JSON string coming in looks like: { name:""Fred" and "Wilma""} which causes dojo.toJson(results) to blow up. The string coming back from the server is correct (Have ...

Dojo Toolkit: How to animate a fade in while adding a new element to the page?

I am stuck with using Dojo to accomplish this. Basically what I am trying to implement is an AJAX feature where a user adds a comment to a blog post and it is immediately displayed. So I'm to the point where I have the dojo.xhrPost receiving a chunk of html that needs to be added to the list of comments. Now I want to slowly fade in the...

Trying to select a specific node with Dojo

I'm trying to select the text from the name attribute of the anchor element of the last Comment div in the Comments div (i.e. comment_3037) How can I select it? Here's my html: <div id="Comments"> <div class="Comment"><!-- last "Comment" element in the div --> <a name="comment_3037"></a> <a href=""><img src=""></a> ...

Animating with parameters in Javascript using a timer

I'm trying to animate a dot from one point to another on a map. Right now I have the following code: function animate(){ //animation var pt = oldLoc; for(i = 0; i < 1000; i++){ pt.y += 5 pt.x += 5 graphic.setGeometry(pt); //sets the new point coordinate...

dojo borderlayout show all the content , flicker then redraw correctly

Hello, I copied an example from the dojo site using Borderlayout. However, when I load in the browser , the entire data is shown for all the section . Then after a few second the content is refersh and the data is displayed correctly. here is code that i copied . Thanks for your help <head> <link rel="stylesheet" type="text/...

Click even on pie chart using dojo

Hello Friends.. I have a sliced pie chart.. I need to implement Click event on each slice to go other page.. Can any body tel me how to do this kind of clicks on the pie chart using dojo thanks ...

dojo/dijit and Printing

I want to be able to provide a button to my users to just print a particular portion of my dojo/dijit application. There seems to be a general lack of documentation and examples when it comes to printing. For example, I have a specific dijit.layout.ContentPane that contains the content that I would like to print, but I wouldn't want to...

hiding a element using dojo in zend

dojo.addOnLoad( function() { attach on click to id="textDiv" dojo.query('#Specific_consultant-Yes').onclick( function(evt) { // document.getElementById("Consultants").style.visibility = "hidden"; dojo.style.setVisibility('Consultants', false); //alert('hai'); }); }); I tried to write code like this in zend in views page . ...

how to do the Click event on each bargraphs or pie chart using dojo

hello friends I have bar grpah and pie chart using dojo graphs.. I need to keep the click event on each bar and pie chart slice to get the value of that perticular slice or bar? can any body tell me how to do this Thanks ...