Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. DigitalRedneck

    Change a DIV based on a CFINPUT

    you can use cfAJaxProxy <cfajaxproxy cfc="path.to.cfc" jsclassname="nameToCallVar" /> <script> var cfcAsAjax = new nameToCallVar(); now you can use those functions in javaScript </script> if(!SUCCEED) try();
  2. DigitalRedneck

    htaccess + masking + CGI.SERVER_NAME

    sounds like you should be doing that in your webserver.. i.e. apache or iis. if(!SUCCEED) try();
  3. DigitalRedneck

    Newbir Question: Passing variables

    you could pass it in session,client,url,form, etc.... if(!SUCCEED) try();
  4. DigitalRedneck

    CreateUUID for images

    You could have an images table and name the image the imageID and have a userID in the table then you could query the userid to find all images for the user.
  5. DigitalRedneck

    CF server

    Dont know if im understanding you correctly but are your links variableized. meaining are you posting your link like <a href="http://www.yoursite.com?id=1">link</a> OR <a href#cgi.script_name#?id=1">link</a>
  6. DigitalRedneck

    how to catch all errors regarding database in the application

    if using Application.cfc a good way to do that is with the onError method. <cffunction name="onError"> <cfargument name="Exception" required="true" /> <cfargument type="String" name="EventName" required="true" /> <!--- Log all errors. ---> <cfif arguments.exception.type EQ "database">...
  7. DigitalRedneck

    CFLOCK When to use?

    Very Well Put cfSearching...
  8. DigitalRedneck

    CFLOCK When to use?

    With Version 8 i generally only lock Writes not Reads.. I am Confident that my code is sound and have not experienced any deadlocks over the past 3 years.
  9. DigitalRedneck

    CFLOCK When to use?

    this might help better explain. http://www.horwith.com/index.cfm/2008/7/17/CFLOCK-further-explained
  10. DigitalRedneck

    Output table values

    Try this: <cfquery name = "myQuery" datasource = "mydsn"> select * from tableOne </cfquery> <cfoutput> <cfset variables.rowCount = 0> <cfloop query="myQuery"> <cfset variables.rowCount = variables.rowCount + 1> <cfloop list="#myQuery.columnList#" index="variables.columnName"> <cfset...
  11. DigitalRedneck

    Site-wide Error Handling

    did you put that in the Missing Template Handler or the site-wide Error Handler... Missing Template Handler when ColdFusion cannot find a requested template Site-wide Error handler when ColdFusion encounters errors while processing a request
  12. DigitalRedneck

    CFLOCK When to use?

    No you dont need to use CFLock on every query. I only use them with I am doing Session Management or when i am doing Inserts to a database, things that you would be doing at simultanious times based on users.
  13. DigitalRedneck

    Populating a Barcode field in a PDF

    Are you using an absolute or relative path in displaying you image.. we had this problem about 2 years ago and we found that the path had to be absolute, it bombed or just didnt show if the path was relative. HTH
  14. DigitalRedneck

    How do I create fake directories?

    sorry for the bad vibe not trying to ruffle any fethers... I was just stating that you could have IIS or Apache to do the rewrite and you could have pretty URL's.. That is all.. Again, Sorry if my comments were taken rude.
  15. DigitalRedneck

    How do I create fake directories?

    Not True. Read the Article and the Comments.... Usually the comments have more and even better info than the article... You can use IIS or Apache to do server side parsing which would allow you to have url's like http://www.mysite.com/theName
  16. DigitalRedneck

    What is ColdFusion... (i read the wiki article)

    Yes. all 3.. It can run on IIS, Apache, it's Own thing (JRun) WebSpere, etc... and much much more. go to www.adobe.com and learn more.
  17. DigitalRedneck

    How do I create fake directories?

    read up on this article and this might clear things up.. http://www.coldfusionjedi.com/index.cfm/2005/8/2/Ask-a-Jedi-Working-with-SES-URLs-and-ColdFusion
  18. DigitalRedneck

    Null attribute in cfprocparam - is this a bug

    or you could do this: <cfprocparam type="in" <cfif IsDefined('varNotDefined')> value="#varNotDefined#" <cfelse>null="true"</cfif>cfsqltype="cf_sql_varchar">
  19. DigitalRedneck

    Action Page Problem

    on the action page just use form.fieldnames this is a list of all fields submited by the form.
  20. DigitalRedneck

    Seperate and get values

    what are you using this for if for debug then just use <cfdump var="#form.myData"> but if for regular output you are going to have to do some sort of loop to get the data out of your var...

Part and Inventory Search

Back
Top