Bytecounter | 1 Sep 08:53 2015
Picon
Picon

itemClick not fired on dojox calendar

Hi,

I am using dojo 1.10 and the MonthColumnView on dojox/calendar/Calendar. To avoid disaccords in case of
"event" is ambiguous in this case I will name the events of a date "date events" and events of mouse/touch
"mouse events".

The date events where shown in the calendar, but if I click on an date event, it still fires gridClick and not
eventClick. Inspecting the DOM the date event (verticalRenderer) is in foreground. But it seems, that it
doesn't recognize the event. I build my calendar declarative:

<div data-dojo-id="calendarStore"
data-dojo-type="dojo/store/JsonRest"	data-dojo-props="target: 'dates/index/jsonstore'">

<div data-dojo-type="dojox/calendar/MonthColumnView" style="" class="calendar"
data-dojo-props="store: calendarStore">
   	<script type="dojo/on" data-dojo-event="gridClick" data-dojo-args="date">
    	console.log('gridClick', date);
	</script>

   	<script type="dojo/on" data-dojo-event="itemClick" data-dojo-args="item">
	console.log("Item clicked", item)
	</script>
</div>

What is my mistake?

regards
Bytecounter
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
(Continue reading)

vtsuper | 31 Aug 13:01 2015
Picon

dojo/request/notify

I would like to do a checking on every ajax request. so I use
dojo/request/notify to handle this case
actually most of the time it works, 

but some time it prompts a error , I believe it is related to the dijit
template request by ajax method.
so would someone give me some hits about it??

<http://dojo-toolkit.33424.n3.nabble.com/file/n4006381/screen1.jpg> 
<http://dojo-toolkit.33424.n3.nabble.com/file/n4006381/screen2.jpg> 

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/dojo-request-notify-tp4006381.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

Bytecounter | 31 Aug 12:37 2015
Picon
Picon

dojox calendar monthColumnView events

Hi,

I am using dojo 1.10 and a monthly calendar (dojox/calendar/MonthColumnView). How I could add events declarative?

My Code:

<div data-dojo-type="dojox/calendar/MonthColumnView"
     data-dojo-props="startDate: new Date(2015, 0, 1), endDate: new Date(2015, 11, 31)"
     style="position:relative;width:500px;height:500px" class="calendar">

<script type="dojo/connect" data-dojo-event="gridClick" data-dojo-args="date">
    console.log('gridClick', date);
</script>

</div>

Also I tried other events like "itemClick", "rowHeaderClick" or "cellClick" but no events triggered by
clicking on the calendar. Also rowHeaderClick didn't work if I click on a header cell. What is my mistake?

regards
bytecounter
--

-- 
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

Adnan Sagar | 31 Aug 12:20 2015
Picon

New Dojo theme, .. Semantic Dojo.

Hi All

This is my first message to Dojo-interest group, so I hope everyone is doing great,

Just wanted to share with you a new theme for Dojo that I've been building for the last few weeks, called Semantic Dojo.


It's built on Semantic UI framework so all the implemented Dijit widgets inherit styles from their Semantic UI counterparts if any. 

Semantic Dojo uses a powerful build system based on LESS that makes building themes for Dijit widgets easy. It's based on Semantic UI LESS build process, that's why Stylus was not used.

Check the theme out here, and get in touch if you have any questions.

Many thanks,

Adnan Sagar, PhD
--

-- 
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
theinnkeeper | 29 Aug 18:23 2015

Memory Store and RoundRectStoreList

When using the Store list with the memory store, it seems that if i delete
something in the store, it does not automatically reflect the store change.
If i fire a refresh() on the list widget then it does.

The question is, should i have to fire a refresh command on the widget after
data update on the store, or am i missing something in my setup..

Fiddle::http://jsfiddle.net/theinnkeeper/Lrza3nqs/1/

Thanks
Rick

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Memory-Store-and-RoundRectStoreList-tp4006372.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

Harry Devine | 27 Aug 19:19 2015
Picon
Picon

Lost the mobile look and feel

I am developing a mobile interface for my application, and for some reason, the presentation doesn't look like it used to.  Everything is in one page now and there is no mobile look and feel to it.  I have put my code in jsfiddle to illustrate the problem here:  http://jsfiddle.net/sz058a5j/.

Can someone see what could be going on?

Thanks!
Harry
--

-- 
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
gaurav21r | 27 Aug 10:33 2015
Picon

Namespaced require & define like RequireJS

I'm currently working on a build for dGrid. The problem is, I might use that
in an environment with multiple AMD loaders. RequireJS provides this nifty
option: http://requirejs.org/docs/faq-advanced.html#rename

So I can use namespace.require() and namespace.define()

I was wondering how can i achieve this is in Dojo Builds and Non Builds?

I am desperate for a solution and not averse to even doing things in the
buildTransforms, I think something here may have some answers:
http://dojotoolkit.org/reference-guide/1.10/build/transforms/writeAmd.html
But seems a bit too complex :(

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Namespaced-require-define-like-RequireJS-tp4006361.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

Egil Möller | 22 Aug 20:50 2015
Picon

require.on("error", fn)

Hi! I'm currently playing around with Dojo under NodeJS - my goal is to use the same class structure on the client and server for some functionality. While doing so I was trying to handle load errors for modules. Under RequireJS this is easy - you just have to do require([modulenamess...], function (modules...) {}, function (e) { errorHandling; }). According to http://dojotoolkit.org/reference-guide/1.7/loader/amd.html#error-reporting this can be accomplished using require.on("error", fn) under the Dojo Loader. However, using the version of Dojo available in npm (1.10.4) under NodeJS this error never fires. After some debugging I found out that the culprit is injectUrl in _base/configNode.js, which catches any load error and just does a console.log. I find it strange that error reporting is part of the platform config, and not in the generic code. Nevertheless, is there a good way to solve this, preferably one that works in both the server and client environments, or is the only way for me to manually overload require.injectUrl, which I would have to do differently on the client and server, copying and modifying the relevant loader code? Maybe this is solved in a newer version, and I should just not install via npm? In that case, what is the schedule for a new release to npm? Thanks in advance, Egil
--

-- 
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
Shahzad Bhatti | 20 Aug 10:18 2015
Picon

Dgrid editor Issue

Hi, 
can anyone please take a look at this issue

it basically described if we have two editor columns for example a check box and a textbox. If we are editing textbox and focus is on it, meanwhile without clicking anywhere if we try to click check box , it will seems like it got clicked, but it will revert back after a moment. basically it's value isn't getting propagated to store.

Is there any quick way around to solve this problem.

Thank you
Shahzad


--

-- 
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
Harry Devine | 19 Aug 17:15 2015
Picon
Picon

2 strange issues with dojox/mobile

I'm trying to design a mobile interface to an area of my site using dojox/mobile, and I have 2 strange issues that I can't seem to get to the bottom of:

1) I'm using dojox/mobile/TextBox for some controls.  I'm setting the value in the data-dojo-props property, but the value isn't displayed, and neither is the placeHolder:  <td><input id="scoreAway1" data-dojo-type="dojox/mobile/TextBox" data-dojo-id="scoreAway1" data-dojo-props="type:'text',name:'scoreAway1',value:16,placeHolder='test'"></td>

2) I am developing the mobile code on a test machine, and it works fine. If I move the file over to my main server and run it on a mobile device, like an iPad, the page renders, but I can't click on anything or move around. I'm wondering if there is an error that I can't see, but I can't figure out how to debug it because I don't have access to Firebug or another debugger on the iPad that I know of.

Any ideas?
Harry
--

-- 
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
Koren, Bradley | 18 Aug 13:04 2015

Copy/Paste in Validation Textbox

Hello,

 

I am using validation textbox dijits in our custom applications. Is there a way to have a pop up box appear when the user does a mouse right click inside the box?  Such that the pop up box will contain and item for the copy, cut, and paste functions.

 

Thanks.



This County of Chester e-mail message, including any attachments, is intended for the sole use of the individual(s) and entity(ies) to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone this e-mail message including any attachments, or any information contained in this e-mail message including any attachments. If you have received this e-mail message in error, please immediately notify the sender by reply e-mail and delete the message. Thank you very much.
--

-- 
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