[Zope] arguments for myProduct_add?

Roger Erens rlwm.erens@home.nl
Thu, 23 Aug 2001 01:56:07 +0200


in taz[...] how-to http://www.zope.org/Members/tazzzzz/addZClasses about 
adding ZClass instances Programmatically
this code ought to be in the myProduct_add constructor:
<dtml-if NoRedir>
<dtml-else>
<!--#if DestinationURL-->
<!--#call "RESPONSE.redirect( DestinationURL+'/manage_workspace')"-->
<!--#else-->
<!--#call "RESPONSE.redirect( URL2+'/manage_workspace')"-->
<!--#/if-->
</dtml-if>

I do not see the point of this: if NoRedir is true, nothing happens; if it 
is false, again nothing happens. Were the comments not to be used here?