def assemble(self): self.define_page(HTML5Page).use_layout(BasicPageLayout()) detour_ui = self.define_user_interface('/uiWithDetour', UIWithDetour, IdentityDictionary(), name='second_ui') bookmark = detour_ui.get_bookmark( relative_path='/firstStepOfDetour') self.define_user_interface('/uiWithLink', UIWithLink, IdentityDictionary(), name='first_ui', bookmark=bookmark)
def assemble(self): self.define_page(HTML5Page).use_layout( PageLayout( contents_layout=ColumnLayout('main').with_slots())) self.define_user_interface('/a_ui', UIWithParameterisedUserInterfaces, IdentityDictionary(), name='myui')
def assemble(self): self.define_page(HTML5Page).use_layout( PageLayout( contents_layout=ColumnLayout('main').with_slots())) self.define_user_interface('/a_ui', UIWithDetour, IdentityDictionary(), name='test_ui')
def assemble(self): self.define_page(HTML5Page).use_layout(BasicPageLayout()) self.define_user_interface('/a_ui', UIWithParameterisedUserInterfaces, IdentityDictionary(), name='myui')
def assemble(self): self.define_page(HTML5Page) self.define_user_interface('/a_ui', I18nUI, IdentityDictionary(), name='test_ui')
def assemble(self): self.define_page(HTML5Page).use_layout(BasicPageLayout()) self.define_user_interface('/a_ui', UIWithTwoViews, IdentityDictionary(), name='test_ui')