I think that giving an id in the create and end is not a bad idea.
I'll file a request...
Thanks

On Jun 19, 3:59 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 6/19/07, Ita <[EMAIL PROTECTED]> wrote:
>
> > -----------------
> > Back to 2 forms with he same ID?
>
> Well, the problem is that the magic methods aren't smart enough to
> know you are having two forms on the same page pointing to the same
> controller.
>
> What I have done in the past is use a separate controller for my
> ajax-based actions (whether it's accepting form data or performing
> other requests) so that I don't have any namespace collisions.  If you
> were to try it this way, you'd get your two forms with two different
> ID's.
>
> I suggest that if you are insistent on trying to do it your way,
> instead of working within the rules that CakePHP has set out, go over
> to trac.cakephp.org and file an enhancement request to add a parameter
> to form->create() to allow for your edge case.
>
> --
> Chris Hartjes
> Senior Developer
> Cake Development Corporation
>
> My motto for 2007:  "Just build it, damnit!"
>
> @TheBallpark -http://www.littlehart.net/attheballpark
> @TheKeyboard -http://www.littlehart.net/atthekeyboard


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