This indeed seems to be a bug in the current version of the ExtJS binding.

We have an enhanced binding for the latest version of ExtJS (4.2.0) that we are currently testing. I am using it for CloudSharper and your code works fine with it. We will release it with the upcoming WebSharper 2.5; if you want, I can send you a private copy in the meantime to test.

In an unrelated note, there is a facility to create anonymous JavaScript objects:

1
2
3
4
5
let config =
    New [
        "text" => "Click Me"
        "renderTo" => Ext.getBody()
    ]
By on 5/16/2013 3:24 AM ()

Thanks Loïc, I'll wait for the WS 2.5 release.

By on 5/16/2013 3:35 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper