I think I may be misunderstanding, but if you use $html->link to
generate your delete url you can add this as a parameter:

link(string $title, mixed $url = null, array $htmlAttributes = array
(), string $confirmMessage = false, boolean $escapeTitle = true)

See the liink method here :

http://book.cakephp.org/view/206/Inserting-Well-Formatted-elements

Hope this helps,

Toby

On Jun 5, 10:00 am, Ernesto <[email protected]> wrote:
> Hello :)
>
> is there any behavior that asks "Are you sure" before deleting any
> record?
>
> i can't find anything similar in the bakery
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to