Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I'm still struggling with the promises paradigm to include in the paradigm:
var p = global.getAuthenticatedUser(function(reply){
alert('User:'+reply.qReturn);
var v = reply.qReturn;
console.log(reply.qReturn);
console.log(afe_encryptUser(v));
});
Later in the code I have to display the authenticated user.
If I include the layout code inside the promise I don't have access to the layout and $element of the paint function.
Does some have example code how to achieve this?
Kind Regards,
Dion