Re: [T5] best practice to add hibernate interceptor

2008-03-10 Thread Sven Homburg
thanx, that was the kick i needed 2008/3/10, Chris Lewis <[EMAIL PROTECTED]>: > > Indeed, but you asked how to add an interceptor to a > tapestry-initialized session, and the answer to that is there :-). > If I understand your other question, you want to access user-specific > (and therefore proba

Re: [T5] best practice to add hibernate interceptor

2008-03-10 Thread Chris Lewis
Indeed, but you asked how to add an interceptor to a tapestry-initialized session, and the answer to that is there :-). If I understand your other question, you want to access user-specific (and therefore probably request-specific) details from the interceptor. There are to overall ways to do this:

Re: [T5] best practice to add hibernate interceptor

2008-03-10 Thread Sven Homburg
hi chris, nice sample, but if i want to add the user name/ip number to a field like "createdBy" there is no known simple way to fill that field. 2008/3/10, Chris Lewis <[EMAIL PROTECTED]>: > > Hi Sven, > > I did this in a wiki: > http://wiki.apache.org/tapestry/Tapestry5BrainlessEntityTimestampin

Re: [T5] best practice to add hibernate interceptor

2008-03-10 Thread Chris Lewis
Hi Sven, I did this in a wiki: http://wiki.apache.org/tapestry/Tapestry5BrainlessEntityTimestamping. The second half of it shows how to do this. chris Sven Homburg wrote: > hi there, > > has anybody an idea, how to add an interceptor > to a "tapestry initialized" hibernate session ? > > --

[T5] best practice to add hibernate interceptor

2008-03-10 Thread Sven Homburg
hi there, has anybody an idea, how to add an interceptor to a "tapestry initialized" hibernate session ? -- with regards Sven Homburg http://tapestry5-components.googlecode.com