Re: [Zope] Traversal question

2005-06-22 Thread David Pratt
I have gone over the zope book to see what I can do about calling a sql with a form and getting three additional parameters in the request and am wanting this to get better looking urls that calling the parameters directly in the url. I asked a similar question yesterday but perhaps it

Re: [Zope] Traversal question

2005-06-22 Thread Jonathan
- Original Message - From: David Pratt [EMAIL PROTECTED] I have gone over the zope book to see what I can do about calling a sql with a form and getting three additional parameters in the request and am wanting this to get better looking urls that calling the parameters directly in

Re: [Zope] Traversal question

2005-06-22 Thread Peter Bengtsson
I have never used traversal into zsql methods simply because I don't want to expose geeky things like employee_by_id to the user. People should be able to find out what you call your ZSQL methods. My suggestion is to consider a more controlled solution. About having request variables in the URL I

Re: [Zope] Traversal question

2005-06-22 Thread David Pratt
Hi Jonathan. Thank you for your reply. The ? = don't make for very friendly or future proof urls. I have thought of this possibility you have suggested but thought there might be a way to do this with traversal. I read a tutorial by Chris McDonough getting rid of the ? = appeared to

Re: [Zope] Traversal question

2005-06-22 Thread David Pratt
Hi Peter. This is very interesting. I will look at the code! I agree with you about exposing the zsql methods and also I tend to use a naming convention for zsql methods might even stick out more. Many thanks for your reply. Regards, David On Wednesday, June 22, 2005, at 12:27 PM,

Re: [Zope] Traversal question

2005-06-22 Thread David Pratt
Hi Pascal. These are good suggestions. Can you point me to something that could help me with the Site Access Rule part of this solution? I am sure I can google for a mod_rewrite rule that could help. Regards, David On Wednesday, June 22, 2005, at 12:18 PM, Pascal Peregrina wrote: