Blog

Adding new font to PDF using CFDOCUMENT in RAILO

CFDOCUMENT is really useful tag for generating PDF report but client always need customization and need different font. ACF allow separate font management tab in ColdFusion administrator where you can add additional font that you want to use but unfortunately this feature not available on RAILO. While googling on this I have found feature already requested on RAILO bug tracker but yet not available. Also got Google group discussion where it was mention that how you can manually add font for CFDOCUMENT.

By Pritesh
Comments(1)
Tags: RAILO
The fault returned when invoking .Net webservice through ColdFusion.

Recently working with remote webservice call build on .Net platform and calling from ColdFusion and it return following error The fault returned when invoking the web service operation.

For blogging I have use open .Net webservice to generate barcode for given string. As generateBarCode function taking two argument and first one is complex type which obviously need to pass as structure as per ColdFusion specification.

By Pritesh
Comments(0)
Client Variables in ColdFusion is Good or Bad?

Client variables is storage method to persist information with a client and application and saved between user sessions. Normally I look as an alternative of session variables to store data. Main difference between session and client is we have option to choose storage of client variables.
Client variables offers following storage:

  1. Registry
  2. Cookie
  3. Database
By Pritesh Patel
Comments(0)
Tags: ColdFusion, Client Variables
Getting javax.mail.MessagingException: Could not connect to SMTP host: xxxxxxx, port: 465, response: -1 error in ColdFusion

Well, error indicates that could not connect to SMTP host and this was driving me crazy because I have double-tripple check setting and look everything good and graph of my craziness goes high when I found it does work most of the time and sometime it get fails. Contacted with mail service provider and he confirmed everything OK on his side. 

By Pritesh Patel
Comments(5)
Tags: ColdFusion
Setup MURA CMS under subfolder on Railo Ubuntu

Recently I was working with site migration from windows to ubuntu server. Normally everything goes smoother except case sensitivity of file name. While working with window we never take care about file name case since it doesn't matter in window. Although we use standard for file naming but mistake will not reveal. After renaming file name accordingly everything work fine except one project. In this project I was running ColdBox framework in root folder for all kind of administrative work or business management and there was a folder /website which contain front public website. Front website running under MURA cms. When we move to RAILO and UBUNTU home page load correctly but rest of pages showing 404 error.

By Pritesh
Comments(0)
Tags: RAILO, Mura CMS, Tomcat
Block drag & drop image OR direct image paste into CKEditor using Firefox

Hello friends,

I am mostly uses Firefox browser for any developing stuff and I am facing an issue with CKEditor.

CKEditor allows you to direct copy & paste or drag & drop image into CKEditor body area using Firefox browser and it will embed image as base 64 encoded image into the CKEditor body. When you see the actual source code of paste image, it will look like...

By Mahavir Dhruv
Comments(6)
Tags: CKEditor, FireFox
Managing ColdFusion code formatting
Managing ColdFusion code formatting

Hi all!

Since I use eclipse as ColdFusion editor, I have installed cfeclipse plug-in for ColdFusion.

I got two issues which makes me writing this blog post. One is slowing down editing of large file in cfeclipse and proper code formatting which improves readability.

By Vikas Patel
Comments(0)
Tags: ColdFusion
Importing data on Amazon RDS for Microsoft SQL Server.

Recently Amazon Cloud started RDS for Microsoft SQL Server and currently support Microsoft SQL Server 2008 R2 and Microsoft SQL Server 2012. Since RDS currently doesn't support restoring database from Backup it is really tedious job to import large database. AWS has detail documentation of export/import database with different method. As mention in documentation Bulk Copy is fastest method when you have big size database. Although everything mention in documentation I will walk you through my experience for importing database.

By Pritesh Patel
Comments(3)
Tags: AWS, Microsfot SQL Server, RDS, export/import
jQuery Plugin to convert HTML select box to DIV based dropdown

Since long time I was planning to build jQuery plugin to convert HTML select box to DIV based dropdown but still do not want to loose flexibility of HTML control. Drawback with HTML select box is you can not apply css or beautify it, if you need multiselect option it occupy good space and your page look ugly in certain cases. This plugin will convert your HTML selectbox to DIV based dropdown list yet it will have simplicity of HTML control.

By Pritesh
Comments(0)
Tags: jQuery, plugin
SignatureDoesNotMatch - Amazon S3 file opening issue in FireFox

 

Hi,

Few days ago, I see a case that my file on Amazon S3 wasn't opening in FireFox but it was opening in Chrome and Internet Explorer 9.

By Vikas Patel
Comments(0)
Tags: FireFox, Amazone S3