But you can have the widget created before and set the model afterwards.
Just pass null to the controller and set the model later. The bindItem
function will only be called when you have a model attached.

On Thu, Nov 18, 2010 at 8:05 PM, benco <[email protected]> wrote:

>
> Hi Krycek,
>
> Thanks for your reply.
>
> However I'm not sure if it will work as I already tried something
> similar...
> In this case, my problem was the model is created after the widget appears
> (for some "conditional" reasons about the allowed values and so by
> extension, model's changes) and I always had to deal with null values, what
> was not helping in my case.
>
> But maybe I was wrong with my code...
>
> Best,
>
> BenoƮt.
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/How-to-declare-conditionnal-bindProperty-tp5753053p5753487.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to