Sylvain Hellegouarch wrote:
> As I'm not sure we understand each other, I prefer to clarify my saying.
> 
> Say you have a good old tree like this:
> 
> forum = Forum()
> forum.topic = Topic()
> forum.topic.message = Message()
> 
> If Forum contains a default method, it will be called when a message
> cannot be found. In such case you can totally raise a different HTTP code
> from there.
> 
> Now I might miss your point altogether and look stupid :D


Really, while GIYFing this problem I read repeatedly that this was not
the case. The only problem I see is that I utilise default() elsewhere,
although I probably raise cherrypy.NotFound so it might work.

I've moved on to something else now but I'll check it out later and
report back.

Cheers

-Rob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to