View Full Version : modal dialog screen and return value

18 Aug 2009, 10:14 AM

I am creating simple examples with extjs, to use in the future...

Normally in java script, as you know we can transmit data between screens like below

var result = window.showModalDialog(sURL,vArgs,sFeats);

My aim is below :

1. Second screen will be opened from first screen
2. User enter a value to textfield and when the form submits, it will displayed in the first screen

first part is easy
but in the second part I can not find a way,
normally you can set a textfield directly with submit
but if the second window is opened from several different windows, how can I handle it

thanks for your opinions