T5 - change to .TML file picked up automatically

2007-11-07 Thread trekmbikes
Hi, Is Tapestry 5 supposed to pick up changes I make to my .tml files automatically? Eclipse WTP does the hot code swapping of the Java class correctly but when I change the contents of the .TML file they don't seem to be picked up. Thanks! -- View this message in context: http://www.nabble.com

RE: T5 user servlet mapped to extension *.spr gets rejected as invalid component

2007-10-25 Thread trekmbikes
Bingo - worked like a charm. IMO this should be core functionality in Tapestry; it is part of the Servlet spec after all. My web.xml contains: -- tapestry.app-package com.myapp.web.tapestry

Re: T5 / Spring / Hibernate Lazy Loading

2007-10-25 Thread trekmbikes
I solved this problem by changing from an OpenSessionInViewInterceptor to an OpenSessionInViewFilter. There is negligible performance impact because the filter doesn't open a DB connection unless it needs to, as pointed out elsewhere in this post. -- View this message in context: http://www.nabb

T5 user servlet mapped to extension *.spr gets rejected as invalid component

2007-10-24 Thread trekmbikes
Hi, I have the tapestry filter set up as usual, and I have a separate servlet that's mapped to incoming requests with the url-pattern "*.spr". When I try to request one of the spr pages, the Tapestry filter intercepts the request as expected, looks for the component with the specified name, and r

RE: T5 / Spring / Hibernate Lazy Loading

2007-10-24 Thread trekmbikes
gt; match > your tapestry pages? > > Also, and this is a question I don't know the answer to: Is opening a > session really expensive if you don't use it? I thought that Spring > provided a proxy that didn't have much cost until you actually went to use > it. >

Re: T5 / Spring / Hibernate Lazy Loading

2007-10-24 Thread trekmbikes
y5/tapestry-hibernate/). Is this not > sufficient? > > trekmbikes wrote: >> I'm brand new to Tapestry. I have a large application that uses Spring to >> configure the Hibernate SessionFactory. I have a request interceptor >> defined >> in Spring so that

T5 / Spring / Hibernate Lazy Loading

2007-10-24 Thread trekmbikes
I'm brand new to Tapestry. I have a large application that uses Spring to configure the Hibernate SessionFactory. I have a request interceptor defined in Spring so that I can bind a Hibernate session to each request's thread. Closure of the session is deferred until the request returns, to prevent