Re: Tapestry - hibernate problem

2009-12-07 Thread Josh Canfield
omment.user.username to optain username of >>> user >>> that posted comment I get this error: >>> >>> Render queue error in Expansion[PropBinding[expansion >>> collaborators/Details:commentsmodule(comment.user.username)]]: Property >>> 'user&#

Re: Tapestry - hibernate problem

2009-12-06 Thread blueboy6
x27; (within property expression 'comment.user.username', of >> me.xxx.xxx.components.commentsmod...@eaabad) is null. >> >> I tried all sorts of thing but I'm not sure what to do next... Is this >> problem with tapestry and is there some sort of work around?

Re: Tapestry - hibernate problem

2009-12-06 Thread Nicolas Bouillon
Hi, You should check your mapping to be sure the many-to-one relationship between "comment" and "user" is correct, and verify your database table "comment" contains an existing foreign key to the user table. Best thing to do is to run your Criteria in a JUnit test. Nicolas. Bojan Cincur a

Re: Tapestry - hibernate problem

2009-12-06 Thread Christian Riedel
Hi, Looks more like an issue with your criteria. Have you tried to use FetchMode.EAGER instead? Christian Bojan Cincur schrieb: Hi all, I have a little problem. I'm using hibernate criteria to fetch list of objects that I want to display in loop component. (enclosed in my commentModule co

Tapestry - hibernate problem

2009-12-06 Thread Bojan Cincur
Hi all, I have a little problem. I'm using hibernate criteria to fetch list of objects that I want to display in loop component. (enclosed in my commentModule component) Criteria criteria = getManager().createCriteria(CommentBean.class); criteria.setFetchMode("user",FetchMode.JOIN); this criter

Re: T5: tapestry-hibernate problem when setting @Persist("entity") to a transient object

2008-08-15 Thread Robert Zeigler
ame) { this.name = name; } } tml: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> entity name: ${button.name} create entity change the name set to null delete set to transientt:eventlink> -- View this message in contex

T5: tapestry-hibernate problem when setting @Persist("entity") to a transient object

2008-08-15 Thread buckofive
return name; } public void setName(String name) { this.name = name; } } tml: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> entity name: ${button.name} create entity change the name set to null

tapestry-hibernate problem

2008-07-16 Thread luna_guo
thod org.apache.tapestry5.hibernate.HibernateModule.build(Logger, List, RegistryShutdownHub) (at HibernateModule.java:117) (for service 'HibernateSessionSource'): tried to access field org.hibernate.cfg.Configuration.xmlHelper from class org.hibernate.cfg.AnnotationConfiguration -- View this message in context: http:

T5 tapestry-hibernate: problem with type coercing of HibernateEntityValueEncoder

2008-03-12 Thread Kristian Marinkovic
hi, the HibernateEntityValueEncoder creates ValueEncoder for every contributed Entity class that's nice... but if i submit a page with a select component that used a list of entities to generate the selection model i will receive an exception if no option was selected! this is because the Va

Re: T4.1.3 Tapestry-hibernate problem

2008-01-12 Thread Alejandro Scandroli
Hi Grigoris I will assume that your form is surrounding the @For component. Advices: * remove the updatePassenger it will confuse things. * persist "passengerList" in the session * populate "passengerList" on pageBeginRender * add a "keyExpression" to the For component * then save all the pas

T4.1.3 Tapestry-hibernate problem

2008-01-12 Thread Grigoris Ioannou
Hi all, I have a dynamic form where the user can set a dynamic number of passengers. The html looks like: Title Name Surname

Re: T5.06 The tapestry-hibernate problem? resoloved!

2007-10-26 Thread Donyee
in my appModule.java, i changed : public void contributeHibernateSessionSource( OrderedConfiguration configuration) { configuration.add("my", "org.ts.domain.bo"); } 2007/10/26, Donyee <[EMAIL PROTECTED]>: > > > > I got errors when i use T5.06-hibernate, and my app works

T5.06 The tapestry-hibernate problem?

2007-10-26 Thread Donyee
I got errors when i use T5.06-hibernate, and my app works fine when i use T5.05! Also i changed the html to tml, sl4j... Error: No service implements the interface org.apache.tapestry.ioc.Configuration. Error invoking service builder method org.apache.tapestry.hibernate.HibernateModule.build(Hibern

Re: tapestry hibernate problem

2007-10-03 Thread Davor Hrg
you shouldn't persist any object from hibernate @ApplicationState private Customer _customer; same object will be referenced in you second request, and the second request will have different session, tapestry-hibernate integration is still basic, and for now you should just change

tapestry hibernate problem

2007-10-03 Thread T. Papke
Hi, i have tried the tapestry-hibernate package to handle my hibernate sessions. I have setup the package in maven and add the hibernate Session to all constructors of my services. I started with my CustomerService getting and setting my customerbeans (each of them having a Set of AddressBea

tapestry hibernate problem

2007-10-03 Thread T. Papke
Hi, i have tried the tapestry-hibernate package to handle my hibernate sessions. I have setup the package in maven and add the hibernate Session to all constructors of my services. I started with my CustomerService getting and setting my customerbeans (each of them having a Set of AddressBea