coldbox 3.5 - renderView HTML?

Hi guys,

Using renderView(), is it possible to render an HTML view as opposed to CFM?

Thanks.

Nolan

I just tried passing an HTML page as the view name and it bombed. Is there any other way to achieve this?

Reason being is that I’m building a module that leverages some html files and it would be great to leave them as html as opposed to converting them to cfm.

Thoughts?

Thanks.

Nolan

is it a pure HTML view or does it have cfm code in it?

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

Pure HTML

Nothing in the core Nolan.

var response = fileRead(‘something.html’);
Event.renderData(data=response,format=‘html’);

OR
// Handler
prc.response = fileRead(‘something.html’);
// In view…
#prc.response#