Re: Can't access generate HTML file (probably not Tapestry-specific)

2015-03-27 Thread Stephan Windmüller
On 23.03.2015, Daniel Poggenpohl wrote: > perhaps you people can help me...my application has various > resources deployed. Among them are a kind of HTML template files. I > take the files, replace part of the contents of the file according to > a certain syntax, and want to display the resulting

Re: Can't access generate HTML file (probably not Tapestry-specific)

2015-03-26 Thread Lance Java
I don't really understand why you need the temp files? The normal approach is to store the static template files somewhere (classpath or database etc) but never actually store the merge results (template merged with context). I think you should provide a page which returns a StreamResult which is

Re: Can't access generate HTML file (probably not Tapestry-specific)

2015-03-24 Thread Geoff Callender
Server-side, in a Tapestry page or service, create the file. final File htmlTempFile = File.createTempFile("htmlTemp", ".html"); htmlTempFile.deleteOnExit(); Then manipulate it. If you need to know its path, it's no problem... String htmlTempPath

Can't access generate HTML file (probably not Tapestry-specific)

2015-03-23 Thread Poggenpohl, Daniel
Hello, perhaps you people can help me...my application has various resources deployed. Among them are a kind of HTML template files. I take the files, replace part of the contents of the file according to a certain syntax, and want to display the resulting html file in an iframe on a Tapestry p