Hi,
I'm trying to bind a store to a form controller. So all I need to do to load
a record into a form is to set the right URL into the store and wait it to
load.
It works great. The problem is when I try to load some data that there is
no correspondent in the controller. For example,
let's say that the store is loading:
{id: "1", name: "john", lastName: "doe"}
and I'm binding with:
store.bind("model", formController, "model");
For form with fields: "id", "name" and "lastName". It works.
For form with just "id" and "name" fields, it doesn't work because it
doesn't find "lastName" property in the formController to bind.
What do I need to hack to make that bind a little bit clever and bind just
when there is a target to bind.
Remove properties from the store model is not an option because I'm reusing
it in another form (1 store for 2+ different controllers).
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel