AD7six wrote:
> The problem has nothing to do with a variable on a model.
>
> Think about what happens when you request any page...
>
> You go to /
>     your controller before filter calls
> $this->requestAction('/ssites/getSites',
>         in the beforeFilter for ssites/getSites your  beforeFilter
> calls requestAction again
>             in the beforeFilter for ssites/getSites your  beforeFilter
> calls requestAction again
>                 etc.
>
> I hope that clarifies the problem, you _need_ to break that loop.
>
> I think it would be a much better idea to make the logic that is
> generating your menu a component/element. I wrote a simple tutorial for
> that on the wiki some time ago.
>
> HTH, Cheers,
>
> AD7six

About this >> "I think it would be a much better idea to make the logic
that is generating your menu a component/element. I wrote a simple
tutorial for that on the wiki some time ago."

How i do to get util data from my database and give them to my
component  (like your tutorial) ?

> I can't call a requestAction in startup method of my component ... ( because 
> Loop ... )
> I can't access data because component is called in AppController

So how i do lol ? I don't understand all in the architecture of cake it
seams ...
big Thx,
Sebastien


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to