Re: How best to delete one of multiple records?

2008-06-24 Thread Arien
On Tue, Jun 24, 2008 at 4:42 AM, Spy187 <[EMAIL PROTECTED]> wrote: > > AND BTW using GET for side effects can be extremely convenient when > used for debugging purposes as you can directly modify the URL. What's convenient during development isn't necessarily a good idea in a production setting.

Re: How best to delete one of multiple records?

2008-06-24 Thread Spy187
This is the best way to do it, the tickboxes and then a single submit button. Then layer AJAX on top of it and hide the tickboxes, replacing them with nice icons which when clicked sends a POST request to the server to delete the recond. Upon success it deletes the record from the HTML. There is

Re: How best to delete one of multiple records?

2008-06-23 Thread Arien
On Mon, Jun 23, 2008 at 1:51 PM, Peter Melvyn <[EMAIL PROTECTED]> wrote: > > On 6/23/08, Emil Styrke <[EMAIL PROTECTED]> wrote: > >> Having a GET request delete records is usually a bad idea - see for example >> http://www.w3.org/2001/tag/doc/whenToUseGet.html > > Yes, this is a recommendation, no

Re: How best to delete one of multiple records?

2008-06-23 Thread Peter Melvyn
On 6/23/08, Emil Styrke <[EMAIL PROTECTED]> wrote: > Having a GET request delete records is usually a bad idea - see for example > http://www.w3.org/2001/tag/doc/whenToUseGet.html Yes, this is a recommendation, not a dogma. IMHO GET method is suitable for dense tables with dozens of operations.

Re: How best to delete one of multiple records?

2008-06-23 Thread Emil Styrke
2008/6/23 Peter Melvyn <[EMAIL PROTECTED]>: > > > I have a list of records, and I'd like the user to be able to delete > > any given record by pressing a button. > > IMHO there are two basic solutions: > > 1. each record has column with hyperlink to delete action (ID is part of > URL) > You ca

Re: How best to delete one of multiple records?

2008-06-23 Thread Peter Melvyn
> I have a list of records, and I'd like the user to be able to delete > any given record by pressing a button. IMHO there are two basic solutions: 1. each record has column with hyperlink to delete action (ID is part of URL) You can use plain text or image mapped links 2. each record has c

Re: How best to delete one of multiple records?

2008-06-23 Thread Norman Harman
Kenneth McDonald wrote: > I have a list of records, and I'd like the user to be able to delete > any given record by pressing a button. My current strategy is to have > each record in its own form (so that pressing the submit button for > that form would delete the record), and have each for

How best to delete one of multiple records?

2008-06-22 Thread Kenneth McDonald
I have a list of records, and I'd like the user to be able to delete any given record by pressing a button. My current strategy is to have each record in its own form (so that pressing the submit button for that form would delete the record), and have each form contain a hidden field ident