View Full Version : Ext.Window return value question

23 Feb 2010, 4:54 PM
I have the form panel and comboBox in the form.

ComboBox has the link near the field, which open the modal window using Ext.Window.

I have the link on this window, which needs to setup new value for the ComboBbox on the main form.

I did not think that it would be so difficult to do.

I've tried to use Ext.getCmp().setValue('newval') and the window does not see the combo control on the main form. Is there any other way to do it ?

Please help...regards


24 Feb 2010, 12:28 AM
Just Ext.getCmp()? WIthout telling it which Cmp you want to get?

24 Feb 2010, 8:32 AM
No, I had the field reference as well...I've figured out what was the problem.

My ComboBox did not have id defined just the hiddenName, as soon as I defined id I was able to do it.