I'm using Cake 1.2dev.  I'm trying to work with the form helper in one
of my controllers.  I use code like so...
echo $form->create();

and I get the following echoed (for an edit action).

<form id="QuestionEditForm" method="post"
action="/app/questions/edit/id:2"><input type="hidden"
name="data[method][method]"  value="PUT" id="methodMethod" />

I have a couple questions about this.  First why is the output reading
controller/edit/id:2?  In cake 1.1 I was using controller/edit/2 and my
edit action accepted 1 parameter.  This is now failing for me when I
submit to this url.  The second question I have is what is the purpose
of the value="PUT" hidden tag?  Thanks in advance for any help.


--~--~---------~--~----~------------~-------~--~----~
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