renderingContent:function(widget){
uilayer.confirm("", this.renderingContextWidgetOnOkClick,this.contextChangeCancelHandler);
}
renderingContextWidgetOnOkClick:function(widget){
console.log(widget);
}
How do I pass widget parameter which I get in renderContent function to the callback this.renderingContextWidgetOnOkClick which gets invoked on click of OK as I cannot call this.renderingContextWidgetOnOkClick(widget) as then the function gets invoked directly without ok clicked?