-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi *,
I have a main window with my viewmodel.
Now, in a event/command on my viewmodel, which creates a a new window with Executions.createComponents.
And I want to pass the current viewmodel instance to my new created window.
So in my new created window zul file I can have <button onClick=@command('doSomething')/>, and the doSomething is a command method on my viewmodel.
Is this possible?
Thanks,
Madruga
Hi,
view the sample at
http://zkfiddle.org/sample/1mshmaq/11-File-Upload-and-communication-with-modal-window
Or you can use @global-command
Asked: 2012-03-13 21:21:22 +0800
Seen: 206 times
Last updated: Mar 16 '12