Alex,
The HtmlArea stays editable. I believe that the problem is that the iframe
is not being reloaded. I have come across this in the past with browsers
other than ie and my solution has been to set the iframe source to null
before setting it to the real url. See this code that I have in my app.
this.fileFrame is just a regular ole qooxdoo iframe, but I have to set it to
null before calling the routine a second time, or the iframe will not load
if the source has not changed. It seems to me that this is what is
happening to the HtmlArea.
tom
// declaration of iframe
this.fileFrame = new qx.ui.embed.Iframe().set({height:1,
decorator:null});
// part of routine that opens iframe
...
var filename = qx.lang.String.trim(
this.exportFilename.getValue() );
// note this line in particlar
this.fileFrame.setSource(null);
var data ={ 'session-key' : this.getApp().getSessionKey(),
'store-number' : this.getStoreNumber(),
'store-type' : this.getStoreType(),
'filename' : filename,
'item-array' : itemArray,
'action' : this.getAction()
};
var req = new grfind.HttpRequest("exportItems", "POST",
"application/json", 6000, data);
if ( req ) {
req.addListener("completed", function(e) {
response = e.getData();
// and this line
this.fileFrame.setSource(
response['path-to-csv-file'] );
}, this);
this.reqBox.start( req, "exportItems", "Exporting
selected ... " )
};
Alexander Steitz wrote:
>
> Hi Tom,
>
> On Saturday 10 October 2009 tsmiller wrote:
>> I have been looking into this problem and it seems that it results from
>> moving the HtmlArea from one container to another. When this is done the
>> HtmlArea is still editable, but it sort of just goes away. I put
>> together
>> a page that shows this in action. Please see http://nabble.grfind.com
>> to
>> look at the problem. I really need to find out what is happening here.
>> I
>> think that it has something to do with the HTMLBodyElement of the iframe
>> getting lost.
> Many thanks for this sample app to reproduce the issue. I've added a bug
> report for this
>
> http://bugzilla.qooxdoo.org/show_bug.cgi?id=2921
>
> to track down it down. Feel free to add yourself at the CC list to stay
> informed about the progress.
>
> cheers,
> Alex
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
View this message in context:
http://www.nabble.com/Cannot-make-HtmlArea-editable-8.3-tp25803295p25860849.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel