Hello,

cloning the items is really not the way it should work. There should be a way 
that both lists share the same model but not the same selection because this is 
not model related. If you use a controller for each list, you should just take 
care of not setting the same selection array in both controllers.

Take a look at the following example to see how it works:
http://tinyurl.com/378m26u

Best,
Martin

Am 12.09.2010 um 23:15 schrieb Greg Beaver:

> Hi,
> 
> I think I may have found a weird bug in form handling.  I was trying to
> set up 2 lists using the same (identical) model in order to allow users
> to choose from a list of packages to search in and a list of packages
> not to search in.  However, when I click on one list, the identical
> selection is set up in the other list!  Could this be a binding issue
> where the object controller inside the form controller is not binding
> selection to the list controller of the field, but instead directly to
> the model, thus confusing the two?  The only way around this is to
> iterate over the model and clone() each item, which is acceptable but
> seems unnecessary.
> 
> Thanks,
> Greg
> 
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to