Re: Render Page to file, etc

2009-09-17 Thread Nathan Beemer
at 3:46 AM, Nathan Beemer > wrote: your suggestion to use servlet Filter was just what I needed... page pdf render now working many thanks! On Aug 24, 2009, at 2:26 PM, Andreas Andreou wrote: The process should be: 1) render the page to a String, perhaps http://www.behindthesite.com/blo

Re: Render Page to file, etc

2009-09-17 Thread Nathan Beemer
19 PM, Andreas Andreou wrote: The process should be: 1 On Fri, Aug 14, 2009 at 10:48 PM, Nathan Beemer wrote: I have a need to make my Tapestry 4.1 Pages available in pdf format but having no luck to-date on my own. My apologies if soliciting this list is inappropriate here, but I do h

T4.1 dynamically changing PageLink, DirectLink servlet root

2009-09-02 Thread Nathan Beemer
I want to be able to occassionaly change my PageLink and/or DirectLink URL's to reference a different servlet root so I can run them through a specific Servlet Filter as needed so if my tapestry app is configured at /foo/app, i'll sometimes want a Page to load from /foo/bar as well, any other urls

Re: Multiple images

2009-09-01 Thread Nathan Beemer
In a nutshell, the way I did it was to implement IAsset for each dynamic chart which then gets fetched by component id in the IEngineService and asked to render itself to the given WebResponse. Or put another way... I have 2 dynamic chart images In my Foo.html page definition: image="ognl:c

Re: Render Page to file, etc

2009-08-26 Thread Nathan Beemer
> that swaps the > response stream with its own, forwards to the Tapestry servlet and > when that returns > does the post-processing (of converting the contents of its internal > stream from html to > pdf) > > > On Mon, Aug 24, 2009 at 10:19 PM, Andreas Andreou > wrote:

Re: IEngineService blocks all other Page access

2009-08-17 Thread Nathan Beemer
at 8:12 PM, Andreas Andreou wrote: > see if you have > org.apache.tapestry.disable-caching set to true > > It is possible that this might be causing that > > On Mon, Aug 17, 2009 at 2:54 AM, Nathan Beemer > wrote: > > > > I have an IEngineService implementation tha

Re: IEngineService blocks all other Page access

2009-08-16 Thread Nathan Beemer
it was indeed set to true. and it was indeed causing the blocking many thanks! On Aug 16, 2009, at 8:12 PM, Andreas Andreou wrote: see if you have org.apache.tapestry.disable-caching set to true It is possible that this might be causing that On Mon, Aug 17, 2009 at 2:54 AM, Nathan Beemer

IEngineService blocks all other Page access

2009-08-16 Thread Nathan Beemer
I have an IEngineService implementation that simply has Thread.sleep(3); in the service() implementation. I have a simple Page with a ServiceLink that calls this IEngineService. When I click the ServiceLink which causes Thread.sleep() to be invoked, ALL other Page access blocks until t

Render Page to file, etc

2009-08-14 Thread Nathan Beemer
I have a need to make my Tapestry 4.1 Pages available in pdf format but having no luck to-date on my own. My apologies if soliciting this list is inappropriate here, but I do have a consulting budget available to get this done if anyone is interested.

Re: T4.1: rendering a page to alternate OutputStream

2009-07-29 Thread Nathan Beemer
asd.com On Jul 27, 2009, at 4:27 PM, Nathan Beemer wrote: Unfortunately, I need to render a Page and capture that output to feed into my PDF lib. And its the rendering to someplace-other-than-the-web browser that is fighting me. Thanks for your help though! On Jul 27, 2009, at 3:02 PM,

Re: T4.1: rendering a page to alternate OutputStream

2009-07-27 Thread Nathan Beemer
cycle.renderPage(rb); writer.flush(); byte [] html = bos.toByteArray(); Norman Franke Answering Service for Directors, Inc. www.myasd.com On Jul 27, 2009, at 4:27 PM, Nathan Beemer wrote: Unfortunately, I need to render a Page and capture that output to

Re: T4.1: rendering a page to alternate OutputStream

2009-07-27 Thread Nathan Beemer
nse"/> value="infrastructure:linkFactory"/> id="tapestry.globals.HttpServletRequest"/> id="tapestry.services.ApplicationServices"> Norman Franke Answering Service for Directors, Inc. www.myasd.com On Jul 27, 2009, at 3:45 PM, Nath

Re: T4.1: rendering a page to alternate OutputStream

2009-07-27 Thread Nathan Beemer
hat to send the data. I don't know what PD4ML expects, but I'd hope it can take an OutputStream. Norman Franke Answering Service for Directors, Inc. www.myasd.com On Jul 27, 2009, at 1:49 PM, Nathan Beemer wrote: I need to have a "Download as PDF" link on some of my pa

Re: T4.1: rendering a page to alternate OutputStream

2009-07-27 Thread Nathan Beemer
ices? What do you need it for? Norman Franke Answering Service for Directors, Inc. www.myasd.com On Jul 25, 2009, at 11:05 AM, Nathan Beemer wrote: I want to direct the render of a Page to a specific OutputStream. Is it possible to do this? I'm trying to use an IEngineService to accomp

T4.1: rendering a page to alternate OutputStream

2009-07-25 Thread Nathan Beemer
I want to direct the render of a Page to a specific OutputStream. Is it possible to do this? I'm trying to use an IEngineService to accomplish this. Seems I'm close, but getting: "Component UClients/a requires rendering support, but no PageRenderSupport object has been stored into the req

Rendering Page to diff OutputStream from ServiceLink

2009-07-17 Thread Nathan Beemer
Been using Tapestry 4 (now 4.1) for ~3yrs now and love it. However, just ran across a new use-case that I'm having a tough time cracking (not for lack of trying). I need to be able to capture a Page's rendered html output so I can pipe it through post processing and then send to the client for do