Re: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread bruno grandjean
lucky ;-) bruno -- From: "adam pinder" Sent: Thursday, April 01, 2010 6:19 PM To: Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 so it looks like your issue is more to do with the child values not bei

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread adam pinder
seems unnecessary as struts2 should handle it, but as i say i couldn't get it to do it with arraylists i was using. > From: brgrandj...@live.fr > To: user@struts.apache.org > Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread bruno grandjean
er.hasNext();) { Child c = (Child) iter.next(); if (c.getId() == idx) return c; } return null; } public void setValues(Set lst) { values = lst; } } So I do not understand the ognl.NoSuchPropertyException I got after submission.. > From: apin...@hotmail.co.uk > To: user@struts.apache.

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread bruno grandjean
terceptor log entry every time you post > something to the server > > > > From: brgrandj...@live.fr > > To: user@struts.apache.org > > Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > > Date: Thu, 1 Apr 2010 14:51:4

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread bruno grandjean
PreparedStatement (open PreparedStatements: 0, globally: 0) delete from PARENT_CHILD where PARENT_ID=? done deleting collection > From: apin...@hotmail.co.uk > To: user@struts.apache.org > Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > Date: Thu, 1

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread adam pinder
d hibernate config >> files) >> >> add >> >> log4j.logger.com.opensymphony.xwork2.interceptor.ParametersInterceptor=debug >> >> this will output param name/value pairs being posted from your page. >> >> >> >> ---

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread bruno grandjean
ny.xwork2.interceptor.ParametersInterceptor=debug > From: apin...@hotmail.co.uk > To: user@struts.apache.org > Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > Date: Thu, 1 Apr 2010 12:57:39 +0100 > > > > > in log4j.properties file (same

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread adam pinder
rom: brgrandj...@live.fr > To: user@struts.apache.org > Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > Date: Thu, 1 Apr 2010 13:54:33 +0200 > > > Dear Adam, > > > > I just added a public Child getValues(int idx) in the Parent class def

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread bruno grandjean
gt; To: user@struts.apache.org > Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > Date: Thu, 1 Apr 2010 12:18:48 +0100 > > > > > turn on the parameterinterceptor logging and make sure as mentioned that > > 1) the values you expect for

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread adam pinder
fr > To: user@struts.apache.org > Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > Date: Thu, 1 Apr 2010 12:16:09 +0200 > > > Dear René > > > > I changed my jsp page so as to integrate the following block: > > > > &

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread bruno grandjean
. > > So it is not an issue with Hibernate but with the jsp or ModelDriven > > interface I don't know..Do you have any idea? > > Basically I was not able to find a struts or spring documentation about > > CRUD > > & association between two entities on the same js

Re: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread Rene Gielen
two entities on the same jsp page. > best regards > bruno > > > > -------------- > From: "Rene Gielen" > Sent: Wednesday, March 31, 2010 7:12 PM > To: "Struts Users Mailing List" > Subject: Re: CRUD with a On

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-04-01 Thread bruno grandjean
. All the best Bruno > From: apin...@hotmail.co.uk > To: user@struts.apache.org > Subject: RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > Date: Thu, 1 Apr 2010 07:46:59 +0100 > > > > have you got the correct cascade setting on the parent object

RE: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-03-31 Thread adam pinder
any sql to update/save children is actually being created. > From: brgrandj...@live.fr > To: user@struts.apache.org > Subject: Re: CRUD with a OneToMany association under Struts 2 / Hibernate 3 > Date: Wed, 31 Mar 2010 22:15:34 +0200 > > D

Re: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-03-31 Thread bruno grandjean
rds bruno -- From: "Rene Gielen" Sent: Wednesday, March 31, 2010 7:12 PM To: "Struts Users Mailing List" Subject: Re: CRUD with a OneToMany association under Struts 2 / Hibernate 3 I'm not sure if I understand what your actual question

Re: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-03-31 Thread bruno grandjean
ing documentation about CRUD & association between two entities on the same jsp page. best regards bruno -- From: "Rene Gielen" Sent: Wednesday, March 31, 2010 7:12 PM To: "Struts Users Mailing List" Subject: Re: CRUD with

Re: CRUD with a OneToMany association under Struts 2 / Hibernate 3

2010-03-31 Thread Rene Gielen
I'm not sure if I understand what your actual question is, nor whether it is particularly Struts 2 related (rather than just Hibernate) - but you might want to have a look in the CRUD demo section of the Struts 2 showcase application. Maybe you will also find this demo useful: http://github.com/rgi