[Zope] Create my own edit form

Maik Jablonski maik.jablonski@uni-bielefeld.de
Tue, 12 Mar 2002 09:59:41 +0100


hi again,

didn't realize the problem that mydocument is a variable. its early in the
morning...;-)

try this as a python script where 'mydocument' is the id (as string) of the
object to display:

return getattr(context,mydocument).document_src()

greetings again, maik.

-- 
 maik jablonski                           visit www.zope.org,
 universitaet bielefeld                   LET'S GET ZOPED!!!!
 zentrum fuer lehrerbildung                                 
 didaktik des sachunterrichts                            
 postfach 10 01 31                                          
 33501 bielefeld 		    
 germany                                                    
 tel: + 49 (0) 521 106 4234                                 

 http://www.zfl.uni-bielefeld.de/
 http://www.sachunterricht-online.de/