I resolve my problem modifying file
C:\Zope\2.11.1\Zope\lib\python\DocumentTemplate\DT_InSV.py
Method __getitem__
Changing
if l 0:
alt_prefix = self.alt_prefix
if not (alt_prefix and key.startswith(alt_prefix)):
raise KeyError, key
The application is already designed with dtml. This is a little change.
Before I rename it the fields in zsql to avoid conflicts.
2008/11/8 Andreas Jung [EMAIL PROTECTED]
Any particular reason for using DTML instead of ZPT? DTML is dead.
-aj
On 06.11.2008 20:53 Uhr, Miguel Beltran R.
Any particular reason for using DTML instead of ZPT? DTML is dead.
-aj
On 06.11.2008 20:53 Uhr, Miguel Beltran R. wrote:
Hi list
After read http://plope.com/Books/2_7Edition/AppendixA.stx#2-19 I tried
use two dtml-in for get information from zsql diferents, but say This
resource may be trying
Bill Welch writes:
I'm having trouble with nested dtml-in. The outer ZSQL returns the
coordinates of a zip code as zlat and zlong. The inner ZSQL takes
zlat and zlong as well as Range and Otype as arguments.
When I run it I get:
Error Type: Bad Request
Error Value: ['zlat',