OnRequest automatically Load A background pattern on every page
Good Morning,
I have an application.cfc page that works (see below). On every new page that i create the header and footer displays as expected. However i cannot figure out how to make it so that a image background will automatically display in my application.cfc. Is there a <cfinclude> background tag in which i can incorporate into my application.cfc page? Any suggestions.
<cfcomponent output="false">
<cfset this.datasource="bookstore">
<cffunction name="OnRequestStart" returntype="boolean" output="true">
<!---Any variable set here can be used by all out pages--->
<cfset request.company = "Books Wazu">
<!---Display Header on every Page--->
<cfinclude template="header.cfm">
<cfreturn true>
</cffunction>
<cffunction name="OnRequestEnd" returntype="boolean" output="true">
<!---Display Footer on every Page--->
<cfinclude template="footer.cfm">
<cfreturn true>
</cffunction>
</cfcomponent>
