Hi experts,

Still experimenting the mobile API, and now, I face a strange problem. To 
sum-up, I have 2 pages, 1 with a list of items and the second one that allows 
to edit the 1st page selected item. Edition changes the item property that is 
used for list rendering on the first page. The problem is that, whatever I try, 
I cannot manage to get the list items updated accordingly to the 2nd page 
edition.

Everything is MVC oriented through qooxdoo databinding. Since there is no 
mobile List controller, I had to use an object controller on the model item so 
that I can bind the renderer property to the model item property. This is 
called in configureItem of the List widget constructor and here is basically 
what it looks like :

    bindListItem: function (item, state) {
      var modelController = new qx.data.controller.Object(state);
      modelController.addTarget(item, "title", "value");
      modelController.addTarget(item, "subtitle", "description");
      modelController.addTarget(item, "image", "iconImageUrl");
    }

When debugging, I can see the setTitle() method of the Default list renderer 
being called as expected. However, when I come back to the list page, Nothing 
has changed and the old value is still there. It may be linked to the fact that 
the list is not visible when the setTitle() method is called but I really have 
no clue.

Am I missing something ?

Thanks in advance for any hint.

Regards,
Vincent
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to