[ZPT] Re: xpath: expression type?

2005-10-11 Thread Chris Withers
Tonico Strasser wrote: OTOH I would love a ZPT implementation with less expression types; e.g. without 'python:', 'string:' and 'exists:' expressions. Read only templates. I don't think truly read-only templates would be very useful ;-) Maybe a subclass in Zope 3 would let you disable all the

[ZPT] Re: xpath: expression type?

2005-10-11 Thread Tonico Strasser
Chris Withers schrieb: Tonico Strasser wrote: OTOH I would love a ZPT implementation with less expression types; e.g. without 'python:', 'string:' and 'exists:' expressions. Read only templates. I don't think truly read-only templates would be very useful ;-) Yes, read-only is the wrong t

[ZPT] ZPT and ZSqL question

2005-10-11 Thread Tom Twyman
Hello all! I am trying to construct a login page. I have users registering on the site using ZPT, python script, and ZSQL methods, and their account information is held in a table ("clients") in a psql database. Now, I want to be able to garner their clientid (primary key) during login, and

[ZPT] sending email

2005-10-11 Thread Tom Twyman
Hello all! I am trying to send an email from a login page as a form of confirmation. I have the following script inserted into the python script that performs the login: BTW - I DO have a MailHost object, set to the correct FQDN according to my provider. # email them confiirmation #try: #