Hi Niklas,

really great! Works nice and easy. :o)

Thx André

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im
Auftrag von Niklas Närhinen
Gesendet: Dienstag, 24. Januar 2012 16:32
An: Agavi Users Mailing List
Betreff: Re: [Agavi-Users] How to tell Agavi to use routing.xml defined in
Modules?

24.1.2012 17.01, Marius Hein kirjoitti:
> Hi
>
>> thanks for your help. I´ve tried to implement the
>> AppKitXIncludeConfigHandler in our Agavi Application.
>> It gets the module based routing.xml('s) and generates XInclude nodes.
I´ve
>> logged that.
>>
>> But finally Agavi doesn´t include the routing.xml files in the compiled
>> config. Just the routing.xml in the application scope.
>>
>> I doesn´t use the AppKitRoutingConfigHandler and all Namespaces are left
>> default (http://agavi.org/agavi/config/...).
>>
>> Any hints where´s the fault?
>
> Do you have the target node? Something like
>
> <route name="modules" pattern="^/modules" stop="false" />
>
> Are global routes working? Did you checked the cache what's going into
that?
>
> Maybe you have to step into the class and debug every step. Also you can
> test the AgaviRouting::loadConfig what turns out if you loading the
> ready generated routes.
>
> Kind regards,
>   Marius.
>
>
Hi, if you are using latest trunk (1.1) you can use xinclude for per 
module routing.

More info can be found here: http://trac.agavi.org/ticket/1406

BR,
Niklas


_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to