Ok, got it. Thanks.


On Fri, Apr 25, 2014 at 10:36 AM, Travis Webb <notifications@github.com>wrote:

> In enyo-client/application/source/views/list.js:
>
> >                placeholder: "_noAssignedTo".loc()}
> >            ]}
> >          ]}
> >        ]}
> >      ],
> > +    selectedModels: function () {
> > +      var that = this,
> > +        collection = this.getValue(),
> > +        models = [],
> > +        selected;
> > +      if (collection.length) {
> > +        selected = _.keys(this.getSelection().selected);
> > +        // Using the selected index keys, go grab the models and return them in an array
> > +        models.push(_.map(selected, function (index) {
> > +          return that.getModel(index);
> > +        }));
> > +      }
> > +      return models[0];
> > +    },
> > +    reassignUser: function () {
>
> Yea; but the model layer can notify the view, by nature of the view
> binding to an event on the model, which can then create the custom-packaged
> popup. The view should only be manipulating enyo components and showing
> data. It should not make any decisions.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/xtuple/xtuple/pull/1426/files#r12004385>
> .
>



-- 
Julian Carlin

(US) 612-234-4124