HI Jesus, yo need call the super constructor at the begin of the init 
funcion.

this.base(arguments)



El 26/08/13 9:10, Jesús escribió:
> Thanks for responding so quickly and my apologies for not being clear.
>
> I need to create a class inherited from qx.ui.form.List but when I do this:
>
> qx.Class.define("timerecording.pruebas.lista",
> {
>    extend : qx.ui.form.List,
> construct : function()
> {
>   
>
>
> },
> members:
> {
>       init: function()
>       {
>               
>               Tad= [{ 'calle': 'Sin datos'}];
>               
>               modelo= qx.data.marshal.Json.createModel( Tad);
>               controlador = new qx.data.controller.List( modelo, this, 
> 'calle');
>       }
> },
> events:
> {
>       "completed": "qx.event.type.Event",
>       "leftClick": "qx.event.type.Event"
>       
> }
> });//Fin objeto
>
>
> I get this error.
>
> TypeError : container is null
>
>
> my question is, is it possible to create a new widget starting from
> qx.ui.form.List and give more features.?
>
> My idea is to create a widget that contains routines to query the database,
> you can distinguish between several tables for which data is displayed
> correctly and the time to create the forms code does not involve a lot of
> typing but is creating a nothing new variable of the form "var list = new
> list (tabla_x);"
>
> Best Regards
>
>
>
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/Qx-ui-Form-List-make-a-class-query-data-to-sqlite-server-tp7584459p7584475.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to