Re: [Zope] Logon process

2007-07-08 Thread Garito
To Andrew: I'll try! If doesn't work I'll reask, thanks! To Dieter: I have a folder with some objects. This objects has 2 subgroups: availables for everyone and availables only for a role I would like to do folder.objectValues() and get a list of objects filtereds but I don't have any idea if I

re: [Zope] catching shorter URLs

2007-07-08 Thread Ken Ara
Aaron, The Path Handler product (http://www.zope.org/Members/NIP/PathHandler) is your friend. Normally, you would create a path handler called 'games' and point it to your display_game method. To obtain the result you describe, you could move your display_game code into index_html and test for a

Re: [Zope] catching shorter URLs

2007-07-08 Thread Dieter Maurer
Aaron Maupin wrote at 2007-7-8 11:12 +0900: >I'm trying to make pretty URLs for a game site I'm developing, and due >to the hosting environment I'm somewhat limited in my Apache URL >rewrites. (I've tried the normal mod_proxy / mod_rewrite rules and they >haven't worked in this environment.) >

Re: [Zope] Setting REQUEST on next page

2007-07-08 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2007-7-7 16:38 +0200: >Someone could tell me how to pass a variable without put in the URL using >RESPONSE.redirect? > >For example, if code is... > >

Re: [Zope] handling exceptions for external methods

2007-07-08 Thread Dieter Maurer
Jonathan wrote at 2007-7-7 08:55 -0400: > ... >Just one caveat: you cannot define a class within an external method and >then return an instance of that class (the routine that invoked the external >method will not have any reference to the instance's class). You can. You must, however, be awa

Re: [Zope] Logon process

2007-07-08 Thread Dieter Maurer
Garito wrote at 2007-7-7 14:17 +0200: > ... >And this is the Logon code: > >from AccessControl import getSecurityManager > >usuario = context.acl_users.validate(context.REQUEST) Usually, the login in performed by the user folder automatically (provided, you use the correct form variables (what you

Re: [Zope] handling exceptions for external methods

2007-07-08 Thread Dieter Maurer
David Bear wrote at 2007-7-6 14:55 -0700: > ... >5 external methods do not have access to stdin/stdout They have. However, "stdin/stdout/stderr" have not much worth in "server mode". "server mode" means that there is no "terminal" where this IO comes from is directed to. You can change Zope's s