tracker issue : CF-3744503

select a category, or use search below
(searches all categories and all time range)
Title:

[ANeff] Bug for: cfhtmlitem doesn't support additional attributes

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 04/16/2014

Components: Document Management, PDF Generation (CFHTML2PDF)

Versions: 11.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: PublicBeta /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Win All

Vote Count: 0

Listed in the version 11.0.03.292480 Issues Fixed doc
This works (cfdocumentitem):

<cfdocumentitem type="header" foo="bar">
  <cfoutput>#ATTRIBUTES.foo#</cfoutput>
</cfdocumentitem>

This fails (cfhtmltopdfitem):

<cfhtmltopdfitem type="header" foo="bar">
  <cfoutput>#ATTRIBUTES.foo#</cfoutput>
</cfhtmltopdfitem>

Expected result: Additional attributes should be passed thru

Actual result: Exception "Attribute validation error for the tag CFHTMLTOPDFITEM. It does not allow the attribute(s) FOO"

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3744503

External Customer Info:
External Company:  
External Customer Name: itisdesign
External Customer Email:

Attachments:

Comments:

Related thread: http://prerelease.adobe.com/r/?bafaa441a4394f9fa7716b66cd3a82bc
Comment by External U.
12633 | April 16, 2014 10:28:41 PM GMT
oops, minor typo in title.. cfhtmlitem should be cfhtmltopdfitem
Comment by External U.
12634 | April 29, 2014 03:42:56 AM GMT
Hi Adobe, I am very glad to see this is marked fixed =) Thanks!, -Aaron
Comment by External U.
12635 | August 21, 2014 06:46:12 AM GMT
This issue is fixed and this fix will be available in the upcoming update of ColdFusion 11.
Comment by Nimit S.
12636 | September 01, 2014 03:36:22 AM GMT
Hi Nimit, I've verified this is fixed in CF11 Update 3. Thanks very much!, -Aaron
Comment by External U.
12637 | November 03, 2014 04:48:44 AM GMT
Does this mean this can handle HTML inside the <cfhtmltopdfitem> tag now? You would think a tag that has HTML in its name could handle outputting HTML as an option. in cfdocument we used to be able to do things like this to output conditional footer based on what page we were on. <cfif len(attributes.PrintFooterHTMLLastPage) AND trim(cfdocument.totalpagecount) EQUALS trim(cfdocument.currentpagenumber)> <div style="text-align:right; margin-bottom:10px;"> #attributes.PrintFooterHTMLLastPage# </div> <cfelseif len(attributes.PrintFooterHTML)> <div style="text-align:right; margin-bottom:10px;"> #attributes.PrintFooterHTMLNormal# </div> </cfif>
Comment by External U.
12638 | January 27, 2015 11:45:45 AM GMT
submitted this bug because I didn't see it anywhere else, but seems like the next logical progression in the enhancement of this tag's functionality. https://bugbase.adobe.com/index.cfm?event=bug&id=CF-3928680
Comment by External U.
12639 | January 27, 2015 02:01:16 PM GMT