[Zope] change textfile
Bjørge Solli
Bjørge Solli
Wed, 24 Jul 2002 12:58:10 +0200 (CEST)
I am trying to make and change a textfile.
I'm trying to do it this way:
context.manage_addFile(id)
getattr(context,id).manage_edit(title,data)
This sets content_type(Property) to the value of data. I want to put the
contents of data INTO the file, and have content_type to be text/html.
Any suggestions?
Thanks in advance.
regards
Bjorge
--
http://www.lstud.ii.uib.no/~s0182/smile/Smiles
--
Bjørge Solli - Universitas Bergensis, Norway
mailto:Bjorge@Kvarteret.no icq#29210281 MSN:bobelloco@hotmail.com
Møllendalsv.19, 5009 Bergen, Norway tel:55202853/91614343