V. Cekvenich wrote:
/do/action?dispatch=delete or anything else.
Yeah, I get that for the case where I want to delete and return to the list view. But how about a case where have some other page that wants a delete link to delete an item, but then return back to that same page?

You'd have to copy your delete code to a new action whereas I'd simply create a new action mapping and reuse an existing single-purpose action.

The action code you posted earlier is *not* single-purpose in my view, its deleting and regenerating the list.

Or am I missing some piece of your design?

Erik


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to