Marc,
I found why _clean value is changed as I want it to be.
I am doing the following:
1. I have a input type "execElem" in my index.html file of the qooxdoo
application:
<input type="file" id="execElem" style="display:none">
2. I get this element to the qooxdoo application as follows:
var execElem = document.getElementById("execElem");
3. I have a button, which I assign the click event to of this execElem when
it is pressed:
editor.getexecButton().addListener("execute", function(e) {
if (execElem) {
execElem.click();
}
});
This button is on the panel which is in class Editor, another class declared
in my application.
4. I assign to the change event of the execElem the following function in
the following way:
execElem.addEventListener("change", handleExecFile, false);
function handleExecFile() {
//here I want to change value of this._clean
this._clean = true;
}
In this way the value of this._clean is not true when I close the
application.
I feel that THIS is not the parent object I need, and in some way _clean is
not changed in the root or something like that. But please let me know what
I need to pass or what needs to be done in order to successfully get the
TRUE value of this._clean when I close the application.
Thank you!
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Qooxdoo-Close-Event-tp7582052p7582070.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel