 
     data = @getData()
 
-    for {name, lazy, itemClass} in tabData
-      @tabs.addPane new KDTabPaneView {
-        view : {itemClass, data}
-        name
-        lazy
-      }
+    for {name, viewOptions} in tabData
+      @tabs.addPane new KDTabPaneView {name, viewOptions}
 
   _windowDidResize:->
     contentHeight = @getHeight() - @header.getHeight()


  constructor:(options={}, data)->

    options.cssClass or= "content-page"
    data or= {}
    super options, data


class EnvironmentsMainView extends JView

  tabData = [
    name        : 'VMS'
    viewOptions :
      lazy      : no
      viewClass : VMMainView
  ,
    name        : 'Domains'
    viewOptions :
      lazy      : yes
      viewClass : DomainMainView
  ]

  navData =
