How can I create variable with my custom name as local variable(with 
scope in window.application.main)? Is it possible?
Christian Boulanger wrote:
> Siarhei Barysiuk schrieb:
>   
>> In you article 
>> (http://qooxdoo.org/documentation/developer/phpqxbuilder_and_data_manager_extensions)
>>  
>> you wrote:
>> "For example, <qx:atom/> is translated into var qx_1 = new QxAtom(). If 
>> you want to have a global reference to your newly created object, you 
>> need to specify an id, such as <qx:atom id=”foo”/>"
>> Is it global reference in xml only? I want to know whether we can use 
>> this name in xml or it will be global variable in js output file (will 
>> be outside of window.application.main).
>>   
>>     
> It's a global variable in the javascript created, so you can reference 
> it from anywhere. You can use it to name the widgets and reference them 
> in <qx:script> sections or in standalone js files.
>
> <qx:window id="mainWindow"..../>
> <qx:script>
>     mainWindow.open();
> </qx:script>
>
> Cheers, Christian
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to