Friday, August 23, 2013

Pass URL Params to Controller Command Cont...

In last post We left the part "How to get the particular  function which gets called before the final ControllerCmd"
We take the example of last command only from previous post XYZOrderPrepareCmdImpl extends OrderPrepareCmdImpl. There we already discussed prepareOrder(Map parameters) function in XYZOrderFacadeClient. How did we get it???

Steps:
1) Put your server in debug mode.
2) Override performExecute in XYZOrderPrepareCmdImpl.
3) Put a debug marker on entry pint of above function.
4) Call this flow. Below is the image which I got from my system.


You can search *OrderFacadeClient in debug with Map argument. This function we need to override and write our code to pass the value userData field.

1 comment: