appypod-rattail/gen/templates/wrappers.pyt

26 lines
1 KiB
Plaintext
Raw Normal View History

2009-06-29 07:06:01 -05:00
# ------------------------------------------------------------------------------
from appy.gen import *
2011-11-28 15:50:01 -06:00
Grp = Group # Avoid name clashes with the Group class below and appy.gen.Group
Pge = Page # Avoid name clashes with the Page class below and appy.gen.Page
from appy.gen.wrappers import AbstractWrapper
from appy.gen.wrappers.ToolWrapper import ToolWrapper as WTool
from appy.gen.wrappers.UserWrapper import UserWrapper as WUser
from appy.gen.wrappers.GroupWrapper import GroupWrapper as WGroup
from appy.gen.wrappers.TranslationWrapper import TranslationWrapper as WT
from appy.gen.wrappers.PageWrapper import PageWrapper as WPage
from Globals import InitializeClass
from AccessControl import ClassSecurityInfo
tfw = {"edit":"f","cell":"f","view":"f"} # Layout for Translation fields
2009-06-29 07:06:01 -05:00
<!imports!>
<!User!>
2011-11-28 15:50:01 -06:00
<!Group!>
<!Translation!>
<!Page!>
Page.pages.klass = Page
setattr(Page, Page.pages.back.attribute, Page.pages.back)
<!Tool!>
2009-06-29 07:06:01 -05:00
<!wrappers!>
# ------------------------------------------------------------------------------