)
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
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
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
:
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
!
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
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
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
.
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
, 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