Hi,
On 03/09/2011 02:54 PM, Stanislav Sinyagin wrote:
> hi,
>
> I want to place a button which looks like normal qooxdoo button, but executes
> an
> external URL on click.
>
> Can't find any standard way to do this.
>
just use window.location.href:
button.addListener("execute", function(e) {
window.location.href = "http://google.com";
});
> also a Poor man's approach: an icon inside qx.ui.embed.Html -- how do I do
> that
> with standard qooxdoo icons?
>
You just need to get the URI for the icon's resource ID:
var imgUri =
qx.util.ResourceManager.getInstance().toUri("qx/icon/Tango/22/status/dialog-information.png");
var embed = new qx.ui.embed.Html('<img src="' + imgUri + '"/>');
>
> The final goal is to fetch a binary file from the server and make the browser
> Save or Open it. The file would be an Excel file generated by
>
> http://search.cpan.org/~jmcnamara/Spreadsheet-WriteExcel-2.37/
>
>
>
> thanks,
> stan
Regards,
Daniel
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel