How to catch unknown (not mounted) URLs?

2008-01-18 Thread Erik van Oosten
Hi, In my app I have several mounted URLs with a simple prefix: /city/name_of_city /support/name_of_support_page etc. Easy. But now my client want to have members (yes, yet another community site ;) ) directly on the root: /name_of_member In addition, he want us to guess URLs. For example:

Re: How to catch unknown (not mounted) URLs?

2008-01-18 Thread Igor Vaynberg
as far as having /username i recently had to do this for a cms im building. here is my quick hack i used to get it working until i have time to revisit it... the code below is from the webapp subclass, the way it works: your homepage has pageparams constructor, if you hit a url that doesnt

Re: How to catch unknown (not mounted) URLs?

2008-01-18 Thread Erik van Oosten
Super! Exactly what I needed. Thanks! Erik. Igor Vaynberg schreef: as far as having /username i recently had to do this for a cms im building. here is my quick hack i used to get it working until i have time to revisit it... the code below is from the webapp subclass, the way it