Re: tapestry-hibernate grid second page Session is closed

2010-06-12 Thread Josh Canfield
> You're probably injecting org.hibernate.classic.Session instead of > org.hibernate.Session (correct one). When using org.hibernate.search.impl.FullTextSession you cannot use the injected org.hibernate.Session because there is an expectation that the org.hibernate.Session past to the constructor

Re: tapestry-hibernate grid second page Session is closed

2010-06-12 Thread Thiago H. de Paula Figueiredo
On Sat, 12 Jun 2010 18:20:34 -0300, Borut Bolčina wrote: Render queue error in SetupRender[Index:grid]: Failure reading parameter 'source' of component Index:grid: $Session_1292df1e883 cannot be cast to org.hibernate.classic.Session java.lang.ClassCastException $Session_1292df1e883 cannot be

Re: tapestry-hibernate grid second page Session is closed

2010-06-11 Thread Markus Feindler
arameter of your grid, or ensure they are eagerly loaded in your persistence annotations. There may be some equivalent of an OSIV filter available for Tapestry, I am not sure. Regards, Jim. -Original Message- From: Borut Bolcina [mailto:borut.bolc...@gmail.com]

RE: tapestry-hibernate grid second page Session is closed

2010-06-11 Thread Jim O'Callaghan
mmit the transaction manually though. Regards, Jim. -Original Message- From: Borut Bolcina [mailto:borut.bolc...@gmail.com] Sent: 11 June 2010 19:55 To: Tapestry users Subject: Re: tapestry-hibernate grid second page Session is closed Yes I have: [INFO] [dependency:tree {execution:

Re: tapestry-hibernate grid second page Session is closed

2010-06-11 Thread Markus Feindler
tence annotations. There may be some equivalent of an OSIV filter available for Tapestry, I am not sure. Regards, Jim. -Original Message- From: Borut Bolcina [mailto:borut.bolc...@gmail.com] Sent: 11 June 2010 16:39 To: List Tapestry User Subject: tapestry-hibernate grid second

Re: tapestry-hibernate grid second page Session is closed

2010-06-11 Thread Borut Bolčina
nt Index:grid: Session is closed! > [at > > context:Index.tml, line 7] > >at > > > org.apache.tapestry5.internal.transform.ParameterWorker$2$1.readFromBinding(ParameterWorker.java:286) > >at > > > org.apache.tapestry5.internal.transform.ParameterWorker$2$1.

Re: tapestry-hibernate grid second page Session is closed

2010-06-11 Thread Josh Canfield
bstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:77) >    at > org.apache.tapestry5.ioc.internal.services.LoggingAdvice.advise(LoggingAdvice.java:45) >    at > org.apache.tapestry5.internal.transform.LogWorker$1.advise(LogWorker.java:54) >    at > org.apa

Re: tapestry-hibernate grid second page Session is closed

2010-06-11 Thread Borut Bolčina
xclude' parameter of your grid, or ensure they are > eagerly loaded in your persistence annotations. There may be some > equivalent of an OSIV filter available for Tapestry, I am not sure. > > > > Regards, > > Jim. > > > > -Original Message- > > From: Bo

Re: tapestry-hibernate grid second page Session is closed

2010-06-11 Thread Josh Canfield
; Jim. > > -Original Message- > From: Borut Bolcina [mailto:borut.bolc...@gmail.com] > Sent: 11 June 2010 16:39 > To: List Tapestry User > Subject: tapestry-hibernate grid second page Session is closed > > Hello, > > after a while I am again coding with Tapestry. This

RE: tapestry-hibernate grid second page Session is closed

2010-06-11 Thread Jim O'Callaghan
load the attributes you need and still take advantage of the inplace grid nav. Regards, Jim. -Original Message- From: Jim O'Callaghan [mailto:jc1000...@yahoo.co.uk] Sent: 11 June 2010 17:42 To: 'Tapestry users' Subject: RE: tapestry-hibernate grid second page Session is clos

RE: tapestry-hibernate grid second page Session is closed

2010-06-11 Thread Jim O'Callaghan
borut.bolc...@gmail.com] Sent: 11 June 2010 16:39 To: List Tapestry User Subject: tapestry-hibernate grid second page Session is closed Hello, after a while I am again coding with Tapestry. This time I have a chance to use Hibernate, Lucene and their bridge Hibernate Search. I created a search component

tapestry-hibernate grid second page Session is closed

2010-06-11 Thread Borut Bolčina
Hello, after a while I am again coding with Tapestry. This time I have a chance to use Hibernate, Lucene and their bridge Hibernate Search. I created a search component which uses org.hibernate.search.FullTextQuery to search the index. I am using tapestry grid component to display all the results