[Zope] Question about the code ...

Small Business Services toolkit at magma.ca
Wed Jun 9 20:21:53 EDT 2004


From: "Samy Beja" <samybeja at hotmail.com>
> My Zclass is named PatternClass and the function that makes troubles is
> PatternClass_add.
> Here you are the code I put in it but, still with the syntax error.
>
> #<HTML>
> #<HEAD><TITLE>Add PatternClass</TITLE></HEAD>
> #<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
> #<dtml-with PatternClass.createInObjectManager(REQUEST [headLine],REQUEST)
> #<dtml-call
> "propertysheets.PatternDescription.manage_editProperties(REQUEST)">
> #</dtml-with>
> #<dtml-if DestinationURL>
> #<dtml-call "RESPONSE.redirect(DestinationURL+?/manage_workspace?)">
> #<dtml-else>
> #<dtml-call "RESPONSE.redirect(URL2+?/manage_workspace ?)">
> #</dtml-if>
> #</body></html>

You are missing some quotations and a closing bracket in the first dtml
call:

<dtml-with "PatternClass.createInObjectManager(REQUEST [headLine],REQUEST)">



Jonathan





More information about the Zope mailing list