Attachment 'page.py'

Download

   1 import sys
   2 
   3 class Page:
   4     pass
   5 
   6 class TicketPage(Page):
   7     pass
   8 
   9 class GroupPage(Page):
  10     pass
  11 
  12 def page(name, *args, **kw):
  13     className = name.split(None)[-1] + 'Page' # extended name for now
  14     pageClass = globals().get(className, Page)
  15     return pageClass(*args, **kw)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2005-06-21 02:27:36, 0.3 KB) [[attachment:page.py]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.