Tom, in this case you can use .replace which accepts a deferred. it would be:
- pages: {
- Value: Page.List,
- get: function(value) {
- value.replace(Page.findAll({}));
- return value
- }
- }
Notice that the Value key is capitalized. This means every time the Map is created pages will be initialized with new Page.List()