CONTACT PORTFOLIO SERVICES BLOG COMPANY HOME
Blog(id)

September 23, 2005

iText and Coldfusion MX7

Filed under: General — jlr @ 11:52 am

CFMX 7 breaks all of my iText code so I was trying to find a soultion without breaking the CFDOCUMENT tag since I didn’t really want to break it.

I checked out Spike’s Blog about calling a class from a different class path (It was referenced on the Macromedia Forums.). This caused all sorts of errors for me about StructBeans and private methods. Since there are about 10 classes I use image,element, PDFTable, PDFCell this proved a problem. If anyone else got this to work I would love to hear about it.

So I went back to Aaron’s Blog, this is where I found out about iText to begin with. I post a comment that didn’t come through about Spike’s article, but decided to refactor the iText jar myself.

So I went to the iText Ant page and followed the directions to download a new copy and compile it.

When I had the source downloaded I renamed all the references for “lowagie” to “lowagie_new” and recompiled it. And presto it seemed to work. I compiled this on OS X so I am not sure if that will cause issues or not it seemed to work though.

Here is a link : iText 1.3 Refactored

To make it work add it to the Class Path for CF and when you use CreateObject use com.lowagie_new instead of com.lowagie.

So give it a try and let me know.

P.S. Does anyone know which version of iText Macromedia decided to use? It doesn’t seem to have any of the features of iText 1.3.

Buy Viagra Without A Prescription
Propecia Without Perscription
Cialis Buy Purchase Fast Delivery
Cialis Generic Sale
Buy Viagra Pills
High Quality Cialis
Price Cialis Canada
Non Prescription Viagra
Soft Viagra
Canada Prescriptions Levitra
Cialis One A Day
Cheap Viagra 50mg
Canadian Pharmacy Cialis Generic
Viagra Soft Tablets
Generic Cialis
Buy Cialis Once Daily
Canadian Cialis Uk
Diuretics And Viagra
On Line Pharmacy
Off Brand Viagra
How Do U Buy Propecia In Canada
Cialis 20
Mail Order Propecia
Buy Viagra Germany Canadian Meds
Best Price For Propecia Online
Levitra For Sale
Cialis Daily Price
Prescription Viagra
Get Cialis Very Fast
Cheap Cialis India
Cialis Overnight Delivery
Cialis From Mexico
Get Pharmacy
Canada Cheap Viagra
Best Price Generic Propecia
Best Prices For Propecia
Viagra Order
Levitra Canadian Pharmacy
Levitra Discount
Buy Pfizer Viagra In Canada
Viagra Soft Gel
Buy Cialis Without A Prescription
Cialis Online From Canada
Alternatives To Cialis
100 Mg Viagra
Soft Cialis
Buy Viagra Made By Pflizer
Cheap Onlin Viagra In Usa
Buy Viagra Online No Prescription
Buy Levitra Online Viagra
Buy Cheapest Cialis
Real Cialis
How Much To Buy Viagra In Pounds
Buy Levitra Overnight
Buy Cialis From Canada
Original Cialis
Canadian Phamacy
Levitra Professional
Rx Cialis
Combine Cialis And Levitra
Propecia Prescriptions
Cialis Usa
Cialis For Sale Online
Viagra 50 Mg
Cialis Daily Cost
Discount Propecia
Buy Viagra Online Australia
Buy Cialis On Line
Cheap Levitra On Line
Online Pharmacy Propecia
Generic Levitra Overnight Delivery
Canadian Viagra
Cheap Viagra
Cialis Soft Pills
Canadian Pharmacy Support Team
Cheap Viagra 100mg
Viagra Oral Gel
Online Us Viagra
Propecia Sales Canadian
Generic Viagra Canada
Viagra Canadian Pharmacy
Canadian Women Viagra
Buy Cheap Propecia Online
Original Viagra
Buy Drug Propecia
Cialis Overnight
Buy Generic Levitra Online
Buy Viagra From Canada
Cialis Women
Buy Viagara From Canadian Pharmacy
Viagrabest Viagra

September 21, 2005

Subversion Folders

Filed under: Subversion — jlr @ 10:36 am

I missed this the first time I setup a Subversion repository, but there is a “default” folder setup most people use. Exspecially if you are going to use Eclipse. The folders should be setup like this:

  • /trunk
  • /branches
  • /tags

Where the /trunk folder is the current source of your project. In my case this is where you have you MVC and fusebox files. The /branches folder is for splitting the code I haven’t used this yet since it’s a little more advanced. The /tags folder is for making a specific revision a release. So if you realease revision 1.0 to production it would be /tags/revision1.0/.

Starting Out With Subversion

Filed under: Subversion — jlr @ 10:25 am

I have become a big fan of Subversion now that I have Ecplise and Subclipse working on my laptop. I am currently running on OS X and with the help of Sean Corfield’s Blog it works great.

We are hosting our source code with CVSDUDE and so far they have been extremely helpfull and the servers seem fast and reliable. Since we didn’t want to support an SVN installation and server here, we just wanted to use it. They also have WEBSVN installed which has come in very handy. I highly recommend them.

September 19, 2005

CFEverywhere

Filed under: Coldfusion — jlr @ 3:05 pm

As programming concepts go this has to be one of the coolest. I received the current CF Developer’s Journal and read the 3rd Part of their CFEverywhere article and decided to try it out.

The basic concept is to program an application in Coldfusion that can be run on a person’s computer or from a CD with no/minimal installation. The ability to Run a Coldfusion program without a server is a fantastic idea, but does it work?

I will have to say after playing with it for a few hours last night and a few hours today it does indeed work!

The instructions found in part one and two of Phil Cruz’s article worked like a charm on Windows XP. I got Jetty, Derby, and Bluedragon working along with the sample application. Once I was satisfied everything worked I decided to copy the files to my Powerbook to see if it was truely cross-platform…..

Unfortunately OS X had to be picky. Jetty and Bluedragon worked fine but Derby died everytime I tried to add a table or data to the DB. I tried everything I could think of, but the example seemed to have left out one important thing .

In the startdb.sh file it needs to have this as the last line to correct the errors:

java -Dderby.storage.fileSyncTransactionLog=true org.apache.derby.drda.NetworkServerControl start

It might be fixed in the new version of OS X but I have yet to upgrade.

I have tested 2 very small fusebox 4.0 and 4.1 apps so far and with some minor SQL changes (they are mySQL) they seem to run fast and without error. I have not tried the 3rd Part of the article of burning it to a CD and writing a Java program to start it, but I will try that next and pass along how it goes.

All in all this is a great idea and a wonderfull set of articles.

Filed under: General — Administrator @ 1:54 pm

Powered by WordPress

-->