I have a ZClass that I would like to be able to create
using the management interface and in DTML from the
users end with the same DTML script.  I believe I need
something like this to get it to work:

(if in management interface)

<dtml-call "create_my_zclass(_.None, _)">


<dtml-with "manage_addProduct['my_zclass']">
<dtml-call "create_my_zclass(_.None, _, NoRedir=1)">

and create_my_zclass has this code in it:


How do I create the first if else?
Is there a better/easier way of doing this?

Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to