what's the commandMap.execute(command,payLoad..) he payLoad argument meaing?
I never using this argument. and I Just wana to know what it
mean and its job for?
Thank you.
Comments are currently closed for this discussion. You can start a new one.
I never using this argument. and I Just wana to know what it
mean and its job for?
Thank you.
Comments are currently closed for this discussion. You can start a new one.
2 Posted by Jos Yule on 10 May, 2011 02:20 PM
You can use this to "run" or "execute" another command directly.
The PayLoad argument is the "event" instance which the command would normally be expecting. If your command doesn't have the event injected into it, you can leave payLoad as null.
Peace
jos
Support Staff 3 Posted by Stray on 11 May, 2011 08:25 AM
Hi Alan - Jos is correct.
You would never use this normally in building your application. The real purpose is to allow people to build extensions and utilities which center around Commands.
Stray
Stray closed this discussion on 11 May, 2011 08:39 AM.
Alan re-opened this discussion on 11 May, 2011 03:01 PM
4 Posted by Alan on 11 May, 2011 03:01 PM
I know it . thanks all, Think about my codes always inject one or more control event. meaning I little bit "Close"
should 'Open' more:)
Stray closed this discussion on 11 May, 2011 03:48 PM.