#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)
Change History (7)
comment:1 Changed 9 years ago by
Priority: | undecided → high |
---|
comment:2 Changed 9 years ago by
Cc: | ben hockey added |
---|
Changed 9 years ago by
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:5 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 Changed 9 years ago by
Milestone: | tbd → 1.8 |
---|
Note: See
TracTickets for help on using
tickets.
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