[Zope] Query about traversal in ZSQL methods...

Tony McDonald tony.mcdonald@ncl.ac.uk
Tue, 15 Feb 2000 09:43:02 +0000


Hi all,
I have a ZSQL method that I've made 'traversable' and URLs of the form

http://server/ZSQL_Query/ENG201/show

work beautifully. Problem is when I do something like

http://server/ZSQL_Query/ENG20/show (ENG20 does not exist in the database).

I get a Zope error saying that the resource or page cannot be found.

Is there any way of getting around this? Ideally I'd like to be able 
to tell the user that there was no record in the database...
cheers
tone.

------
Dr Tony McDonald,  FMCC, Networked Learning Environments Project 
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2