[Zope] HOWTO: Changing from DTML Document to Method and back.

Michel Pelletier michel@digicool.com
Tue, 24 Aug 1999 10:29:52 -0400


> -----Original Message-----
> From: Andreas Kostyrka [mailto:andreas@mtg.co.at]
> Sent: Monday, August 23, 1999 4:06 PM
> To: zope@zope.org
> Subject: [Zope] HOWTO: Changing from DTML Document to Method and back.
> 
> 
> Hi!
> 
> This is only intended as a tip, because it might not have 
> occured to all
> ZOPE developers yet.
> 
> Sometimes, one wants to change a DTML method into a document 
> or the other
> way. ZOPE doesn't support this (it doesn't fit to well into 
> it's object
> model), but you can do this quite nicely with some browser help ;)
> 
> My way of doing this is:
> 1.) Open the orginal object manage_edit in a new window. In netscape,
>     just click the middle button on the item in Folder 
> management view.
> 2.) Leave the new window alone for the moment an minimize it.
> 3.) In your folder management view, delete your original.
> 4.) Add the new object, be it method or document.
> 5.) Unminize the window created in step 1 and click on 
> "Change". Close the
>     window.
> 

Hey that's pretty cool.

-Michel

> Voila, you've changed the type of your entity without much fuzz.
> 
> Andreas
> --
> Andreas Kostyrka                     | andreas@mtg.co.at
> phone: +43/1/7070750                 | phone: +43/676/4091256   
> MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
> Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing 
> AUSTRIA        
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
> 
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
>