Fullasagoog

Show all feed information | Ping Blog Update

Experiment with building your own CFDirectory List in Java - Part 2 3 years ago

Commons Way When I first explored this idea, I considered using the apache.commons.io package. It has a lot of interesting classes like DirectoryWalker. DirectoryWalker is a nifty class that handles all the tedious work of traversing directories. So you can focus on what you want to do with the …

Experiment with building your own CFDirectory List in Java - Part 1 3 years ago

While cfdirectory is a good tag, sometimes you just need just a bit more functionality in the filtering department. A recent question on stackoverflow asked whether it was possible to extend cfdirectory's filtering capabilities to perform an exclusive search (ie find all files that do not end …

QoQ: Invalid Column Name Hack (Quick Follow-up) 3 years ago

Just a small note. I noticed the CF9 beta documentation mentions a change in the IsArray function: Changed behavior: if the value parameter contains a reference to a query result column, this function now returns True. For example: isArray(MyQuery['Column1']) returns True. (In earlier releases, …

CF9 Beta: CFDOCUMENT + OpenOffice Can Convert Any Format to PDF? (Documents,RTF's and Excel Sheets .. oo.Oh!) 3 years ago

Okay, that is definitely an exaggeration. But I have been testing <cfdocument format="pdf" ..> with an OpenOffice 3 installation and was quite pleased to discover it seems like it can convert any format to pdf. Well, any format OpenOffice can convert. The current version of the CF9 …

OT: Scope Creep 3 years ago

Scope Creep - 1 result Scope Creep [skohp] [creep] Usage: You are being a real creep about this. Building a space shuttle is not in the scope of a web application project. End of discussion. No wait... will you be traveling on it?

Why Does ArrayAppend Return True and ListAppend Returns the List 3 years ago

Nothing major, but if you are the curious type there was an interesting question today on stackoverflow. It is one of those simple things that you probably use every day, but may not stop to wonder "why is it this way?". Why does arrayAppend return true and listAppend return the list?

Everything is right . Well, except for the fact that it is all wrong (Class Loaders) 3 years ago

Some time back I wrote a CF translation of Paulo Soares' example of How To Sign a PDF with iText . As the java code required some of the newer iText classes, I used the JavaLoader.cfc to access a more recent version of iText. At one stage I ran into a MethodNoFoundException I just could not …

CF9 Beta: Convert .DOC files to PDF (..if you have OpenOffice) 3 years ago

While I knew about the spreadsheet integration in CF9, I was very surprised to discover handling for other Office formats. Specifically the new cfdocument feature that can convert .doc files to .pdf format. Now for the catch: it requires an installation of OpenOffice. But if you can live with …

CF9 Beta: Small POI and OOXML Tip 3 years ago

I noticed the CF9 beta uses POI version 3.5-beta5-20090506. I am assuming it is what powers the cool new <cfspreadsheet> tag. Now I do not know if POI is used for anything else, but the nice thing about version 3.5 is that it includes ooxml handling. That means you can use neat tricks like …

CF9 Beta: What version of iText does it use? 3 years ago

Since I love everything iText, one of the first things I did after installing the beta was check the iText version. (For the lazy, it is iText 2.1.0). How to determine the version of iText