> you probably just want to post to the same url, right?
>
> use 'url'=>'/'.$this->params['url']['url']
> and you are fine!
Right! I hadn't thought of that.
> PS: yes, i opened a ticket for this misbehavior in the current code
> and it is now closed in future versions
> 2.0 etc
> http://cakephp.lighthouseapp.com/projects/42648/tickets/1418-form-should-always-post-to-itself-as-default
Great, because params['url']['url'] will be gone in 2.0 :-)
BTW, I like the looks of the Request object. It'll be a big improvement.
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
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
No comments:
Post a Comment