Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#14714 closed enhancement (fixed)

Add MVC support to be able to bind to DOM node properties in addition to dijits.

Reported by: Ed Chatelain Owned by: Ed Chatelain
Priority: high Milestone: 1.8
Component: DojoX MVC Version: 1.7.1
Keywords: Cc: ben hockey
Blocked By: Blocking:

Description

Add MVC support to be able to bind to DOM node properties in addition to dijits. This was discussed in this thread among others: http://thread.gmane.org/gmane.comp.web.dojo.devel/14256

Attachments (1)

mvc-14714.patch (196.5 KB) - added by Ed Chatelain 7 years ago.
Update to the previous patch, to tweak the date tests for IE, this patch adds support to use data-mvc-bindings for DOM nodes, and updates to the doh tests to use a global at function created by the test application. The other tests will be updated in another patch

Download all attachments as: .zip

Change History (7)

comment:1 Changed 8 years ago by Ed Chatelain

Priority: undecidedhigh

comment:2 Changed 8 years ago by ben hockey

Cc: ben hockey added

comment:3 Changed 7 years ago by Ed Chatelain

A section has been added to the MVC (dojox.mvc) 1.8 specification about "DOM node binding (Ability to hookup DOM elements)". The proposal is to use data-dojo-bind attribute instead of data-dojo-props attribute to define data-bound properties, and there is a discussion there as to whether or not we should use that for binding the widget properties as well.

This is the link to that section in the specification: https://docs.google.com/document/d/1ejZlUwySI0q3n3scInw30drHa7no7Zm-WSZqtYx5scE/edit#heading=h.s4d8nc3ag8xo

Implemented, can be seen in: https://github.com/asudoh/dojox_mvc/tree/nodebind

Last edited 7 years ago by Ed Chatelain (previous) (diff)

Changed 7 years ago by Ed Chatelain

Attachment: mvc-14714.patch added

Update to the previous patch, to tweak the date tests for IE, this patch adds support to use data-mvc-bindings for DOM nodes, and updates to the doh tests to use a global at function created by the test application. The other tests will be updated in another patch

comment:4 Changed 7 years ago by cjolif

In [28300]:

refs #14714. Binding to none Widget (DOM Node) + avoid using dojo global in tests. Thanks edchat & Akira Sudoh (IBM, CCLA). !strict.

comment:5 Changed 7 years ago by Ed Chatelain

Resolution: fixed
Status: newclosed

comment:6 Changed 7 years ago by Ed Chatelain

Milestone: tbd1.8
Note: See TracTickets for help on using tickets.