Attachment 'page.py'
Download
Toggle line numbers
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.You are not allowed to attach a file to this page.