Dojo Toolkit is an open source modular JavaScript library designed to ease the rapid development of cross-platform, JavaScript/Ajax-based applications and web sites. It is dual-licensed under the BSD License and the Academic Free License.
0
votes
0answers
15 views
How to stop animation in Dojo
Using Dojo 1.9, I'm playing some animations like this:
that.fadeOutActive = baseFx.fadeOut({ node: "active-container", duration: 1000, delay: 3000 }).play();
that.fadeInInactive = baseFx.fadeIn({ ...
0
votes
1answer
14 views
JsonRest get values to feed grid header dinamicaly
I wonder if someone could helpme please.
i am using a dojo grid wich i need to populate with a JsonRest
this is the code
require
(
[ 'dojo/_base/lang', 'dojox/grid/DataGrid', ...
0
votes
1answer
20 views
Dojo callback never called on iconItem
This is my constructor:
iconJs =new dojox.mobile.IconItem({label:'', deletable: false, icon:'images/Tile_Toevoegen.png', transition:'slide', class:'klasIcon', url:'views/klappr/addKlas.html', ...
0
votes
0answers
23 views
Getting 404 error when using dojo.xhrPost + struts?
I am not sure why this was happening. I have a struts form that will post to my struts action's method:
<s:form data-dojo-type="dijit/form/Form" action="SaveRec" method="POST"
...
0
votes
0answers
17 views
How do you check if two fields match in a templated widget?
I am trying to create a form where users need to confirm the password.
This is what I did:
var F = declare( [ _WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin ] , {
templateString: '' +
...
0
votes
0answers
17 views
Dojo Observable and DataGrid
I was implementing Observable data store and putting it into DataGrid presentation. What I was wondering is, the grid updates itself when the data in the store is updated even though I did not define ...
0
votes
0answers
12 views
How to replace an attribute in dojo Postcreate
I am trying to replace a value coming from backend to use a new value I am creating.
This is the function in the PostCreate
_setTagName: function () {
var Tag = this._TagName();
...
0
votes
0answers
17 views
dgrid - not able to select single row when using a Dojo Memory/ObjectStore as store
I m not able to keep the selectionMode as "single" or "extended".
Only multiple selection of rows is happening, when I m using a dojo Memory/ ObjectStore as store.
require([
...
0
votes
0answers
19 views
How to send data to Code behind in Dojo
Just today morning I started to work with dojo with NO support. Hence, feeling everything difficuilt.
I have one form with Fields: DeptNo, DName, Loc.
User can enter either nothing or all the values ...
0
votes
0answers
25 views
dojo parser error with core-web-layer.js:56
i have and app in worklight 6.0.0 and with dojo 1.9 and when i add a callback function and do the transition to this view i receive this error:
dojo/parser::parse() error at ...
0
votes
0answers
19 views
Map java objects to dojo objects
I have an arrayList of java objects and I need to make a table with each row as an object.
Also I need to be able to sort the whole table based on any one attribute of the object,
basically sort on ...
0
votes
2answers
24 views
dojo domconstruct.place gives error Uncaught TypeError: Object [object Object] has no method 'appendChild'
usage domconstruct = http://dojotoolkit.org/reference-guide/1.9/dojo/dom-construct.html#dojo-dom-construct-place
the second argument of place() is
refNode String|DomNode The DOM node where the ...
0
votes
0answers
15 views
Drag and Drop takes over my scrollbar
I have a div and inside my div I have a dojo dijit.layout.BorderContainer. Inside that border container I have 2 more more BorderContainers and finally each of those border containers has one more ...
0
votes
1answer
24 views
Can't find Dojo IconMenuItem callback example. (Defined by dojox/mobile/_ItemBase)
I can't find Dojo IconMenuItem callback example. (Defined by dojox/mobile/_ItemBase)
callback
Defined by dojox/mobile/_ItemBase
A callback function that is called when the transition has ...
0
votes
1answer
8 views
Replacement for deprecated dijit/_Widget.getDescendants function?
I am using Dojo 1.9.1 and lodash.compat 1.3.1.
I am attempting to replace the deprecated dijit/_Widget.getDescendants() function. The deprecation warning says to use getChildren() instead, but that ...
0
votes
0answers
17 views
Dojo Load Content into Existing View and Perform Transition creates new views outside page
I tried to make a function to load external view htmlpages into a view and then perform a transition. But when my function loads it opens 2 views outside my page with only a header with the title "my ...
1
vote
0answers
19 views
Dojo is not working
I am new at dojo and here is my code:
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/dojo/1.9.1/dojo/resources/dojo.css"></link>
<link ...
0
votes
1answer
8 views
How to make rest service call using dojo?
Can anyone tell me of calling rest service using dojo.io.script.
try{
dojo.io.script.get({
url: ...
0
votes
0answers
5 views
Dojo tree with datastore
I'm a newbie working with dojo. I just want to know whether dojo tree elements can have form elements like textbox or checkbox as their children? If so what is the datastore needed and can you just ...
0
votes
0answers
7 views
DOJO Overlay linking from one to another
How can I put a button on an overlay that when clicked, closes the current overlay and opens another?
0
votes
0answers
9 views
Dojo moveable with a Dojo pausable
I have a div with an attached movable element. Inside the div there is a list of buttons that is accompanied by a scroll bar. When I try to drag the scroll bar it simply drag the whole div around my ...
0
votes
1answer
16 views
dojo on.emit “click” and “change” not working in IE
From the code below, you can see that I'm trying to create an Input Type File Textbox dynamically, then firing the "click" event so the file browser pops ups. Once a file is chosen, the "change" event ...
0
votes
1answer
34 views
JavaScript: Unexpected Inheritance Result
I'm pretty new to JavaScript, and I'm going through tutorials to familiarize myself. I keep getting 12 for the name, but I feel like it should be the default name (since it was never updated). It's ...
-1
votes
0answers
10 views
How do I configure Dojo in Eclipse?
How do I configure Dojo in Eclipse? Please suggest me a good tutorial to learn dojo by running examples in Eclipse
0
votes
0answers
40 views
javascript : send file to php script for user to download
In the website I'm building, I'm trying to provide users the ability to export and download data in KML format. I've built a PHP script to generate a kml file from a string. It works reasonably well, ...
0
votes
1answer
19 views
How to get locale within JSTL with dash as separator?
PageContext.request.locale return Locale like "en_US"
But current javascript library (Dojo) is seeking something like 'en-us', 'es-es'..etc
Is there any API to use other than customized a javascript ...
0
votes
1answer
12 views
Find Type of Form Data
So I'm not even sure how to word this. I am trying to validate form data with a JSON Schema. I use Dojo to create the form and fetch it's contents when the user clicks submits. However all the data in ...
0
votes
1answer
14 views
How to dynamically change a combobox's searchAttr based on a radio button in dojo?
I am trying to change the value of the searchAttr of the combo box based on a radio button. Here is a working snippet of what I have so far.
<html>
<head>
...
0
votes
0answers
26 views
Dojo TabContainer doesn't get formatted correctly until after I do an Inspect Element
I have a Dojo DataGrid with a few rows of data. When I click on a row, I have a TabContainer created in another <div>. Here's what it ends up looking like:
The formatting for the TabContainer ...
-1
votes
0answers
32 views
Error on real device . White screen and error:multiple define and script error on dojo.js
Worklight 5.06 and Dojo 1.8.
The app works on android emulator and web browser but doesn't works on real device.
This is the logcat:
08-08 14:58:35.520: D/dalvikvm(4470): GC_CONCURRENT freed ...