Re: [Repoze-dev] problem with routes and "model_url"

2009-06-04 Thread Chris McDonough
On 6/3/09 12:44 PM, Stephan Altmueller wrote: > > > Hi Chris, > > Thank you for your amazingly fast response. > > Indeed your example works as described. > After digging deeper I figured that my > problem is caused by adding the "root" route to the configure.zcml: > > path="" > name

Re: [Repoze-dev] problem with routes and "model_url"

2009-06-03 Thread Stephan Altmueller
Hi Chris, Thank you for your amazingly fast response. Indeed your example works as described. After digging deeper I figured that my problem is caused by adding the "root" route to the configure.zcml: Everything else is identical to your example and "root_view" is a copy of "my_view" from yo

Re: [Repoze-dev] problem with routes and "model_url"

2009-06-03 Thread Chris McDonough
On 6/3/09 10:29 AM, Stephan Altmueller wrote: > Hi > > It seems that "model_url" does not work correctly with routes that > do not contain dynamic parts. This worked in 0.7.x but not 0.8 and 0.9. > > Could someone tell if/what I am doing wrong. > > Here is my routes definition in configure.zcml: >

[Repoze-dev] problem with routes and "model_url"

2009-06-03 Thread Stephan Altmueller
Hi It seems that "model_url" does not work correctly with routes that do not contain dynamic parts. This worked in 0.7.x but not 0.8 and 0.9. Could someone tell if/what I am doing wrong. Here is my routes definition in configure.zcml: and here is the relevant portion of the of the view cod