The present example of fetching data with SmartWrapper in the generator is working fine, but it will good to have some more examples, like the following one. Once this is elaborated we can close this issue and add it in the wiki also.
POST call on a event from the same component where dynamic data is passed in the payload.