hi there everyone.
got something strange happening...
i have this code...
<cfif (isDefined("url.format") and url.format is "pdf")>
<cfdocument format="PDF">
</cfif>
Some code, and eventually the report to show
<cfif (isDefined("url.format") and url.format is "pdf")>
</cfdocument >
</cfif>
but it bombs, telling me that i need to opening cfdocument tag, but
im not sure why, as the if clause confirms not true... if i remove the cfif
tags, will work just fine.
here is the error:
Context validation error for tag cfdocument.
The end tag </cfdocument> encoutered on line 259 at column 11 requires
a matching start tag.
The error occurred in C:\Inetpub\wwwroot\dpv\report_fullDayReport.cfm: line 259
257 :
258 : <cfif NOT (isDefined("url.format") and url.format is "pdf")>
259 : </cfdocument>
260 : </cfif>
--
tony
Tony Weeg
macromedia certified coldfusion mx developer
email: tonyweeg [at] gmail [dot] com
blog: http://www.revolutionwebdesign.com/blog/
cool tool: http://www.antiwrap.com
"...straight cash homey"
- randy moss, now a raider
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212775
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54