You need to familiarize yourself with the EXT library if you want to use it. Then all you need to do is write a JavaScript function that would create Ext.FormPanel and return it. Here is the example of such a function that displays a form of a CreditAccount object and for simplicity just displays credit limit and balance (we use this example in our test harnesses)
function CreditAccountForm (objectName, objectId, objectVersion)
{
var panel = new Ext.FormPanel ({
labelWidth: 70,
width: 300,
height: 400,
items: [
{
xtype: "textfield",
name: "balance",
id: "balance",
anchor: "99%",
fieldLabel: "Balance"
},
{
xtype: "textfield",
name: "limit",
id: "limit",
anchor: "99%",
fieldLabel: "Credit Limit"
}
]
});
return panel;
}
Once you write the function all you need is supply its name to the Configuration Tool. You also need to make sure that your JavaScript file is included into the system - this is explained in the reference guide.