Opened 7 years ago

Closed 4 years ago

#17013 closed enhancement (patchwelcome)

add API to manipulate model in ListController

Reported by: Martin Minka Owned by: Ed Chatelain
Priority: undecided Milestone: 1.11
Component: DojoX MVC Version:
Keywords: Cc:
Blocked By: Blocking:

Description

there are now methods to communicate with Store, but programmer has to use/know how to add, remove, update item directly in model.

Example of such code is in http://archive.dojotoolkit.org/nightly/checkout/dojox/mvc/tests/controllers/step8_test_mvc.html.

// add item
ctrl.model.splice(ctrl.model.length, 0, getStateful(data));

I believe they are mostly not one-liners.

Possible methods could be (this names are more description then real API names):

  • addNew()
  • getByStoreId()
  • putByStoreId()
  • removeByStoreId()
  • etc.

Change History (1)

comment:1 Changed 4 years ago by dylan

Milestone: tbd1.11
Resolution: patchwelcome
Status: newclosed

dojox/mvc is not actively maintained. If someone wants to work on pull requests for the issues, we'll consider them.

Note: See TracTickets for help on using tickets.