cleanup between plugin.name and plugin.uuid
[myslice.git] / engine / views.py
index bb7ba16..aaefc36 100644 (file)
@@ -23,26 +23,26 @@ def test_plugin_view (request):
     template_env = {}
     
     main_plugin = \
-        VerticalLayout ( title='title for the vertical layout',name='vertical1',
+        VerticalLayout ( title='title for the vertical layout',domid='vertical1',
         sons = [ SimpleList (title='SimpleList and dataTables',
-                             name='simplelist1',
+                             domid='simplelist1',
                              list=hard_wired_list, 
                              header='Hard wired', 
                              foo='the value for foo',
                              with_datatables=True,
                              toggled=False),
-                 Tabs (title='Sample Tabs',name='tabs1',
+                 Tabs (title='Sample Tabs',domid='tabs1',
                        active='raw1',
-                       sons = [ Raw (title='a raw plugin',name='raw1',
+                       sons = [ Raw (title='a raw plugin',domid='raw1',
                                      togglable=False,
                                      html= 3*lorem_p),
-                                SliceList(title='a slice list',name='slicelist-main',
+                                SliceList(title='a slice list',domid='slicelist-main',
                                           togglable=False,
                                           list=hard_wired_slice_names),
-                                Raw (title='raw title',name='raw2',
+                                Raw (title='raw title',domid='raw2',
                                      togglable=False,html=lorem) ]),
                  SimpleList (title='SimpleList with slice names', 
-                             name='simplelist2',
+                             domid='simplelist2',
                              list=hard_wired_slice_names,
                              ) ] )
     # define 'content_main' to the template engine
@@ -50,7 +50,7 @@ def test_plugin_view (request):
 
     ##########
     # lacks a/href to /slice/%s
-    related_plugin = SliceList (title='SliceList plugin',name='slicelist1',
+    related_plugin = SliceList (title='SliceList plugin',domid='slicelist1',
                                 with_datatables='yes', 
                                 list=hard_wired_slice_names, 
                                 header='Slices')