Re: @Insert not working when converting tapestry page into a byteoutputstream

2010-01-09 Thread roquejo
apturing the > rewind > (just check the value of cycle.isRewinding() )... also, you're > probably rendering > the page twice (once to save as file and once to return to client). I > believe there's > some code in the wiki that describes how to do this in a more efficien

Re: @Insert not working when converting tapestry page into a byteoutputstream

2010-01-08 Thread roquejo
I just found out that this happens when the submission was made by the @Form component, but if it was submitted by the @Directlink component, it worked fine. Do the @Form component accept a paramater to let it bahave like a DirectLink? That @Insert component will be rendered immediately? -- Vie

@Insert not working when converting tapestry page into a byteoutputstream

2010-01-07 Thread roquejo
Hi, I'm suing tapestry 4.0.2 Kindly help as I've been stuck for a week already, I've been trying to convert the tapestry page into a byte output stream to save it into a file, below is the code: -- ByteA