I've created a dijit popup menu that gets the items in the menu using a JSON AJAX request the first time that it is opened. My problem is that after the menu items have been added, the menu often goes outside the viewport of the browser, since the position of the menu has already been calculated by dojo. The second time that I open the m...
One question about Dojo Dijit's "createLink".
Clicking on a created link doesn't actually pop up and show the link's URL page, but clicking a link shows the link properties dialog again and again.
How do I make so that it show the link's URL on the page?
http://docs.dojocampus.org/dijit/_editor/plugins/LinkDialog?highlight=%28create...
I am using Zend Framework with Dojo to make tab containers. I need for the dt tags to be createEventForm-waiverDetail-addElement-label instead of addElement-label. However I cannot figure it out. You can see them as the id in the following code snippet
http://pastie.org/780362
I have looked and looked for this. I think it may be so...
Hi,
I want to add listeners on selection event, but implementation via code below fired event two times. Only javascript core onClick event is fired correctly one time.
dojo.connect(myTabCont, "onButtonClicked", function(tabList){
console.log(tablist);
});
dojo.connect(myTabCont, "selectChild", function(tabList){
console.log(ta...
I have two divs nested under a parent div and I want all these to be source as well as targets for dojo.dnd.
I want to be able to add nodes to the div over which the content was dropped and also allow the user to move this in between the 3 divs.
Something like this -
http://www.upscale.utoronto.ca/test/dojo/tests/dnd/test_nested_drop_t...
I have the following html / Javascript:
http://pastie.org/782618
And the following Zend PHP Code for the tabs:
http://pastie.org/782620
I would like to link to the Second Tab (Event Information2). If possible I would prefer to be able to have a button on the first tab that when clicked it goes to the next form. If that isn't possib...
Hi guys
while migrating from dojo 1.02 to 1.4 i have encountered a problem with grid.
In 1.02 versions i have implemented my own check box class inherriting from dojox.grid._CheckBoxSelector
dojo.provide("MyCheckBox");
dojo.declare("MyCheckBox", dojox.grid._CheckBoxSelector, {
format: function(inDatum, inRowIndex)
{
return '<...
dijit.form.FilteringSelect is close to what I need. I've tried lots of ways to do what I want, but being a dijit beginner I never know if I'm even going in the right direction.
When I start typing in a FilteringSelect, I only see the options starting with what I typed. Like a query on value + "*"
What I need is to see any option that ha...
Hi ,
I hava created a editable subGrid ( Grid in grid ) using Dojo DataGrid.
I am fetching and populating the data in 2nd and 3rd cells from server based on value in the 1st cell.
event.cellNode.cellIndex giving me correct value in firefox.
but in IE it is giving some junk number.
Please help me to fix this issue.
Thanks,
Shailaja...
I need to select a link node given its url. Using an attribute selector works quite well except for a few rare cases when the url has a tilda. I have no control over the link urls. Here is an example:
<script>
dojo.ready(function() {
var node = dojo.query('a[href="http://abc.com/~123"]')[0];
console.debug(node);
...
I am building a Proof Of Concept for a component that was earlier built in vb6. Since the component has complex UI elements, I am not really sure how far i can reproduce the same thing with Lotus Notes UI elements. What I am now currently looking to do is the following.
Create a Button in an exist LN form.
When the button is clicked it...
I'm trying to have three different dialogs on as hidden initially, then depending on the response from the ajax form submit, i wish to show different dialogs.
When the form is submitted and waiting for the response, i can show the "in progress" dialog.
Then if the server returns an error response, I want to hide the first dialog, then d...
Hi,
I've been through the Dojo docs as well as the API and tried Google but can't find a solution to my problem, I hope anybody here can help me out.
I'm trying to create a dijit.form.select programmatically (using Dojo 1.4) and connect to the "onClick"-event of the widget.
Here's a part of my code:
var dataSelect = new dijit.form.Sel...
Hello everybody!
I try to insert an image, witch could be open with dojox.image.lightbox into a TabContainer. The TabContainer works, but when I add my image:
<a dojoType="dojox.image.LightBox" group="grouped" title="mytitle" href="pathToImage"><img src="pathToImage" height="180px" width="240px" /></a>
The TabContainer doesn't work a...
I'm trying to run DOH from dojo-1.3.2 to test simple Javascript functions from command-line. However, I can't seem to get anything to run and the net seems to be devoid of DOH command-line documentation.
Ideally the structure I would like is:
Tests reside:
C:\myproject\tests\
Dojo reside:
C:\dojo-1.3.2\util\doh
As of right now I've ...
I want to extend Dojo class _Scroller
BUt the problem occurs because its declared in scope of another function
(function(){
var nodeKids = function(inNode, inTag){
var result = [];
var i=0, n;
while((n = inNode.childNodes[i++])){
if(getTagName(n) == inTag){
result.push(n);
}
}
return result;
};
var divkids = func...
Hi,
I migrated dojo 1.3 to dojo 1.4 and tree sub levels are not aligned properly. All sublevels are left aligned with root level. I cant identify the heirachy in tree grid. Pls suggest what are the changes to be done in dojo 1.4 tree
Any help would highly appreciated.
Thanks,
John
...
I am having an issue with the following code. The execute function executes not on the submit of the form (there is a button being created) but before the dialog even appears. The flow of the program is simply you click on a button and the dialog is supposed to be created. Any help would be greatly appreciated.
dojo.addOnLoad(function()...
Currently I can add a Zend Form element dynamically to a form after it is first loaded. I do this through a mouse click and some ajax. However, I want to add the exact same element with a different name (basically I am giving each element an id). However, when I add the field it just shows up like a normal field and isn't Dojo'fied. ...
It seems that dijit.Menu is dependent on dojo/resources/blank.gif which is found when we perform a dojo build and leave it in the release directory. We are building a single layer - our build profile is as follows:
dependencies = {
layers: [{
name: "dojo.js",
dependencies: ["core.bootstrap.dojo_deps"]
}],
prefixes: [
...