hi!

I tried to use the $confirmMessage in $html->link and it works but I
can't display my image like before:

this is my code:

"echo $html->link(      $html->image('erase.png', array('width' => '25px',
'alt' => 'Delete', 'title'=>'Delete')),
                                                        array(  
'controller'=>'rollings',
                                                                
'action'=>'delete',
                                                                
$rolling['Rolling']['id']),
                                                        array(), 'Are you sure 
you wish to delete this model?' );"

So I have the message when I click but insted of my picture I have
this: "<img src="/cake/cake_1.2.5/img/erase.png" width="25px"
alt="Delete" title="Delete" />"

It shows the picture if I put "array('escape' => false)" but then, the
javascript doesn't work...

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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