[Zope] Anyone using '-roman' in next-sequence tags?

Tony McDonald tony.mcdonald@ncl.ac.uk
Fri, 26 Mar 1999 15:55:09 +0000


Hi all,
just thought I'd check my sanity here...

the way to get roman numerals showing up as the label on a batch object is :

      <!--#if previous-sequence-->
        <a href="<!--#var URL--><!--#var sequence-query -->query_start=<!--#var
                 previous-sequence-start-roman -->">
        (Previous <!--#var previous-sequence-size--> results)
        </a>

      <!--#/if previous-sequence-->
isn't it? - I get a NameError, with the following traceback ('sub' is 
nowhere in my document btw)

<!--
 Error type: 
 Error value: sub
 -->

....

<!--
Traceback (innermost last):
  File lib/python/ZPublisher/Publish.py, line 877, in publish_module
  File lib/python/ZPublisher/Publish.py, line 590, in publish
    (Info: /Tim/show_all_events)
  File lib/python/OFS/DTMLMethod.py, line 155, in __call__
    (Object: show_all_events)
  File lib/python/OFS/DTMLMethod.py, line 151, in __call__
    (Object: show_all_events)
  File lib/python/DocumentTemplate/DT_String.py, line 513, in __call__
    (Object: show_all_events)
  File lib/python/DocumentTemplate/DT_In.py, line 599, in renderwb
    (Object: all_events_sql)
  File lib/python/DocumentTemplate/DT_InSV.py, line 388, in __getitem__
  File lib/python/DocumentTemplate/DT_InSV.py, line 127, in roman
  File lib/python/DocumentTemplate/DT_InSV.py, line 165, in Roman
NameError: (see above)
-->

cheers
tone
------
Dr Tony McDonald,  FMCC, Networked Learning Environments Project
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2