Re: [Zope] Python Scripts and HTML Forms

2006-08-18 Thread Muk Yan
) Jonathan - Original Message - From: Muk Yan To: Jonathan Cc: zope@zope.org Sent: Thursday, August 17, 2006 4:40 PM Subject: Re: [Zope] Python Scripts and HTML Forms Hey All,Sorry about that, what I meant is that I get a KeyError. It says that the first_name

[Zope] Python Scripts and HTML Forms

2006-08-17 Thread Muk Yan
Dear Trusted Zope Zealots,This subject was a bit too broad to do a google search on, because I've tried and the lack of relevancy was astounding.I've probably been committing a cardinal sin in DTML, but I couldn't figure any other work around. I have an HTML form in a DTML Document say:form

Re: [Zope] Python Scripts and HTML Forms

2006-08-17 Thread Muk Yan
check for the presence of a form variable by if REQUEST.has_key('first_name'): or if REQUEST.get('first_name', None): hth Jonathan - Original Message - From: Muk Yan To: zope@zope.org Sent: Thursday, August 17, 2006 2:57 PM Subject: [Zope] Python Scripts and HTML

Re: [Zope] Python Scripts and HTML Forms

2006-08-17 Thread Muk Yan
: What does it doesn't seem to work mean? Error messages/traceback? What does your form script contain? More info on the problem is definitely required! Jonathan - Original Message - From: Muk Yan To: Jonathan ; zope@zope.org Sent: Thursday, August 17, 2006 4:20

[Zope] Providing Arguments to ZSQL Methods that Insert and Update in Python

2006-08-06 Thread Muk Yan
! Take care,Muk Yan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Providing Arguments to ZSQL Methods that Insert and Update in Python

2006-08-06 Thread Muk Yan
Thanks Andreas, sorry about the confusion.What I want to do is call the ZSQL Method from a Python script instead of from a DTML Document or Method. I want to know if there's a way to provide arguments from the Python Script to ZSQL Methods with Updates and Inserts.This is just a toy

[Zope] Filling Out a PDF

2006-08-03 Thread Muk Yan
Dear Knowledgeable Zope Zealots,Thanks for pointing me in the right direction last time, I just didn't know that I should have searched for zsql instead of sql.I've racked my brain and searched the great vastness to no avail. I have some PDF forms that I've converted to HTML in order for people to

[Zope] MySQL queries in Python

2006-08-01 Thread Muk Yan
. Thanks and take care,Muk Yan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo

[Zope] Using the DTML REQUEST Object

2006-07-18 Thread Muk Yan
, but I was wondering if there was any way to pass information from DTML Documents to DTML Methods and vice versa (and maybe from DTML Methods to DTML Methods) without using the REQUEST object. Thanks and take care, Muk Yan ___ Zope maillist - Zope@zope.org