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

2010-01-09 Thread roquejo
I got it to work already.. I used cycle.render instead of page.render..thanks for your reply Andreas Andreou-4 wrote: > > When a form is submitted, Tapestry 4 enters the rewind phase (note that T5 > doesn't need/use this concept) > That's similar to a normal render and it helps Tapestry find o

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

2010-01-08 Thread Andreas Andreou
When a form is submitted, Tapestry 4 enters the rewind phase (note that T5 doesn't need/use this concept) That's similar to a normal render and it helps Tapestry find out what values were submitted and by which controls. Many components can behave differently when rendering and when rewinding - @In

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