RE: Best practice for new/edit object page?

2006-07-10 Thread Gentry, Michael \(Contractor\)
PM To: Tapestry users Subject: RE: Best practice for new/edit object page? Hi Malin, Here are my thoughts: 1. Embedding the ID into the page (along with every other property of the entity). Benefit: After the rewind phase sets all the OGNL-mapped properties to your page-property-object, you

Re: Best practice for new/edit object page?

2006-07-10 Thread Andreas Bulling
On 10. Jul 2006 - 11:21:49, Gentry, Michael (Contractor) wrote: | The down side to embedding database IDs in your HTML form is they can be | changed by the user before POSTing them back to your application, which | can cause all sorts of problems. Exactly, this creates _really huge_ security

Re: Best practice for new/edit object page?

2006-07-10 Thread Malin Ljungh
this question of the list : ) Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Malin Ljungh Sent: Saturday, July 08, 2006 5:21 PM To: Tapestry users Subject: Best practice for new/edit object page? Hi everyone, I'm pretty much a newbie on Tapestry and need

RE: Best practice for new/edit object page?

2006-07-10 Thread Gentry, Michael \(Contractor\)
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Malin Ljungh Sent: Monday, July 10, 2006 2:23 PM To: Tapestry users Subject: Re: Best practice for new/edit object page? Thank you. Especially Jim, you have understood my problem perfectly! The thing is I have a hibernate

RE: Best practice for new/edit object page?

2006-07-10 Thread Jim Steinberger
:[EMAIL PROTECTED] On Behalf Of Malin Ljungh Sent: Monday, July 10, 2006 2:23 PM To: Tapestry users Subject: Re: Best practice for new/edit object page? Thank you. Especially Jim, you have understood my problem perfectly! The thing is I have a hibernate OR-mapping with lots of relationships

Re: Best practice for new/edit object page?

2006-07-10 Thread Jesse Kuhnert
, 2006 2:23 PM To: Tapestry users Subject: Re: Best practice for new/edit object page? Thank you. Especially Jim, you have understood my problem perfectly! The thing is I have a hibernate OR-mapping with lots of relationships and attributes which the user should not edit or see at all in the edit page

RE: Best practice for new/edit object page?

2006-07-10 Thread Jim Steinberger
Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Monday, July 10, 2006 2:50 PM To: Tapestry users Subject: Re: Best practice for new/edit object page? No that's true, hibernate will only update members that have changed. They modify all of your classes with cglib to add changing

RE: Best practice for new/edit object page?

2006-07-09 Thread Jim Steinberger
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Malin Ljungh Sent: Saturday, July 08, 2006 5:21 PM To: Tapestry users Subject: Best practice for new/edit object page? Hi everyone, I'm pretty much a newbie on Tapestry and need some help. I'm building a simple web application

Best practice for new/edit object page?

2006-07-08 Thread Malin Ljungh
Hi everyone, I'm pretty much a newbie on Tapestry and need some help. I'm building a simple web application for administering some data in a database. I use Hibernate for database connection. I'll need several pages that will handle insert of new record to table or editing an existing record. I