Re: Context still is DefaultRootFactory although root_factory is custom

2012-11-07 Thread khairi hafsham
thank you for the fast reply. after hours of debugging, it turned out to be a silly mistake. there was another duplicate configurator overwriting the one that i set with the custom rootfactory. sorry for wasting your time. -- You received this message because you are subscribed to the Google

Context still is DefaultRootFactory although root_factory is custom

2012-11-06 Thread khairi hafsham
hi, in my application, a custom RootFactory is passed as an argument to the Configurator. But when debugging for permission, the context for all views is still DefaultRootFactory. only when the custom factory passed to the add_route() method, will it be the context for the particular route. is

Re: Context still is DefaultRootFactory although root_factory is custom

2012-11-06 Thread Michael Merickel
This is not expected. You'll have to paste some code to figure out why this may be the case. On Nov 6, 2012 1:36 PM, khairi hafsham jumanjis...@gmail.com wrote: hi, in my application, a custom RootFactory is passed as an argument to the Configurator. But when debugging for permission, the