Blog

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
cfform creates javascript variables for HTML elements

 

Hi all,

This post is about JavaScript and ColdFusion. Few days ago, I caught an issue in HTML form post data.

I received [object HTMLInputElement] as form HTML form data. Later I figured out that when my JavaScript variable propertyID is assigned with correct numeric value, then there is no problem. I tried to find where I declared this JavaScript variable.

By Vikas Patel
Comments(0)
Tags: JavaScript, ColdFusion
HTML5 compatible table design

 

Hello friends,

Today I am showing you a tip to redesign your HTML table element that will be compatible with HTML4 and HTML5.

By Vikas Patel
Comments(0)
Tags: HTML5, HTML
Ubuntu One Cloud Files API using ColdFusion

Once Ubuntu One OAuth authorization process (discuss in my previous blog) has been completed; then it’s time to implement Ubuntu One Files API to access Ubuntu One data on website.

To access data stored on Ubuntu One on our website, in each request we have to pass valid access token and access token secret that we get at last in OAuth authorization process to identify that an authorize user can access the data.

I am implementing Ubuntu One Cloud Files API using ColdFusion by taking reference from Ubuntu One Cloud Files API Documentation.

By Mahavir Dhruv
Comments(0)
Tags: Ubuntu, Ubuntu-One, Ubuntu-One-API
Ubuntu One Web Authorization API using ColdFusion

I am new to Ubuntu One and I want to access my Ubuntu One data in to a website. For that I have to go though the Ubuntu One API Docs.

Initially, user has to go through authorization process to access his/her Ubuntu One data. Ubuntu One use OAuth 1.0a authorization process to acquire an authentication token that used in each request of accessing Ubuntu One data.

By Mahavir Dhruv
Comments(0)
Tags: Ubuntu, Ubuntu-One, Ubuntu-One-API
jQuery datepicker disabled weekday
jQuery datepicker disabled weekday

There is another custom setting for jQuery datapicker. Here we have discuss about how to disabled any weekday in jQuery datepicker. As you know in today's era jQuery become more and more popular and why not? It should be because jQuery does our work very easy. Recently, in our one of the project need to give date field value in one of the form. In this form date calculate dynamic with exclude weekend days (Saturday and Sunday) as per client timeline setting but client also wants their employee also change date value manually. Now what, we need to give datepicker to the text field and as we love jQuery so of course we use jQuery datepicker and see there is no default function to handle disabled weekday. We know there is a function to handle custom setting before show datapicker and before show day. i.e. there are two different function beforeShow, beforeShowDay. beforeShow function uses when you want to set before showing datepicker and beforeShowDay function uses when you want to apply setting before load each day. So we use beforeShowDay function to disabled day. It's very simple and short code for disabling weekday. Let's understand by example.

By Bharat Patel
Comments(0)
Tags: beforeShow, beforeShowDay, Disabled Day
Adding new cell type in POI utility

Recently, we have given ability in our one of the project to export data in excel sheet. For exporting data into excel we used POI Utility from Ben Nadel. In this package there are so many excel type conversion such as date, numeric, formula.. In exporting data into excel we have given formula to calculate percentage. For example (A3*D3)/100. All things work fine. Client needs to enter only value for calculating percentage amount.(eg. 2.5, 0.75).

By Bharat Patel
Comments(1)
Tags: coldfusion, poi utility, percentage
Problem to upload large size files using CFFTP

Recently I am trying to upload a file and I get error message “An error occurred during the FTP putfile operation”. The CFFTP tag has one attribute ‘timeout’. It specifies maximum numbers of seconds (time) taken to perform CFFTP action (operation). Here, I am not specified the ‘timeout’ attribute of CFFTP tag. So it take default value ‘30’ seconds. And that cause the issue to upload large size files (size in MB) that takes more than 30 seconds to upload.

By Mahavir Dhruv
Comments(0)
Tags: ColdFusion, File
Day 15: ColdFusion 10 and CFC enhacement

Implicit constructor for CFC
ColdFusion10 now support initialize while instantiate the CFC by passing key-value pair or struct. This method will NOT work if your CFC has init() method or initMethod attribute in CFCOMPONENT added. To enable implicit constructor specify accessors=true in cfcomponent or you have setter function for properties defined. If you define setter = false or setter not defined then value for that property will not set instead it will call onMissingMethod defined for CFC.

By Pritesh
Comments(0)
Tags: ColdFusion, ColdFusion10, CFC
java.sql.SQLException: Value ''0000-00-00'' can not be represented as java.sql.Date

Got strange issue today while working with mySql and ColdFusion. This might be old issue but we never face issue since we normally work with MS Sql and I think this one is second/third project which use mysql as database. Error says java.sql.SQLException: value '.........with long garbage string and special characters......' can not be represented as java.sql.Date and this is due to mysql store 0000-00-00 stored as Null value of date.

By Pritesh
Comments(0)
Tags: ColdFusion, mysql