[ZPT] Re: single TAL file for displaying contents!
Tonico Strasser
contact_tonico at yahoo.de
Mon Aug 9 07:34:04 EDT 2004
Chris Withers wrote:
> Tonico Strasser wrote:
>
>> # data root
>> folder = context.data
>> try:
>> folder = folder.restrictedTraverse('/'.join(traverse_subpath))
>> except:
>> #404
>> pass
>
>
> I do hope this is a joke :-/
Sorry for you, this is not a joke :-/
> bad bad bad don't do this ever bad bad bad
I guess you mean the (not) error handling. I just wanted to discuss the
basic idea of browsing folder contents with a script, but did not
provide code for proper error handling and other fine-tunings.
Tonico
More information about the ZPT
mailing list