Saturday, February 27, 2010

Re: POST from POST

POSTing from the page is definitely possible. Each POST action is a
request, so there is no link between any requests. They are mutually
exclusive.

On Feb 27, 12:16 pm, John Andersen <j.andersen...@gmail.com> wrote:
> Are you doing this the CakePHP way, that is that the post data is
> collected automatically into the controllers data array, and you then
> uses this information to fill your confirm.ctp form?
>
> Please show the code for the form that post to the /controller/confirm
> method!
> Also the code in the confirm method.
> And finally the confirm.ctp code.
>
> Enjoy,
>    John
>
> On Feb 26, 8:33 pm, p_W <paulwoolcoc...@gmail.com> wrote:
>
> > I have a form that POST's to a controller called /controller/confirm.
> > In the confirm action, I collect the POST data and send it to the
> > confirm.ctp view.  In the view I am trying to generate another form
> > that asks the user to confirm their choices, and POST the data to a /
> > controller/savedata controller.  However, even though I am creating
> > the form in the confirm.ctp view, none of the form tags are showing
> > up.  Is POSTing from a page that was requested by a POST not possible?

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: