child forms in iprocess client browser

I am calling the following function on the double click event inside my GUI component to open a dialog box.

this.getAncestorOfName('blockForm').getParent().launchSimple('S1_policy_history');

//Where blockForm is the root element of the gui component.

ipcClass.prototype.launchSimple = function(dialog2open)

{

if(this.isS1Open==null){

var app = this.getApp();

var prototypePath = jsx3.ipc.Form.DIR 'euler/prototypes/'dialog2open+'.xml';

var objDialog = app.loadPrototype(app.getAppBlock(), prototypePath);

}

isS1Open=1;

};

Now, I am facing problem calling another function from the button inside this dialog.

I understand I am not referencing my javascript class that i have inserted into the config file of IPC browser.

Could someone help me here as i am new to IPC browser.

(1) Answer

Login