Siebel Open UI adding custom control to Form Applet
Hi,
I would like to add custom Text Control to a form applet, just like the one in bookshelf for list column:
XXXAppletPM.prototype.Setup = function (propSet) {
var mycontrol = SiebelApp.S_App.GetAppletControlInstance("UP_ARROW",
consts.get("SWE_CTRL_LABEL"), "Up", "40");
this.Get("GetListOfColumns")["UP_ARROW"] = mycontrol;
SiebelAppFacade.XXXAppletPM.superclass.Setup.call(this, propSet);
};
My code is as follows:
AccountPM.prototype.Setup = function (propSet) {
var mycontrol = SiebelApp.S_App.GetAppletControlInstance (
"Client_Select",
consts.get("SWE_CTRL_TEXT"),
"Address",
"250");
this.Get("GetControls")["Client_Select"] = mycontrol;
// Setup is called each time the object is initialised.
// Add code here that should happen before default processing