Hi Martin,


MartinWittemann wrote:
> 
> Hello Christian,
> 
> what you are trying to achieve is kind of contradictory. With the list
> controller, you are telling the ListItems that their models are the
> objects in the ''model'' array. But with the form controller, you expect
> the model to be a string. So you got to decide what you want to take as
> model because the model selection only returns what is set as model.
> 

You are right, it is contradictory, but only because the current design
forces me to do that in this particular case. I respect your design choices,
I just want to make clear that many people, at least I think, will have the
same problem as me: you want to use a form that uses select boxes, you would
like to use the form controller instead of rolling your own, and you want to
combine this with a remote store as the source of the form data. This is
where you get a problem, because you cannot use the remote data as a source
for the form data. And it seems to me that it is not a "overburdening" of
the form controller nor of the list controller to support this scenario. But
that's only my opinion and suggestion - and I can always write my own
implementation.

Cheers,

Christian 
-- 
View this message in context: 
http://n2.nabble.com/How-to-use-data-binding-for-a-SelectBox-which-is-intended-for-single-selection-tp3656721p3683787.html
Sent from the Q&A (solved) mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to