On 17 abr, 15: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.
If you comment out the bit trying to use the component - what do you
see? The only circumstance I know of whereby a component is loaded and
it's startup method isn't run is when cake is about to tell you a
missing* error. (assuming you are /not/ expecting the component's
startup method to have run in your controller beforeFilter method, as
that's not the order things work).
hth,
AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---