Bug in Renderer?

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

is this in 3.5?

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

No. 3.0

Can you try in 3.5