Attach an imported view to a tab

Hi,
Using Optimus, how to attach to a tab an imported view ?
The code bellow don’t work.
The FormView used in a layout works.

Code:
import { View } from “dhx-optimus”;
import { FormView } from “./FormView”;

export class TabbarView extends View {
init() {
return (this.tabbar = new dhx.Tabbar(“tabbar”, {
mode: “top”,
css: “dhx_widget–bordered”,
views: [
{ tab: “Detail”, id: “detail” },
{ tab: “Documents”, id: “documents”}
]
}));
}

ready() {
	this.tabbar.getCell("detail").attach(FormView);	// this code line don't work !
}   

}

Problem solved. Thanks