[appfuse-user] simple redirect in Struts2 from index.jsp

2007-10-29 Thread kla
I'm assuming there's an easy equivalent for Struts2 but I can't figure it out. I need to immediately redirect the user to my 'list' action when they go to the index.jsp page. Is there an equivalent for the html tag's redirect in Struts2? I thought maybe would do it but it doesn't seem to work.

Re: [appfuse-user] Hibernate cascade delete not working

2007-08-24 Thread kla
ation of it here: http://simoes.org/docs/hibernate-2.1/155.html kla wrote: > > I have a optional one to many relationship between a project and a > document. I have tied these records together using a 3rd an associative > table: > project : project_id > document : docume

Re: [appfuse-user] Hibernate cascade delete not working

2007-08-24 Thread kla
on my mappings, what I can do to remove the associative table record and document but keep the project? Thanks, Mike kla wrote: > > I have a optional one to many relationship between a project and a > document. I have tied these records together using a 3rd an associative >

[appfuse-user] Hibernate cascade delete not working

2007-08-23 Thread kla
I have a optional one to many relationship between a project and a document. I have tied these records together using a 3rd an associative table: project : project_id document : document_id project_document : project_document_id, project_id, document_id I'm trying to delete a document but am get

Re: [appfuse-user] Need help understanding Spring/Hibernate and LazyLoad

2007-05-24 Thread kla
g enough for the view to > access > lazy loaded collections. > > More info on using this filter: http://tinyurl.com/2rao5u > > Mike > > On 5/24/07, kla <[EMAIL PROTECTED]> wrote: >> >> >> No. Sorry for any confusion. I'm not storing anything i

Re: [appfuse-user] Need help understanding Spring/Hibernate and LazyLoad

2007-05-24 Thread kla
assume from your description below that you are storing the project in > the > user's session? I would recommend passing the project id in the user > request > for the set of folders, and loading it that way instead. > > Mike. > > On 5/24/07, kla <[EMAIL PROTECTED]>

[appfuse-user] Need help understanding Spring/Hibernate and LazyLoad

2007-05-24 Thread kla
I'm just getting back to Hibernate after being away a few years and have used Spring though not with Hibernate. I'm having trouble understanding an issue around lazy loading collection and was looking for some help. I have a project table and a folder table. It is an optional 1 to many relation