main_plugin = Stack (
page=page,
title="global container",
- togglable=False,
+ domid='thestack',
+# togglable=False,
sons=[Tabs (
page=page,
- title="different angles",
- active_domid='with-checkboxes',
+ title="2 tabs : w/ and w/o checkboxes",
+ domid='thetabs',
+ toggled=False,
+ active_domid='checkboxes',
sons=[
Hazelnut (
page=page,
title='a sample and simple hazelnut',
- togglable=False,
+ domid='simple',
+# togglable=False,
# this is the query at the core of the slice list
query=main_query,
),
Hazelnut (
page=page,
title='with checkboxes',
- domid='with-checkboxes',
- togglable=False,
+ domid='checkboxes',
+# togglable=False,
checkboxes=True,
# this is the query at the core of the slice list
query=main_query,
),
]),
+ Hazelnut (
+ page=page,
+ title='not in tabs',
+ domid='standalone',
+ toggled=False,
+ # this is the query at the core of the slice list
+ query=main_query,
+ ),
QueryCode (
page=page,
title='xmlrpc code',
),
])
- # variables that will get passed to the view-plugin.html template
+ # variables that will get passed to the view-unfold2.html template
template_env = {}
# define 'unfold2_main' to the template engine
# define {js,css}_{files,chunks}
prelude_env = page.prelude_env()
template_env.update(prelude_env)
- result=render_to_response ('view-slice.html',template_env,
+ result=render_to_response ('view-unfold1.html',template_env,
context_instance=RequestContext(request))
print 'result=',result
return result