Viewers: in countries Watching now:
In ColdFusion 9 New Features, author and developer Dan Short has gathered together the important updates and improvements in this dynamic web application. Dan showcases the new ColdFusion Builder application throughout the course, using it to work through the new language and CFScript enhancements in this release. He shows how to use the new Server Manager to compare servers and create server groups, as well as monitor server health through notifications. He also explains the new integration with Office applications, building Excel, Word, and even PowerPoint files on the fly from ColdFusion. Finally, he covers the important new Object Relational Mapping feature and how to use the built-in Flash Player. Exercise files accompany this course.
Accordion layouts are one of the nicest ways to organize large groups of information, especially multipart operations that require a lot of user interaction. For example, the checkout process in a shopping cart that requires shipping, billing and then credit card information. Instead of being multiple pages, we can use an accordion layout to get all the information nicely on one page. ColdFusion 9 adds a new accordion type to the cflayout tag. In Chapter8, open accordion.cfm and I already have an accordion layout built for you.
You can see here I have my cflayout tag, type="accordion" and I have two cflayoutareas. Each of these has a source that points to a file on my assets folder. Now, each of these just have a couple of form fields on them. The ProfileInfo for example. Let's go ahead and open that one. It just has a few labels and inputs for Email Address, Username, Password and a Password Confirmation. Go ahead and close that file and let's take a look at the accordion pane in the browser. Go to localhost:8500/Chapter8 and accordion.cfm.
This last one, createAccordionPanel, has the ID of the panel I want to add to, the name of the new panel, a title for it and then a URL to a file that I want to include as the content of that new panel. And then at the end I can pass in some additional attributes such as whether or not that particular new panel should be selected. Now, one more thing we will add, which is a nice little touch, is a new title icon attribute for the cflayoutarea tag. So, I will say titleicon = and I can put in the URL to one of my icons in the assets folder.
In this case, we will do assets/profile. png from my Profile Info panel and then we'll do titleicon=assets/billing.png. Switch back to our browser and reload and I have nice little title icon sitting next to each of my titles for the panel. And that's all there is to building the new accordion panels inside ColdFusion 9. You are going to have one more way to easily organize large forms and collect data from your users.
There are currently no FAQs about ColdFusion 9 New Features.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.