Well,
The request to the server now returns a server URL as a string, something
like "foo/temp/2479.pdf", which is grabbed by my callback routine, and fed
to Acrobat on the client side.

Simplified a bit, but was planning to basically let the server grab the PDF
as text buffer and return it in place of of the URL; the code that just
handed it (URL) to Acrobat could instead write the PDF to a client-side temp
file and pass the URL of the temp file to Acrobat, if Acrobat can't accept
anything except a URL. Conceptually it seems like it could work, as I've
successfully sent some rather arbitrary text as a server response.

I would expect other data that could be encoded as text could be handled in
a similar fashion if this works.
Ken

On Mon, Oct 5, 2009 at 1:31 PM, Gene Amtower <[email protected]> wrote:

>  Ken,
>
> Sending the pdf content to Qooxdoo and trying to work with it there is
> similar to a post here last week about doing this with an image file.  The
> problem, as stated by list members on that issue, is that Qooxdoo is not
> going to know how to handle pdf content that it receives, so you might be in
> for quite an effort to find a way to process a pdf stream sent through
> Qooxdoo.  I think it can only manage text, html, json, etc.  Since pdf
> content needs to be rendered by the client's Acrobat Reader instance, I'm
> not sure if you can open the client's Acrobat Reader and feed it the pdf
> stream from within Javascript. clinet
>
> If you figure it out, it will likely be helpful to other list members with
> similar needs, so be sure and let us know how you're doing with the problem.
>
>    Gene
>
>
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to