Hi Eric,
I'm certainly no expert in initiating downloads, but so far I've tried two
different approaches:
The first one uses plain JavaScript. Here is an example embedded into a member
function of a qooxdoo class:
_onDownload: function() {
window.open("http://www.mysite.org/myfile.pdf");
}
The second approach is a bit more "complex". It makes use of a qooxdoo Iframe
object which is placed outside the visible application window:
this.__frame = new qx.ui.embed.Iframe("");
doc.add(this.__frame, {left: -300, top: -300});
[...]
_onDownload: function() {
this.__frame.setSource("http://www.mysite.org/myfile.pdf");
}
HTH,
Norbert
----- Original Message -----
From: [email protected]
To: [email protected]
Date: 28.11.2012 13:35:08
Subject: Re: [qooxdoo-devel] anchor (link) insite a tablecell
> Hi Norbert,
>
> that is actually a pretty good solution.
> Thanks!
> I really need to switch my mind from regular website coding to ria style
> coding. ;)
>
> Is there also a simple solution to initiate a download without changing
> location.href or the use of an iframe?
>
>
> Cheers,
> Eric
>
>
> Am 28.11.12 11:15, schrieb Norbert Schroeder:
>> Hi Eric,
>>
>> what do you think of this: http://tinyurl.com/c5ug4us ?
>>
>> Cheers,
>>
>> Norbert
>>
>> ----- Original Message -----
>> From: [email protected]
>> To: [email protected]
>> Date: 27.11.2012 17:47:54
>> Subject: [qooxdoo-devel] anchor (link) insite a tablecell
>>
>>
>>> Hello,
>>>
>>> i wonder if someone here can help me with a little problem.
>>>
>>> My idea is to have a qx.ui.table.Table that contains in one of its
>>> columns a link to a file.
>>> So far i managed to get the link into the cell but the click event seems
>>> not to reach it.
>>> Any ideas? I have got some code ready to play with.
>>>
>>> Qooxdoo Playground: http://tinyurl.com/d827nx8
>>>
>>>
>>>
>>> Best regards,
>>> Eric
>>>
>>>
>>> --
>>> Eric-Christian Koch
>>>
>>> sum.cumo AG
>>> Bahnhofstrasse 27
>>> CH-6301 Zug
>>>
>>> Telefon +41 44 48545-13
>>> E-Mail [email protected]
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>
>> ------------------------------------------------------------------------------
>> Keep yourself connected to Go Parallel:
>> INSIGHTS What's next for parallel hardware, programming and related areas?
>> Interviews and blogs by thought leaders keep you ahead of the curve.
>> http://goparallel.sourceforge.net
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
> --
> Eric-Christian Koch
>
> sum.cumo AG
> Bahnhofstrasse 27
> CH-6301 Zug
>
> Telefon +41 44 48545-13
> E-Mail [email protected]
>
>
> ------------------------------------------------------------------------------
> Keep yourself connected to Go Parallel:
> INSIGHTS What's next for parallel hardware, programming and related areas?
> Interviews and blogs by thought leaders keep you ahead of the curve.
> http://goparallel.sourceforge.net_______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel