navtej | 30 Aug 01:03 2014

Writing custom dojo build plugins or transformers

I've got a complicated full dojo build setup that uses an "exploded" JS
environment in development and a compiled/built setup in production. I would
like to integrate some of the new ReactJS work into our build for some
experimentation, but I think I need to write a custom plugin or transformer
to make this work well with both setups.

Ideally, I'd like to write something analogous to dojo/text that can invoke
the React JSX Transform when loading a file. And then something like
dojo/text as a build plugin as well, that can invoke the React JSX
Transform. Does dojo provide functionality for custom plugins at all? 

Unfortunately the documentation says:
http://dojotoolkit.org/reference-guide/1.8/build/buildSystem.html
"This document describes using the build system for deployment
optimizations. See xxx for information about writing your own custom
transforms and configuring the build system for other uses."

So it sounds like this is supposed to be possible, but the documentation is
incomplete?

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Writing-custom-dojo-build-plugins-or-transformers-tp4003458.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

(Continue reading)

pohl | 29 Aug 06:07 2014
Picon

JSON JSONP Php MySql and... DOJO 1.10

Dear Experts

I've been reading around, through djtoolkit documentation
Yet, I must admit for about my "slow-learner" capability

I still can't grasp the concept...
if I am able to echo json data (from querying a table in MySQL, using php)

and I want to "transform" the json data into dojo (javascript) object

e.g

this is my json result:(from php file "fetchui.php?ui_code=UIT001" )
{"items":[{"ui_code":"UIT001","ui_category":"Top","ui_name":"ilmaestro","ui_value":"va
bene!","ui_creation":"2014-08-22 10:12:43","ui_active":"1"}]}

please do guide me... what should I do, so those data can be "transformed"
into object, 
so I can "play" it (putting those values into some widgets - accordionPane
perhaps :D

I mean, I've read about dojo/request...
and then man, Im stuck... I don't know what to do in advance after success
in request...

i wanna put those data into accordionPane programmatically like:

require(["dijit/layout/AccordionContainer", "dijit/layout/ContentPane",
"dojo/domReady!"],
        function(AccordionContainer, ContentPane){
(Continue reading)

Chris Owens | 28 Aug 17:39 2014

Toggle Dojox.dgauges indicator visible and invisible

have a circular gauge (subclass of dojox.dgauges.CircularGauge) that has
multiple scales, with an indicator (dojox.dgauges.CircularValueIndicator)
associated with each scale.

Under certain circumstances, I want the indicator not to show.

correctly causes the indicator to disappear. But, later, if I try to add the
indicator back, using

the indicator does not reappear. I can verify using the debugger that the
indicator has been added back to the scale, but somehow it is not getting
re-rendered.

Any suggestions as to how I should be going about what I'm trying to
accomplish? 

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Toggle-Dojox-dgauges-indicator-visible-and-invisible-tp4003453.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

bebooss | 28 Aug 12:39 2014

dojox/widget/Standby alternative for mobile?

im using dojox/widget/Standby in a dojox/mobile app, but it does not work
well on all devices. is there any alternative for the Standby Widget for a
dojox/mobile app?

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/dojox-widget-Standby-alternative-for-mobile-tp4003446.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Simon Speich | 28 Aug 08:49 2014
Picon

Re: Want to Place textbox in table header by providing css class name only not the div ID

dojo/query returns a NodeList, not a DomNode. You have to access each item in
the list individually, e.g.

var node = domQuery(...)[0];  // first node
or 
domQuery().forEach()  // loop through all nodes
or 
domQuery().place() // place each node directly, bout you need also to
require dojo/NodeList-dom

Have a look at
http://dojotoolkit.org/documentation/tutorials/1.10/using_query/ especially
the section about NodeList

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Want-to-Place-textbox-in-table-header-by-providing-css-class-name-only-not-the-div-ID-tp4003438p4003445.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

joellawler | 27 Aug 14:03 2014
Picon

JsonRest ObjectStoreModel Tree - Repeating Results

I'm trying to build a lazy loading tree. My results are not correct. The JSON seems to keep reloading the entire result for the children.

Here is the Results



Here is the Code



Here is the JSON



Thanks in advance for your help.

View this message in context: JsonRest ObjectStoreModel Tree - Repeating Results
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
medesi73 | 27 Aug 12:58 2014
Picon

How to build only for en_us locale

If we build dojo it is copying the files for all the locales in to the
release Directory, how to restrict in build/profile script to copy only
en_us locale files, so that foot print/size of releaseDir can be reduced.

Thanks,
Durga

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/How-to-build-only-for-en-us-locale-tp4003441.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Issy | 27 Aug 11:03 2014
Picon

How to use dojo/on/debounce?

Hi,
in Dojo 1.10 "dojo/debounce" was added
(http://dojotoolkit.org/reference-guide/1.10/releasenotes/1.10.html). I know
how to use this function.

Additionally, an event "dojo/on/debounce" has been added. How can I use this
event? I didn't found any example.

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/How-to-use-dojo-on-debounce-tp4003440.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Pradeep Kumar NP | 26 Aug 07:16 2014
Picon

Re: How to Syn row movement and scroll bar in dgrid

Even i am looking for movement of rows in Enhanced Grid on Click of up
button. It would be great, If you  specify how did you acheive the row
movement in your data grid  

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/How-to-Syn-row-movement-and-scroll-bar-in-dgrid-tp4001095p4003430.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

medesi73 | 25 Aug 18:34 2014
Picon

Custom build

I have created a build profile and build the dojo. It has created the dojo
folder in the releaseDir which is containing optimized layer file and all
the dojo , dijit and dojox files. Which is making my deploying directory
size as huge. I have size restriction on the web Server, so what are the
files that i can remove from the releaseDir, if i just keep the theme file
is enough to load the pages properly or i need to keep all the files. What
is the use of .js.map files can i remove them.

Thanks,
DP

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Custom-build-tp4003426.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Mustafa AlKubaisi | 25 Aug 17:40 2014
Picon

Browser window resize event

Hi everyone,
I am trying to register for browser window resize event, but it doesn't
seems to be working, I tried:
on(window, "resize", "someFunction");
I also tried window.onresize = someFunction;
neither of those worked.
Any help will be much appreciated.
Thanks very much!

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Browser-window-resize-event-tp4003422.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest


Gmane