Hello Jeal-Noel,

why dont you let the user manipulate the data array directly? Instead of removing and adding the list items you should let the controller do that and just edit the data array. That way, you dont have the problem of getting the user changes back to the data. :) The main idea of the controller is just to work with the controller and the data. In most of the cases, the interaction with the list is done by the controller. That could solve your problem and could make the coding much more comfortable for you.

Best,
Martin


Am 13.05.2009 um 19:20 schrieb Jean-Noël Rivasseau:

Hi,

in my case the list contains ListItems, they ar not editable but the user has controls in the interface to remove or add such predefined ListItems. I would like the array from the model to be automatically updated to correspond to what the user has added or removed in the list.

If it is not yet available, how would you suggest that I currently code that? I guess I would setup a Listener on the addItem and removeItem from the List widget, and would have to manually synchornize with the array model.

Would be better if it was available out of the box in Qx :)

JN

On Wed, May 13, 2009 at 2:22 PM, Martin Wittemann <[email protected] > wrote:
Hello,

the list contains in the default setting only list items and the user
can't change anything in the list item. So a binding back from the
listitem to the model would not make much sense. But if you use some
kind of editable widgets in the list, that is an important feature as
you said. But i have to say that its missing currently. We have it on
our list and will introduce it by time.

What kind of widgets do you plan to use in the list? Perhaps we could
find a workaround as long as the feature isn't in the framework.

Regards,
Martin


Am 13.05.2009 um 12:41 schrieb Jean-Noël Rivasseau:

> Hello,
>
> I am trying to make a binding from a List to a List widget, however
> I see no options in the controller to make the binding
> bidirectional. Currently every change in the model is reflected in
> the widget, but I would like every change made in the widget to be
> also propagated in the model.
>
> Is this possible? How? If it's not possible, this would clearly be a
> very important feature request (at least for me ;)
>
> Jean-Noel
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances!
> Your
> production scanning environment may not be a perfect world - but
> thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW
> KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. 
http://p.sf.net/sfu/kodak-com_______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



--
Jean-Noël Rivasseau
Shoopz - Lead Developer / Responsable Développement
http://www.shoopz.com/
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. 
http://p.sf.net/sfu/kodak-com_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to