[Zope] Changing DTML Methods into DTML Documents

Andy andy@agmweb.ca
Thu, 31 May 2001 22:21:37 -0700


Should be pretty straightforward, however moving from a Document to Method
gives one small problem that is important, Documents can have properties,
Methods dont. If you do the reverse, you will lose those properties.

Unless you are doing a lot you can just do it manually of course...

----- Original Message -----
From: <dave@kovach.com>
To: <andym@ActiveState.com>
Cc: <zope@zope.org>
Sent: Thursday, May 31, 2001 6:00 PM
Subject: Re: [Zope] Changing DTML Methods into DTML Documents


> thats great Andy.
>
> Will it work in reverse with the appropriate mods - so a document can be
turned into a Method.
>
> Your help doc seems - uh, helpful - can you give me alittle applied help
on how to actually make it work. Me = Novice.
>
>
> Thanks
>
> David
>
>
> On Thu, 31 May 2001, "Andy McKay" wrote:
>
> >
> > Well its pretty straight forward. I threw it into a how-to:
> >
> > http://www.zope.org/Members/andym/method_to_document/index_html
> >
> > Cheers.
> > --
> >   Andy McKay.
> >
> >
> > ----- Original Message -----
> > From: "Andy McKay" <andym@ActiveState.com>
> > To: <zope@zope.org>
> > Sent: Wednesday, May 30, 2001 3:05 PM
> > Subject: [Zope] Changing DTML Methods into DTML Documents
> >
> >
> > > I cant remember if someone wrote a script to do this. I need to
transform
> > > quite a lot easily so was going to write a quick script to do it,
unless
> > > someone has done one already...
> > >
> > > Cheers.
> > > --
> > >   Andy McKay.
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Zope maillist  -  Zope@zope.org
> > > http://lists.zope.org/mailman/listinfo/zope
> > > **   No cross posts or HTML encoding!  **
> > > (Related lists -
> > >  http://lists.zope.org/mailman/listinfo/zope-announce
> > >  http://lists.zope.org/mailman/listinfo/zope-dev )
> > >
> >
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>