+# ########## add another plugin with the same request, on the RHS pane
+# will show up in the right-hand side area named 'related'
+ related_plugin = SliceList (
+ page=page,
+ title='Same request, other layout',
+ domid='sidelist',
+ with_datatables=True,
+ header='paginated slices',
+ # share the query
+ query=slices_query,
+ )
+ # likewise but on the side view
+ template_env [ 'unfold_margin' ] = related_plugin.render (request)
+
+ # add our own css in the mix
+ #page.add_css_files ( 'css/dashboard.css')
+
+ # don't forget to run the requests
+ page.expose_queries ()
+
+ # xxx create another plugin with the same query and a different layout (with_datatables)
+ # show that it worls as expected, one single api call to backend and 2 refreshed views