Re: Component and beforeFilter() problem

2006-12-30 Thread [EMAIL PROTECTED]
Ah, gotcha. It works fine in beforeRender(). I should have tried it there earlier. Thanks Nate On Dec 31, 12:31 am, "nate" <[EMAIL PROTECTED]> wrote: If your component gets access to the controller in the startup() callback, it might have something to do with the fact that startup() happens af

Re: Component and beforeFilter() problem

2006-12-30 Thread nate
If your component gets access to the controller in the startup() callback, it might have something to do with the fact that startup() happens after beforeFilter(). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ca

Component and beforeFilter() problem

2006-12-30 Thread [EMAIL PROTECTED]
Hey Guys I have a component that uses models from my controllers. The component functions that access the models work fine in all my actions. However, when I try to access the same functions inside beforeFilter I get an error: Notice: Trying to get property of non-object Fatal error: Cal