<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>WebBuilder Setup</title>
<link rel="stylesheet" href="webbuilder/controls/ext/resources/css/ext-all.css" type="text/css">
<link rel="stylesheet" href="webbuilder/css/style.css" type="text/css">
<script type="text/javascript" src="webbuilder/script/locale/wb-lang-en.js"></script>
<script type="text/javascript" src="webbuilder/controls/ext/ext-all.js"></script>
<script type="text/javascript" src="webbuilder/controls/ext/locale/ext-lang-en.js"></script>
<script type="text/javascript" src="webbuilder/script/wb.js"></script>
</head>
<body>
<div id="xwlLoadMask" style="height:auto;position:absolute;left:46%;top:40%;z-index:20001;"><img src="webbuilder/images/app/loading.gif" width="32" height="32" style="margin-right:8px;float:left;vertical-align:top;"><span style="line-height:35px;font-size:15px;font-weight:normal"><a href="http://www.putdb.com/main?xwl=forum" class="wb_link" target="_blank">Loading...</a></span></div>
<script language="javascript" type="text/javascript">
Ext.onReady(function(){
Wb.initialize(null,480);
Wd.installAjax={request:function(p){Wb.request(installAjax,p)},message:"Installing WebBuilder now, please wait...",output:"jndi, dbType",timeout:-1,url:"main?xwl=xwlfist",params:{},success:function(response,options){
Ext.Msg.show({
title:Str.information,
msg:'Congratulations, you have successfully installed WebBuilder.',
buttons:Ext.Msg.OK,
closable:false,
icon:Ext.MessageBox.INFO,
fn:function(){window.location='main';}
});
}};
Wd.window1=new Ext.window.Window({
width:600,closeAction:"hide",iconCls:"computer_icon",id:"window1",autoShow:true,title:"WebBuilder Setup",height:384,closable:false,layout:"border",resizable:false,listeners:{hide:function(win,options){
Wb.reset(win);
},show:function(win,options){
jndi.focus(false,true);
}},items:[
{id:"panel1",region:"center",layout:"absolute",xtype:"panel",items:[
{id:"titleLbl",text:"WebBuilder Setup",width:248,x:16,xtype:"label",y:16+4,style:"text-shadow:0 -1px 1px #FFFFFF;font-size: 22px;font-weight: bold;"
}
,{id:"warnLbl",text:"WARNING: This program is protected by copyright law and international treaties.",width:248,x:16,xtype:"label",y:226+4
}
,{id:"infoLbl",text:"The Install Wizard will install WebBuilder on the server. To complete the installation and configuration of the system, please enter JNDI and Type of the default database and then click Install.",width:248,x:16,xtype:"label",y:88+4
}
,{id:"wbImg",src:"webbuilder/images/site/wb.gif",y:8,x:424,xtype:"image",width:144,height:49
}
,{id:"fieldSet1",title:"Default Database Information",height:176,layout:"absolute",width:287,y:88,x:280,xtype:"fieldset",items:[
{id:"jndiLbl",text:"JNDI:",width:40,x:8,xtype:"label",y:16+4
}
,{id:"jndi",allowBlank:false,width:208,y:16,x:48,xtype:"textfield"
}
,{id:"egLbl",text:"eg: java:comp/env/jdbc/mydb",width:208,x:48,xtype:"label",y:40+4,style:"color:#8c8c8c;"
}
,{id:"dbTypeLbl",text:"Type:",width:40,x:8,xtype:"label",y:72+4
}
,{id:"dbType",allowBlank:false,listConfig:{maxHeight:180},width:208,y:72,editable:false,x:48,xtype:"combobox",minChars:0,store:['cloudscape','db2','derby','firebird','h2','hsqldb','informix','mysql','oracle','pointbase','postgresql','sapdb','solid','sqlserver','sybase','teradata']
}
,{id:"installBtn",width:128,y:112,x:79,xtype:"button",text:"Install",height:22,listeners:{click:function(button,event,options){
if(Wb.verify(fieldSet1))
Wb.confirm('Are you sure you want to  install WebBuilder?<br>WARNING: all existing data will be overwritten.',installAjax.request);
}}
}
]}
]}
,{id:"panel2",region:"south",frame:true,height:73,layout:"absolute",xtype:"panel",items:[
{id:"copyrightLbl",text:"Copyright (c) 2012 By putdb.com, All Rights Reserved.",width:408,x:8,xtype:"label",y:6+4
}
,{id:"putdbLbl",width:408,html:"For license and more information, please visit <a href='http://www.putdb.com' target='_blank'>http://www.putdb.com<\/a>.",x:8,xtype:"label",y:35+4
}
]}
]});
});
</script>
</body>
</html>