Hi,

On Friday March 19 2010 09:24:47 [email protected] wrote:
> i find an example like this
> 
>       // connect the select box
>       controller.addTarget(
>         genderSelectBox, "selection", "gender", true //, 
> genderModel2Selection, genderSelection2Model
>       );
> 
> 
> but when i use it in my form  :
> 
> controller.addTarget(
>     this.widgets["PRODUKTID"], "selection", "PRODUKTID", true //, 
> genderModel2Selection, genderSelection2Model
>     );
This assumes that your widget does have a property "PRODUKTID" which can 
operate on the selection of the widget connected to the controller.

> i get this
> 
> &PRODUKTID=qx.ui.form.ListItem%5B3rb%5D&
> 
> on the other hand i  need a userdata value. How can i get this?
This is your result of a serialization. You have to make sure that the values 
you want to serialize are part of the model. It looks like you that you try to 
serialize a whole qooxdoo widget.

cheers,
  Alex

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to