anant5.com
NCDevCon 2011 – ColdFusion 9 and Apache Solr presentation | Anant's little nook on The Web
http://anant5.com/2012/05/ncdevcon11_cf9_solr
NCDevCon 2011 – ColdFusion 9 and Apache Solr presentation – Anant's little nook on The Web. Anant's little nook on The Web. May 21, 2012. May 21, 2012. NCDevCon 2011 – ColdFusion 9 and Apache Solr presentation. I did a presentation at NCDevCon. Back in September of last year (2011) on adding search functionality to web applications using Apache Solr with ColdFusion9. Here are my slides and the demo code I used for that presentation. I suppose this is wayyyy overdue but better late than never! NCDevCon 20...
stillnetstudios.com
Stillnet Studios » Blog Archive » Removing spaces from columns in cfspreadsheet (or any query)
http://www.stillnetstudios.com/remove-spaces-columns-cfspreadsheet
Web development notes and commentary from Ryan Stille. Laquo; Online code formatters. Free ColdFusion 10 beta hosting. Removing spaces from columns in cfspreadsheet (or any query). Lets say you have a spread sheet containing these columns: Name, City, State, Postal Code. Then pull it into a query using the cfspreadsheet tag:. Cfspreadsheet action="read" src="c: Customers.xls" query="customers" headerrow="1" rows="2-65536" sheetname="Customers". SELECT * FROM customers WHERE [Postal Code] = '90210'. You c...
stillnetstudios.com
Stillnet Studios » Blog Archive » Did you know about the onerror attribute of the img tag?
http://www.stillnetstudios.com/onerror-img-image-tag
Web development notes and commentary from Ryan Stille. Laquo; Copying data from SQL Studio to Excel. Accessing form fields as an array in CF10. Did you know about the onerror attribute of the img tag? Img src="#productImage#" onerror="this.src='/images/icons/imageDoesNotExist.png'". Script function imageError(element) { element.onerror=' ; element.src='/images/icons/imageDoesNotExist.png'; } /script img src="#productImage#" onerror="imageError(this)". You could even use this to report a broken image:.
stillnetstudios.com
Stillnet Studios » SQL
http://www.stillnetstudios.com/category/sql
Web development notes and commentary from Ryan Stille. Archive for the ‘SQL’ Category. Laquo; Previous Entries. Copying data from SQL Studio to Excel. Continue reading ‘Copying data from SQL Studio to Excel’ ». Posted by Ryan on January 2 2013 at 9:14 am under SQL. Removing spaces from columns in cfspreadsheet (or any query). Lets say you have a spread sheet containing these columns: Name, City, State, Postal Code. Then pull it into a query using the cfspreadsheet tag:. Cfset colNameArray = customers....
stillnetstudios.com
Stillnet Studios » Blog Archive » Online code formatters
http://www.stillnetstudios.com/online-code-formatters
Web development notes and commentary from Ryan Stille. Laquo; Joining to one of two tables with one ID. Removing spaces from columns in cfspreadsheet (or any query). Lately I’ve come across some online formatting tools that have been very helpful. I like these because they work regardless of what IDE you use, what operating system, etc. They work from any computer that has internet access. Handy when you are troubleshooting on a remote machine. Works solid and has plenty of formatting options. Getting th...
stillnetstudios.com
Stillnet Studios » System Administration
http://www.stillnetstudios.com/category/system-administration
Web development notes and commentary from Ryan Stille. Archive for the ‘System Administration’ Category. Laquo; Previous Entries. Mura 404 page not working in IIS7 – fix it in web.config. When I migrated our Mura site to our new IIS7 servers, one problem I noticed is that the Mura 404 handler was no longer showing. Instead the default IIS 404 page was displaying. This problem doesn’t only apply to Mura, it will crop up with framework or code that uses the. Tag It might look like this:. You need to add.
stillnetstudios.com
Stillnet Studios » Misc
http://www.stillnetstudios.com/category/misc
Web development notes and commentary from Ryan Stille. Archive for the ‘Misc’ Category. Lately I’ve come across some online formatting tools that have been very helpful. I like these because they work regardless of what IDE you use, what operating system, etc. They work from any computer that has internet access. Handy when you are troubleshooting on a remote machine. Here is one for formatting XML: http:/ www.shell-tools.net/index.php? Posted by Ryan on July 13 2011 at 7:53 pm under AJAX / JavaScript.
stillnetstudios.com
Stillnet Studios » Blog Archive » jQuery snippet to get all input values
http://www.stillnetstudios.com/jquery-snippet-to-get-all-input-values
Web development notes and commentary from Ryan Stille. Laquo; Mura 404 page not working in IIS7 – fix it in web.config. Getting the client filename before using cffile. JQuery snippet to get all input values. I thought this was some interesting JavaScript that I used recently to detect if form fields were filled in. This was a case where if any of a particular group of fields were filled in, I needed to validate and make sure they were all passed in. 28 October 2012, 1:44 am. The problem is that it retur...
stillnetstudios.com
Stillnet Studios » Blog Archive » Accessing ColdFusion form values as an array
http://www.stillnetstudios.com/cf-form-array-comma-workaround
Web development notes and commentary from Ryan Stille. Laquo; Loading CFrichtext / FCKeditor on-the-fly. Formatting CFGRID with JavaScript. Accessing ColdFusion form values as an array. If you check the first two boxes and submit the form, you will end up with this in the form scope:. But if you check the third book, which has a title containing commas, things start to get messy:. How can you tell the selections apart! GetPageContext().getRequest().getParameterValues('Your form or url field name'). But t...
stillnetstudios.com
Stillnet Studios » Railo
http://www.stillnetstudios.com/category/railo
Web development notes and commentary from Ryan Stille. Archive for the ‘Railo’ Category. Getting the client filename before using cffile. Cfset theClientFilename = getClientFileName("myFormField") cfif ListLast(theClientFilename,".") NEQ "pdf" / do your error handling here cfelse / else the extension is ok. Use cffile to handle the upload and proceed /cfelse /cfif /cfset. Here is the getClientFileName function, both in cfscript and regular tag formats. Be careful using ucase() on odd characters. The uppe...