Hi Stefan,
I thought of doing something like that but that would require
duplicating some logic on the backend (in C++) which is already on the
browser side (in javascript) to generate the report. I am most likely
going to be going that route in the future but I was hoping to avoid
doing this initially as it would require more time than I really have to
work on this app.
Thanks
Eric
On 12/3/2008 11:24 AM, Stefan Volbers wrote:
> Hi Eric,
>
> not quite the same thing but somewhat comparable:
> having to produce a printable report out of my qooxdoo app, I have an
> event listener on a clickable button which opens an external native
> browser window with the location of a (PHP-) script like
>
> var reportbutton = new qx.ui.form.Button("Create report");
> reportbutton.addListener("execute", function() {
> var url = "http://" + location.host + reportpath +
> "report.php?target=" + target;
> window.open(url, "_blank");
> }, this);
>
> This in turn (mis-)uses my RPC classes to retrieve the database
> information needed in the report and thus creates a PDF from the
results.
>
> So I'm creating the external page not with qooxdoo, but with PHP, and
> the result is not HTML, but PDF. Nonetheless I get printable results
in
> an external page.
> I am sure anything similar could be achieved with any server scripting
> language like Perl or Java or Ruby or whatever.
>
> If you definitely need to create the page with qooxdoo means, I'm
afraid
> I can't help you there - I am not so sure about the printability of
> qooxdoo-apps anyway... can anyone comment on that?
>
> Bye,
> Stefan
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel