Ben Forta

Blog

September 28, 2001

And CF5

The upgrade from CF4 to CF5 is close to painless. The only issue you might run into is if you use the Java controls (for example, and ). The new versions of these controls require a recent Java environment on the client machine - so clients running older browsers might be prompted to perform a one...

September 27, 2001

Faster Code Reuse

Using lots of Custom Tags to facilitate code reuse? That's great, except for the fact that Custom Tags have overhead that you may not need. Look through all your Custom Tags - if any of them format data, extract or manipulate values from other data, or anything like that, consider rewriting them as...

September 26, 2001

Specifying Explicit Graph Colors

graphs may be presented in colors that you specify using both named color or RGB notation. If you use RGB notation make sure to escape the preceding pound sign (so use ##FF0000, not #FF0000). (Applies to: ColdFusion 5)

September 25, 2001

Creating Area Graphs

Want to create an area graph using ? You can, even though there is no TYPE "area". Instead, create a graph of TYPE="line" and set FILL="yes" - will fill the area beneath the line creating an area graph. (Applies to: ColdFusion 5)

September 24, 2001

Numeric Graph Values

The values passed to (or ) for graphing must be numbers and may not include dollar signs, commas, periods, slashes, or any other non-numeric characters. If you have any of these in your data you must remove them before it is passed to . (Applies to: ColdFusion 5)

September 23, 2001

Handling Updates

embeds a Java grid applet in your web pages, and provides simplified action page processing for grid updates when SELECTMODE="edit". But has limitations, the most significant being that it can only update data in a single table. For greater update control use tags to do the job. When an editable...

September 22, 2001

Obtaining the Application Name

APPLICATION variables are unique to a specific named application. To find out the name of the APPLICATION in use you may refer to APPLICATION.ApplicationName. But be careful to not change or overwrite this value (and if you ever use Struct functions on the APPLICATION scope remember to make sure...

September 21, 2001

Alternate Output For Applets

Among other things, is used to embed Java form control applets into your forms (using , , etc.). If you use these controls make sure to provide support (or at least a descriptive message) for users who cannot run Java applets in their browsers. Every one of the control tags has a NOTSUPPORTED...

September 20, 2001

Setting Cookies After

flushes the output buffer, and with it any headers (HTTP and page). This is why (and other tags) may not be used after a call. So is it possible to set a cookie after a ? Actually, it is, but not using . Instead, embed client side JavaScript in your page and have the browser set the cookie for you....

September 19, 2001

Safely Using Version Specific Features

Want to use the latest CF5 features and still be able to run on older server versions? Check the SERVER.ColdFusion.ProductVersion variable to check the exact version being used - this way you can use version specific features only if you are running the appropriate version of ColdFusion. (Applies...

Page 452 of 489 (4890 posts)