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
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
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.
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
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
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.
>>
>>
>>
>> ---
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
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
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
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:
>
>
>
>
&
.
> > 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
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
.
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
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
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
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
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
17 matches
Mail list logo