ajaxhelper::form() submit to different controller?

2008-07-10 Thread Bart van Wissen
I use CakePHP 1.2 and I want to create an ajax-based form that submits to a different controller. Say I have a Users controller and a Projects controller. Inside one of the views of my Users controller, I want to create a form that submits to one of the actions of the Projects controller, so I

inverting self-referencing HABTM associations

2008-07-01 Thread Bart van Wissen
I'm building an application which deals with alternatives. I won't go into the details of the application, but what's important here is that these alternatives have relationships between them. These include enables, excludes, forbids, etc. For example, alternative A forbids alternative B means

Re: inverting self-referencing HABTM associations

2008-07-01 Thread Bart van Wissen
On 1 jul, 15:21, DaveMahon [EMAIL PROTECTED] wrote: If it was a relatively small set of alternatives that were clearly designated from the beginning and were unlikely to change, I wouldn't model it at all and I would use business logic. If there are a lot of options, this sounds more like a