[Zope] What is the Python script that is similar to a dtml-in call

Small Business Services toolkit at magma.ca
Mon May 31 08:53:38 EDT 2004


From: "Larry McDonnell" <larry at technologyinedu.com>
>
> I use the serial_number variable to look up the record. Does the
> dtml-call return a status back if the record is not found?
>
> >> <dtml-call "REQUEST.set('serial_number', serial_number)">
> >>
> >> <dtml-in lookup_header_record>
> >>   <dtml-call "REQUEST.set('equip_type', equip_type)">
> >>   <dtml-call "REQUEST.set('pr', pr)">
> >> </dtml-in>
> >>

By 'record' do you mean the variable 'serial_number' in the above
REQUEST.set statement?

dtml-call won't 'return' anything.  If, in your REQUEST.set('label',
variable) statement 'variable' is not defined you will get an error.


Jonathan





More information about the Zope mailing list