-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 05 August 2002 05:40 am, Rares Vernica wrote:
Hi, Hello.... I'm a kind of beginner with Zope. Me, too. I'm still reading books and documentation. You will even after you're not a beginner! :-) I'm tring to do something and the Zope help system doesn't help me at all. It's so dense that you may have missed something. For instance, there's a section on forms (very basic concept type stuff) that I missed for a long time...in the Zope Book... The problem is with all those objects, without any help for them. For example, I wanted to use "REQUEST.SESSION" but I don't know what kind The way I'm figuring this out is to play with it in Zope. I haven't quite figured out what a request (lowercase here...) is, but I think it's all the information that is passed back and forth to and from your web browser to the web server and back. The REQUEST object simply puts all of this information into one place. Then, you can get to it. Like the Zope Book demonstrates, if you just do <dtml-var REQUEST> you'll see what's in the REQUEST object (and in the request). If you want to pull out certain information, you can do, for example, <dtml-var REQUEST.authenticated_user>, which should tell you your login name, if you're just using the view tab of the ZMI...I agree that the REQUEST object isn't very well documented. It's there, but no examples, or few examples...
of object it is, what methods does it have. Again, the same problem with "ZClass". On the other part I use (as I saw in an example) "manage_editProperties" method, where is it documented? I don't like at all this BLIND PROGRAMMING! Do you? Nope. Free software has a problem that Documentation is typically lacking. I can't say too much, as I'm not a developer or a documenter. ;-)
HTH Russell - -- Linux -- the OS for the Renaissance Man -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9TnGbAqKGrvVshJQRAtwmAKCnrPfKxStAvsQwsdMTvxE845TWcgCgsBfK OamXB3QP2zFs1vflq9xt7SI= =8axf -----END PGP SIGNATURE-----