Oh, sorry by the error.

The fact is that i was trying see the startup() method functioning
inside the beforeFilter() callback, but this appears be "impossible"
in the cake way.

I've already solved this problem by changing my method (ajaxMethod(),
in this case) to use a reference of the controller itself, using the
controller params.

But thanks all for the atention... :)

On 17 abr, 10:24, Charles Schaefer <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm developing a component that will use values setteds in the
> controller to execute some routines. But when I call my controllers
> (that use this component) via Ajax the startup() method (and the
> init() also) isn't called. The result is that i haven't a reference to
> the controller and i can't use its values.
>
> Somebody knows if this is an intentional behavior of the component or
> if this can be a bug in the core of cake?
>
> Very thanks,


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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