Re: Can't access generate HTML file (probably not Tapestry-specific)
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 html file in an iframe on a Tapestry page. To do this, I am currently creating temporary html files. Do you really need an iframe? If you are able to put the parsed result in a string, just output it using the raw component: http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/corelib/components/OutputRaw.html - Stephan - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Passing hibernate session from one page to the next in a wizard form
On Fri, Mar 27, 2015 at 11:50 AM, George Christman gchrist...@cardaddy.com wrote: Hi guys, I'm trying to pass my object from one page to the next without actually saving it. I tried putting the object in a sessionstate, but I'm getting lazy loading exceptions on my second page, any idea how to do this? It's generally not a good idea but it's possible. You need to watch for memory consumption. Adding an already attached object to the session can have adverse effects on memory consumption. Typically, you want to detach the object from the first session and reattach the object to the second session. I've written about the subject at http://tynamo.org/tapestry-conversations+guide. Kalle
Re: Passing hibernate session from one page to the next in a wizard form
You are the man, been struggling with this all day ugh. Thanks a lot. On Fri, Mar 27, 2015 at 3:17 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: On Fri, Mar 27, 2015 at 11:50 AM, George Christman gchrist...@cardaddy.com wrote: Hi guys, I'm trying to pass my object from one page to the next without actually saving it. I tried putting the object in a sessionstate, but I'm getting lazy loading exceptions on my second page, any idea how to do this? It's generally not a good idea but it's possible. You need to watch for memory consumption. Adding an already attached object to the session can have adverse effects on memory consumption. Typically, you want to detach the object from the first session and reattach the object to the second session. I've written about the subject at http://tynamo.org/tapestry-conversations+guide. Kalle -- George Christman CEO www.CarDaddy.com P.O. Box 735 Johnstown, New York
Passing hibernate session from one page to the next in a wizard form
Hi guys, I'm trying to pass my object from one page to the next without actually saving it. I tried putting the object in a sessionstate, but I'm getting lazy loading exceptions on my second page, any idea how to do this?