Work Around ColdFusion Local Scope

These days am working as a tester. I never thought that developer can also do that if they really take interest in testing! Infect someone can also learn from the testing, even testing can also test their understanding for knowledge.While testing I saw one case where I get more variable in the array object other then I defined. Then I again take a look and I came to know that local variable was causing an issue.
Read More

 Vikas     Feb, 08 2017

Automated Tests Using Ant Integration of Testing Frameworks - cfunit, cfcunit and mxunit

If you have seen my previos post, then you might want to automate testing. You can automate all three popular testing frameworks (cfunit, cfcunit and mxunit) with ant.I've tested in eclipse 3.6 version, but it will aslo work in Adobe ColdFusion Builder.
Read More

 Admin User     Feb, 08 2017

Strange Error "Invalid token  found on Line 1 at Column 55."

I was building plugin for blog and found really strange error " Invalid token  found on line 1 at column 55.", Google it but found different solution but none of them work for me. Finally I realize that it is because of non printable hexcode inserted in my code which is causing whole issue.Let me explain whole scenario,
Read More

 Pritesh     Feb, 08 2017

Pass by Reference in coldfusion

Arrays Created as java.util.ArrayList java objects are passed by reference to the ColdFusion Functions.Normal behavior is that of pass by value in ColdFusion Functions.
Read More

 Admin User     Feb, 08 2017

.cfc Page Not Supported in ColdFusion 5, Make It Work Using .cfm Page

Recently I use ColdFusion 9 for development, one of the project in that I create findcity.cfc page that contains function 'findCity()' to get list of cities(with zipcode) of specified state. I use one javascript function that send Ajax request that call 'findCity()' funciton. Issue is that project build on ColdFusion 5, so that not support .cfc pages.For that I create 'searchCity.cfm' page that provide the same fuctionality same as 'findCity()' function of findcity.cfc page ...
Read More

 Admin User     Feb, 08 2017

innerHTML vs appendChild

 Today I was testing my code, and I found interesting stuff on innerHTML and appendChild method.I was trying to add new elements to the div.First, I was creating element by calling DOM method (document.createElement()) and then I append it to my div by calling appendChild() method of the HTML div element. 
Read More

 Vikas     Feb, 08 2017

Sql Server Rank() v/s Dense_rank()

Some days before I was googling on sql server's system function and I got one site having sql server query puzzle. The site have very interesting puzzle. I got a puzzle during surfing and it is to find out second highest salary of each department and tie salary should also count. There are inbuilt functions in sql server to give rank as per result set. The Rank() function of sql server returns the position of value within a partition of a result set. Rank() function left ...
Read More

 Bharat Patel     Feb, 08 2017

"The Executable Signed with Invalid Entitled" Frustrating Error but Resolved Now

I was really happy that I was going to release my first iPhone application. Waiting for my developer account so I can test on my device instead of simulator, Apple has really long process to create developer account and it almost take 2 to 3 weeks to get account. Meanwhile I can't stop myself and try to JailBreak my device to test application on device, this was really smooth 15 mins to jailbrake it and in next 15 mins I was able to run application on iPhone.
Read More

 Admin User     Feb, 08 2017

Full Text Option Is Greyed Out in MSSql 2008

Today I was trying to setup fulltext indexing on one of my database table. I have finish with creating fulltext catelog and tried to right click on table to create fulltext index but option was greyed out and there is no way to create index. This is becuse Full-text index was diabled at database leve you can enable it by running below statement.   use [mydatabase name] go EXEC sp_fulltext_database 'enable'   That's it and refresh table group and option is enable now ...
Read More

 Admin User     Feb, 08 2017

jQuery Enable/Disable Specific Date

In web application most of people use jQuery, jQuery UI and jQuery Plug-ins. Why not? First of all it's free and it reduces no. of code. Any way what i want to say is today one of my client wanted to download data according to date. i.e. Data generated on specific date. Date will be increase day by day so I thought what I need to do? Suddenly, there is a click in mind jQuery UI Datepicker has ability to enable/disable date so I just googled for that and got the code. I really thank TutorBoy.com
Read More

 Bharat Patel     Feb, 08 2017

  • Showing 51 to 60 of 225