[Zope] External Creation of ZClasses

Kevin Dangoor kid@kendermedia.com
Wed, 11 Aug 1999 16:26:57 -0400


Hi, Jason

    You can do it via DTML.  In KM|net News, I needed to add KMArticle
objects based on input from the user... Here is the call I used:

<dtml-call "KMArticle_add(_.None, _, NoRedir=1)">

NoRedir is a flag I added to the standard _add Method ZClass constructor so
that it wouldn't redirect at all (which is what I wanted in this
circumstance)

Kevin

-----Original Message-----
From: Jason Spisak <webmaster@mtear.com>
To: zope@zope.org <zope@zope.org>
Date: Wednesday, August 11, 1999 4:06 PM
Subject: [Zope] External Creation of ZClasses


>Zopesters,
>
>I want to create ZClasses without using the web interface.  It should be
>a external method right?  How do I get activated by a link in Zope?  Any
>help is greatly appreciated.
>
>--
>Jason Spisak
>webmaster@mtear.com
>
>_______________________________________________
>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 )
>