How to Remove a List in ColdFusion

ColdFusion includes a "list" feature that lets you dynamically loop through several values and display the values as a bullet or numeric list. This feature makes it more convenient for readers to see your main points and ideas on a Web page. To remove the list, you must delete the ColdFusion loop procedure on the page and remove the variables associated with the loop.

Instructions

    • 1

      Open the Adobe Dreamweaver ColdFusion software from the Windows "Start" menu. Open your ColdFusion Web project.

    • 2

      Locate the variable that defines your list of values. ColdFusion uses the "cfset" tag to create a variable. For instance, the following code shows you an example of a list variable you delete to remove your list:

      <cfset listVariable= "blue brown black red">

    • 3

      Delete the list's loop structure. After the list variable, a loop structure exists to display the list to the user. The following is an example of a loop structure that displays the list shown in step two:

      <cfloop list="#listVariable#" index="i">
      <cfoutput> List Value: #i# <br /></cfoutput>
      </cfloop>

Related Searches:

References

Comments

Related Ads

Featured