Before you begin, be sure your set-up meets the following requirements:
If your system meets the above requirements, follow these steps:
If you haven't done so already, download and unpack the ice_unobtrusive_code.zip archive to your site. After unpacking the files, the file structure should be as follows:
Convert the first paragraph located just below the "ACME Company" text into an editable region. To do this, select the entire paragraph in either Code or Design view, and then click Create Editable Region in the InContext Editing category of the Insert panel.
Note: Make sure that you select the opening <p> and closing </p> tags when you select the paragraph; otherwise
you may get this error message: "The current selection cannot be
transformed or wrapped with a DIV tag. Please select a parent tag instead."
On the one hand Dreamweaver needs to add a DIV tag in order to make the
selection editable; on the other hand DIVs are not allowed inside P tags. The
best option is to select the <p> and </p> tags.
Figure 1 shows what the Design view code looks like after you apply an editable region to the selection described above. Note the blue tabbed outline around the paragraph that says editable region.

Figure 1. The first paragraph transformed into an editable region.
Let's move forward and continue applying InContext Editing to the rest of the page. This time you'll transform each of the existing news articles into repeating regions.
"news" applied to it. Click Create Repeating Region in the InContext Editing category of the Insert panel. You'll see a message that informs you that Dreamweaver also added an extra DIV around the selected DIV. This extra DIV creates a repeating regions group.
Note: Any repeating region must be contained inside a repeating regions group. The repeating regions group must be the direct parent of any contained repeating region from your page. The repeating regions group defines the set of options each repeating region will have, and also acts as a container. You cannot move any of the contained repeating regions outside of their group nodes. In most cases, the group node is a DIV tag.
Figure 2 shows what the Design view looks like after you've applied the repeating regions group.

Figure 2. The first news item transformed into a repeating regions group.
Perform the same steps for the rest of the news items, in the exact order that they appear on the page (that is, News #2, News #3, and so on). The order is important because each time you convert the next news item into a repeating region, Dreamweaver notices that a repeating regions group precedes it, and gives you the option of adding the new repeating region to that group (see Figure 3).

Figure 3. The confirmation displayed when Dreamweaver detects a repeating regions group immediately before the currently transformed repeating region.
Leave the "Move current Repeating Region into the group that precedes it" option selected, and click OK to add the transformed region to the previous group.
Note: If you change the order or if you choose the other option you will get multiple repeating regions groups and you will not be able to sort the news.
Next, you need to create three different editable regions inside each of the news sections.
"title" class applied to them. Select each of those DIVs independently and click Create
Editable Region in the InContext Editing category of the Insert panel. After
the code is updated, go to the Property inspector and leave only the
B (bold) and I (italic) options selected. Repeat step 1 for the DIV tags that have the "date" class
applied to them; for these DIV tags deselect all of the check boxes in the
Property inspector.
Note: Unchecking all options means that end users will not be able to format the text at all; nor will they be able to insert links and images. This is useful if you want to prevent users from changing a given format. The CSS here defines the desired format, CSS classes are applied to editable tags, and formatting options are disabled for the user.
"content" class applied to them. Select those DIV tags individually, and click
Create Editable Region in the InContext Editing category of the Insert panel.
Leave all formatting options selected in the Property inspector.Save the page. Dreamweaver asks you to confirm that you want to copy three files to your web site (see Figure 4).

Figure 4. The confirmation dialog box indicates that InContext Editing files were added to the local site.
Note: Don't forget to upload the includes folder to the live server when you post your pages.
Now upload the page to the live server and preview it in a browser. (Be sure you are using a supported web browser on a supported operating system.) After the page loads, press Ctrl+E (Windows) or Command+E (Macintosh), enter you Adobe ID and password, and start editing the page.
Note: If you want to save the page you will first need to configure the website. To complete the configuration process you will need to supply FTP details such as host name, user name, password, path on the FTP server folder, a list of default pages, and optionally, the uploads folder. For more details on configuring FTP settings refer to the section Register and configure a website in the InContext Editing documentation.
In the next topic, you will focus on identifying the actual InContext Editing code generated by Adobe Dreamweaver CS4.