Thanks for your response, Sandeep. But can you suggest any way with Decorators? The link you shared is not  with respect to Decorators but with UI Macro.