I don't think $allowActions will work coz' observeField is a request.
I found the following code in http://book.cakephp.org/view/1656/allowedActions:
1.var $components = array(
2. 'Auth' => array(
3.'authorize' => 'controller',
4.'allowedActions' => array('index','view','display');
5. )
ok, i will read up on that and let you know. Thanks! :)
On Aug 2, 3:00 pm, Jeremy Burns | Class Outfit
wrote:
> Is it worth looking at the $allowedActions
> option?http://book.cakephp.org/view/1297/Configuration
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 2 Aug 2011, at
Is it worth looking at the $allowedActions option?
http://book.cakephp.org/view/1297/Configuration
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 2 Aug 2011, at 10:56, varai wrote:
> Finally I managed to solve the prob after 2 weeks of research and
> reading up. The problem was Cakeph
Finally I managed to solve the prob after 2 weeks of research and
reading up. The problem was Cakephp's security component was
blackholing Ajax's observeField request. So, the security component
has to be disabled for the observeField to work. Added the following
beforeFilter code (found from the n
I'm trying to populate the city select box based on the selected state
(which is also a select box) using Ajax. When i select state, the city
select box is not being populated.
There are 5 models below: Student, MerryParent, MerryClass, State,
City. All of them are related to one another.
Can som