PDA

View Full Version : Send Refresh-Command from a Window to another Window



benmaya
2 Nov 2011, 11:03 PM
Hello,

I am developing an app using the great desktop module.
I want to know if I can have a button on one window that will refresh the other window data?
I tried something like this:
window_id.store2load.reload() but it doesn't work

any idea?
thanks!

mitchellsimoens
3 Nov 2011, 7:45 AM
It's very possible but somewhere you would have to have a reference of the window.

benmaya
3 Nov 2011, 8:05 AM
thanks!
when you say reference do you mean window id?

mitchellsimoens
3 Nov 2011, 8:12 AM
thanks!
when you say reference do you mean window id?

Try not to set id on components

benmaya
3 Nov 2011, 9:25 AM
so how else I can create reference ?