Bug in Renderer?

6 views
Skip to first unread message

Nolan Dubeau

unread,
Feb 10, 2012, 12:19:20 PM2/10/12
to col...@googlegroups.com
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:

<cfoutput>#renderView(view=arguments.view,args=arguments.args)#</cfoutput>


And one for the dynamic footer:

<cfoutput>#renderView(view=arguments.args.footer,args=arguments.args)#</cfoutput>


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

Luis Majano

unread,
Feb 10, 2012, 12:30:24 PM2/10/12
to col...@googlegroups.com
is this in 3.5?
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To post to this group, send email to col...@googlegroups.com
To unsubscribe from this group, send email to coldbox-u...@googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/coldbox
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org

Nolan Dubeau

unread,
Feb 10, 2012, 12:58:22 PM2/10/12
to col...@googlegroups.com
No.  3.0

Luis Majano

unread,
Feb 10, 2012, 1:42:31 PM2/10/12
to col...@googlegroups.com
Can you try in 3.5

Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages