(my) faulty ZClass constructor
Hi all I realize it's probably going to turn out to be my mistake all along .. anyway, further testing shows that this works:: <dtml-call "RESPONSE.redirect( DestinationURL()+'/manage_workspace')"> but this:: <dtml-if DestinationURL> <dtml-call "RESPONSE.redirect( DestinationURL()+'/manage_workspace')"> </dtml-if> generates a:: Error Type: TypeError Error Value: call of non-function (type string) with traceback ending:: File C:\programs\ZopeDev\lib\python\DocumentTemplate\DT_Util.py, line 335, in eval (Object: RESPONSE.redirect( DestinationURL()+'/index_html')) (Info: DestinationURL) File <string>, line 0, in ? TypeError: (see above) What difference does the <dtml-if> make to DestinationURL? -- Jean Jordaan -- technical writer -- Mosaic Software -- Zope 2.1.6 on WinNT and W2K
participants (1)
-
Jean Jordaan