Hi folks,
I’m using the renderer to dynamically build an email template like so:
local.args.tip = “Here are some valueable tips that will help you get the most out of the app.”;
local.args.footer = “emails/email_footer”;
local.htmlview = getPlugin(‘Renderer’).renderLayout(layout="emails/Layout.Email,view=“emails/#rc.email#”,args=local.args);
Inside the layout I then have two render statements. One for the main view:
#renderView(view=arguments.view,args=arguments.args)#
And one for the dynamic footer:
#renderView(view=arguments.args.footer,args=arguments.args)#
The issue i’m experiencing is the renderView for the footer is simply duplicating arguments.view and bypassing the arguments.args.footer variable.
Is this a bug?
Thanks
Nolan