changing cfgrid pageSize dynamically

On March 28, 2008, in ColdFusion, by Anuj Gakhar

Here is an example of how to change the pageSize of an AJAX CFFGRID dynamically. Purpose :- Let the end user select how many rows of data he/she wants to see in the Grid. (ie technically speaking, change the pageSize on the fly). Approach :- 1) Add a ComboBoxwith the number of Rows to be […]

Tagged with:  

CRUD with cfgrid html format

On March 18, 2008, in ColdFusion, by Anuj Gakhar

After looking at Dan Vega’s series of posts on CFGRID usage, I decided to put together an example of CFGRID with a full CRUD functionality. ColdFusion 8 has introduced the new HTML format CFGRID which uses AJAX behind the scenes. I quite like the features it offers and I think with EXT framework behind the […]

Tagged with:  

Coldfusion 8, .NET and Excel Example

On March 12, 2008, in ColdFusion, by Anuj Gakhar

In an attempt to do something with Coldfusion’s .NET functionality, I tried to consume any existing .NET component to do something useful with it. Ideally, in order for this exercise to be really termed as useful, I should have been writing my own .NET component and then consume it in CF, but I would leave […]

Tagged with:  

Anyone came across this cfdump issue?

On March 9, 2008, in ColdFusion, by Anuj Gakhar

The issue is really weird. What’s happening is that whenever <cfdump> tag is used anywhere in the code, it throws an error like this. Permission denied for creating Java object: coldfusion.util.DumpHelper. Access to Java objects in the ColdFusion package has been disabled by the administrator The server is CF8 with access to internal Java Objects […]

Tagged with:  

Validate IP Address Natively with Coldfusion

On February 21, 2008, in ColdFusion, by Anuj Gakhar

I have been looking for these little gems recently and everytime I happen to find something new. Although, I dont blog about everything I find, this one is worth it I think. Normally in order to validate an IP address, we would use some kind of regular expression but Coldfusion has an inbuilt class for […]

Tagged with:  

corrupt table null errors with Coldfusion

On February 21, 2008, in ColdFusion, by Anuj Gakhar

I was asked this question last night by someone who had recently upgraded from CF5 to CF8. Coldfusion suddenly started throwing these errors on almost all the websites on the server. “corrupt table null” There was no consistency in how the errors were being thrown, in a way that refresh the page and error is […]

Tagged with:  

Colored Code with Coldfusion

On February 14, 2008, in ColdFusion, by Anuj Gakhar

Just found this little thingy which according to me is quite impressive. [xml] <cfset obj = createObject("java","coldfusion.util.FormatSource")> <cfoutput> #obj.formatFile(Expandpath(‘cfdirectory.cfm’))# </cfoutput> [/xml] Now what that does is takes a file from your local folder and applies colored coding to it. Not the best colored code but a lot better than the heavy Regular expression. Try it […]

Tagged with:  

CFQuery and the underlying Java Objects

On February 1, 2008, in ColdFusion, by Anuj Gakhar

Everything that Coldfusion does, is bascially Java under the hood, this is something almost everyone using Coldfusion would know. I have always been curious to find out more about this (basically to find out what more we can do by making use of this). Recently, I read some blog posts on how we can use […]

Tagged with:  

Getting System Info with Coldfusion 8 and .NET

On January 30, 2008, in ColdFusion, by Anuj Gakhar

This is yet another example of how native .NET objects can be easily consumed from Coldfusion 8. Recently, I have been spending some of my time on this particular aspect of Coldfusion 8, as is obvious from some of my posts. For those who are not aware, Coldfusion 8 supports calling .NET objects simply by […]

Tagged with:  

Different ways of making a Thread Sleep

On January 23, 2008, in ColdFusion, by Anuj Gakhar

There are several occasions when we need to stop processing the page for a period of time. Before the release of Coldfusion 8, we could use Java’s sleep function to do that. The purpose of this post is to list the ways available to make a thread sleep in server side code. Here is the […]

Tagged with:  
© 2011 Anuj Gakhar