|
Welcome to ColdFusion world on Planet Source Code! This site is one of the Internet's largest online databases of free code! You can search for particular code, simply browse by category, or just peruse! The site is filled with programs, .zip files, examples, snippets, and tutorials so feel free to jump on in! For all you masochists, here is a list of all the code in the Planet Source Code database for this world, all 10,256. lines of it!!! |
|
StingTokenizer Example
This is simple Examples of StringTokenizer Class & it divides Sting into Tokens on the basis of Constructor of Class: StringTokenizer which we use for creating Object .
Simple Print & Export to Excel via CFMX + Simpler way of exporting data to Excel without having to resend the data or create another page for exporting. Very efficient ... very easy. CF Calculator Just an Example of Flex and Coldusion MX CFforms. CFRichText cftextarea tag: how to use rich text area with basic toolbar in coldfusion.Puts a multiline text entry box in a cfform tag and controls its display characteristics. Optionally, displays a rich text editor with configurable controls for formatting HTML text. CF & Ajax How to enable layout tab programmatically in coldfusion Vat Number Format Checker A simple script that checks the number format of European VAT numbers and makes sure they comply with the countries numbering/lettering format. Coldfusion Migrations Coldfusion is great for building database drive web sites and applications. Core to this is the database. A great weakness of most software development platforms is linking particular versions of the code to versions of the database schema. This relatively simple code tries to amend that by replicating, to some extent, the migrations functions of Ruby on Rails. A full description of how is available at http://coldfusiononrails.blogspot.com/2009/10/some-coldfusion-to-manage-database.html Post Cards PostEcards is a simple postcard application that allows you to easily add a postcard app to your site. An admin is included to allow you to upload pictures, create categories, etc. Nothing fancy, certainly not Hallmark quality, but a great way to have visitors coming back to your site over and over again! MS Access database included Captcha Captcha.cfc This is a CFC that outputs a Captcha Image either to a designated file or as binary data that can be used in a <cfcontent> tag. Examples of both file output and cfcontent output are provided in the zip file. If you like the work done with CAPTCHA.cfc, please fell free to use it. If you have any questions, comments or bugs, please send me an email. CF Mail A complete open-source ColdFusion mail client built on the abilities of coldfusion to check pop3 mail clients. CF-Mail is one of the rarest open-source mail clients. Query to MS Excel Output excel file easy with ColdFusion MX. Hi Many years ago i wrote an article here to create an excel CSV file with ColdFusion. I wanted to update this with the newer easier way to accomplish the same goal. have a search page with an output type drop box called "otype" values("web","xls","prt") Write out your page in an HTML table with the columns you want in excel. Then put an IF statement around your table or simply at the bottom of the page with links to the same page with the otype or a form that submits to the same page with the otype var. then use this code: Simple Grading System this is a simple grading system where: * users can log-in. * administrators can add, edit, and delete records. GetCookies This code allows for simulated browser based interaction with remote websites. Coldfusion Collapsing Menus Enable Coldfusion Menu expansion/collapse using class Styles and no scripting language like javascript or php. I looked and looked for a way to completely manipulate menus server side, and after a long and unfruitful hunt, just coded it up myself. It wasn't as hard as I'd anticipated. Dynamic Data Display Shows the mixing of JavaScript and ColdFusion. Uses Coldfusion to retrieve data then JavaScript to display values based on a radio button. Then submit to see dynamic select boxes in effect. Uses extensive code from http://www.mattkruse.com/javascript/optiontransfer/index.html Output simple query custom tag This code takes arguments related to table display options and table querying then outputs the query results in a formatted table. ColdFusion custom tag that is tested with MX. Paging recordset / query / search Breakdown large recordset into simple paging. This code will generate your record set to list of array with define pagenum. With pagenum you can change to number of record to be list for each page. Can used ofr search and query. Generic Source Code Here is an example of how to do that. The total number of records returned is 50 and I'm displaying 8 at a time. I chose 8 because the last page will contain only 2 records. Multiple Update Records The following form contains a row for each record in the query. When 'Update' is clicked, all the values are passed to the action page and each record is updated. It also uses JavaScript to ensure all form fields are filled out. Update Mutiple Records Create a multi-row form, similar to a grid, to perform a multiple record updates at one time. Page 1 of 7 found. Entries 1 - 20 of 137 found Next 20 entries |