HI All, I have this list of discussion posts that is accessed simply
by going to index.php under /posts/.

And currently, under each post I have a delete link ( of course it
only shows up if you're the user logged in, who also created those
posts, but that's an aside.).

It's just a regular text url link like: /index.php/posts/delete/
<post_id>

But now I decided I'm going to use the cakephp Security component, and
will now need to POST this form to the delete() action.

But the problem is that with a regular text link, you have to use
javascript.

The url will now need to be javascript:submitdelete();  which sets a
hidden form variable to the particular postid, and then calls
form.submit().

I'm wondering how many users have javascript disabled.

And wondering if anyone else went from having to go from get to post
and how you handled it .

TIA
Steve


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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