im not saying a udf doesnt have it's place anymore... im just saying it is cleaner to build them like a componet..
<cffunction name="CapFirst" returntype="string" output="false">
<cfargument name="str" type="string" required="true" />
<cfset var newstr = "" />
<cfset var word = "" />...
in my eyes, a udf is old school....
you can create a udf.cfc page with all your functions in it...
instanciate it
<script>
objUDFs = createObject('component','cfcs.udfs');
</script>
then you can call your function like you would with a udf...
this is for you AJAX Buffs......
http://www.cbronline.com/article_news.asp?guid=484BC88B-630F-4E74-94E9-8D89DD0E6606
----------------------------------
htower
if( !succeed ) try( );
the reason for doing that is to get away from descriptive names.......
you dont want to go through the direcorty structure to get a file you want the Application to get the file for you....
this way you dont get the human hands on it to mess it up...
you should have a descriptive title for...
what i like doing is uploading the file to the directory where i store files then i add a record into a db (where i store my documents for quick reference)
then i rename the file just uploaded to the primary key for the documents. so thisIsTHeOldFIleName.xls and change it to 25.xls...
Try adding a file path in the cfcontent tag
<cfcontent type="text/msexcel" file="fullPathtoTheFile.xls">
----------------------------------
htower
if( !succeed ) try( );
have you looked at CASE..
in your stylesheet what si the case of the class.
what case you you using in your code to display.. example.
STYLESHEET *******
.header{whatever}
******************
in code
<div class="Header">Text Here </div>
also check the case of the .css file and where you are...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.