[Zope] File upload and setting Property

Timothy Wilson wilson@visi.com
Sun, 12 Aug 2001 08:04:34 -0500 (CDT)


On Sun, 12 Aug 2001, Tilo Renz wrote:

> I want to upload a file and set some Propertys on this file. But when I created the file I cannot acces it to add a property with manage_addProperty
> 
> I use this scheme:
> 
> 
> ## DTML-Method uploadForm
> ############################

You're using a DTML Method which cannot have properties. DTML Methods are
methods of their containers--a folder, for example. If you need to set
properties, you'll want to use a DTML Document.

-Tim

--
Tim Wilson      |   Visit Sibley online:   | Check out:
Henry Sibley HS |  http://www.isd197.org   | http://www.zope.com
W. St. Paul, MN |                          | http://slashdot.org
wilson@visi.com |  <dtml-var pithy_quote>  | http://linux.com