26 lines
565 B
Smarty
26 lines
565 B
Smarty
|
|
Ext.namespace("{className}");
|
||
|
|
|
||
|
|
{className}.application3 = {
|
||
|
|
init:function(){
|
||
|
|
var pnlCenter=new Ext.Panel({
|
||
|
|
id:"pnlCenter",
|
||
|
|
|
||
|
|
region:"center",
|
||
|
|
border: false,
|
||
|
|
title: "Application3",
|
||
|
|
html: " Content3"
|
||
|
|
});
|
||
|
|
|
||
|
|
var pnlMain=new Ext.Panel({
|
||
|
|
id: "pnlMain",
|
||
|
|
|
||
|
|
layout: "border",
|
||
|
|
height: 150,
|
||
|
|
items:[pnlCenter],
|
||
|
|
|
||
|
|
renderTo: "divMain"
|
||
|
|
});
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
Ext.onReady({className}.application3.init, {className}.application3);
|