Re: Can I POST edit form to detail view, and redirect back if invalid?

2012-03-29 Thread Hemebond
entry. On Mar 30, 3:33 pm, Hemebond wrote: > I can definitely write my code the normal way. I just wanted to see if > it was possible; perhaps some way I hadn't thought of. I just liked > the idea of all CRUD operations being done on the object URI. > > On Mar 30, 3

Re: Can I POST edit form to detail view, and redirect back if invalid?

2012-03-29 Thread Hemebond
e an snippet? > > - Mjumbe > > [1]http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3 > > On Mar 29, 7:49 am, Hemebond wrote: > > > > > > > > > I don't see anything on there that deals with transferring an > > redirecting with

Re: Can I POST edit form to detail view, and redirect back if invalid?

2012-03-29 Thread Hemebond
Thu, Mar 29, 2012 at 7:13 AM, Hemebond wrote: > > What can I pass back to the edit form view that already contains the > > values and errors and how? Posting to the edit form view would work > > but that would re-process the form. > > > On Mar 30, 12:06 am, Joel Goldst

Re: Can I POST edit form to detail view, and redirect back if invalid?

2012-03-29 Thread Hemebond
What can I pass back to the edit form view that already contains the values and errors and how? Posting to the edit form view would work but that would re-process the form. On Mar 30, 12:06 am, Joel Goldstick wrote: > On Thu, Mar 29, 2012 at 6:33 AM, Hemebond wrote: > > I want to use t

Can I POST edit form to detail view, and redirect back if invalid?

2012-03-29 Thread Hemebond
I want to use the URL of an object (a detail view) as the destination for CRUD operations. I want it to be able to accept GET, POST and DELETE requests. As part of this, I want the edit form (retrieved by appending /edit/ to the object URL) to submit to the object URL. If the form is invalid, I th