Re: [Zope] ZClasses and ZCatalog: reindexing problem
Anthony:
<HTML> <HEAD><TITLE>Add peopleClass</TITLE></HEAD> <BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555"> <dtml-if DestinationURL>
<dtml-call "RESPONSE.redirect( DestinationURL+'/manage_workspace')">
<dtml-else>
<dtml-call "RESPONSE.redirect( URL2+'/manage_workspace')">
<dtml-with "peopleClass.createInObjectManager(REQUEST['id'], REQUEST)"> <dtml-call "propertysheets.personal_info.manage_editProperties( REQUEST)"> <dtml-call reindex_object> </dtml-with>
</dtml-if>
</body></html> That encapsulation is how I got mine to work when an <if> is included in the method. Does it work now too?
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
participants (1)
-
Jason Spisak