Hi ,

I haven't tested these, but I think the List should handle all widget 
that implements "qx.ui.form.IModel" and includes 
"qx.ui.form.MModelProperty".

For example:
qx.Class.define("custom.MyListItem",
{
  extend : qx.ui.core.Widget,
  implement : [qx.ui.form.IModel],
  include : [qx.ui.form.MModelProperty],

 /* code */
});

I hope this solve you problem.

Cheers,
Chris

Jean-Noël Rivasseau schrieb:
> Hi
>
> Quite often in our application it is the case that we want to use a 
> List, but the ListItem widget is an Atom and thus is very limited. It 
> would be very nice if we could add a ListItem that we could feed an 
> arbitrary widget (for instance, in many cases we would like to have a 
> text, some buttons, and an image all on one ListItem).
>
> What we currently do is that we subclass ListItem everytime but this 
> is not nice.
>
> Any tips on how we could achieve what we need? We could not use a List 
> and use a Grid layout I guess, but in this case we lose all the 
> features List offers (namely, selection of items).
>
> Thanks
>
> -- 
> Jean-Noël Rivasseau
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ------------------------------------------------------------------------
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>   


-- 
Christian Schmidt
Software Entwickler

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
[email protected]

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to