hemi345
04/26/2023, 3:05 PMfunction printable( event , rc, prc ) {
event.renderData(data="<b>this is a test</b>", type="PDF");
}
produces an error:
Attribute validation error for tag cfcontent.
1st line in stack trace is:
coldbox\system\core\conversion\DataMarshaller.cfc:147
If I remove the type="PDF" attribute, the page loads fine.
Tried this from the example at: https://coldbox.ortusbooks.com/the-basics/event-handlers/rendering-datajoechastain
04/26/2023, 3:51 PMhemi345
04/26/2023, 3:53 PMbdw429s
04/27/2023, 2:59 PMhemi345
04/28/2023, 1:42 PMhemi345
04/28/2023, 1:47 PM