<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1109300632531253534</id><updated>2011-04-21T19:56:47.674-07:00</updated><title type='text'>Dreamweaver Help and Guide</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default?start-index=101&amp;max-results=100'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>144</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-6793358479375585485</id><published>2009-02-07T17:53:00.000-08:00</published><updated>2009-02-07T17:54:21.172-08:00</updated><title type='text'>Resources</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-6793358479375585485?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/6793358479375585485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/02/resources.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6793358479375585485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6793358479375585485'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/02/resources.html' title='Resources'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-8664513295972485497</id><published>2009-01-28T09:32:00.001-08:00</published><updated>2009-01-28T09:32:30.004-08:00</updated><title type='text'>Displaying Database Records</title><content type='html'>&lt;h1&gt;&lt;span class="Apple-style-span" style="font-size: 16px; font-weight: normal; "&gt;Displaying database records involves retrieving information stored in a  database or other source of content, and rendering that information to a web  page. Macromedia Dreamweaver 8 provides many methods of displaying dynamic  content, and provides several built-in server behaviors that let you both  enhance the presentation of dynamic content, and allow users to more easily  search through and navigate information returned from a database.&lt;/span&gt;&lt;br /&gt;&lt;/h1&gt; &lt;p&gt;This chapter contains the following sections:&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;About displaying database  records&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;Using predefined data formats&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;Creating recordset navigation  links&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;Showing and hiding regions based on  recordset results&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;Displaying multiple recordset  results&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;Creating a table with a Repeat Region  server behavior&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;Creating a record counter&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-8664513295972485497?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/8664513295972485497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/displaying-database-records.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8664513295972485497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8664513295972485497'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/displaying-database-records.html' title='Displaying Database Records'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-2615167274447533178</id><published>2009-01-28T09:31:00.002-08:00</published><updated>2009-01-28T09:32:06.271-08:00</updated><title type='text'>About displaying database records</title><content type='html'>&lt;p&gt;Databases and other sources of dynamic content provide you with more power  and flexibility in searching, sorting, and viewing large stores of information.  Using a database to store content for web sites makes sense when you need to  store large amounts of information, and then retrieve and display that  information in a meaningful way. Dreamweaver provides you with several tools and  prebuilt behaviors to help you effectively retrieve and display information  stored in a database. The following sections describe the Dreamweaver server  behaviors and formatting elements, and how you can use them to display dynamic  content. &lt;/p&gt; &lt;p&gt;This section covers the following conceptual topics:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a&gt;Server behaviors and formatting elements&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Applying typographic and page layout elements  to dynamic data&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Navigating database recordset results&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Custom recordset navigation bars&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Displaying and hiding regions based on  recordset results&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Displaying multiple recordset results&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Record counters&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-2615167274447533178?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/2615167274447533178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-displaying-database-records.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2615167274447533178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2615167274447533178'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-displaying-database-records.html' title='About displaying database records'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-7733084811734275970</id><published>2009-01-28T09:31:00.001-08:00</published><updated>2009-01-28T09:31:45.377-08:00</updated><title type='text'>Server behaviors and formatting elements</title><content type='html'>&lt;p&gt;Dreamweaver provides the following server behaviors and formatting elements  to let you enhance the display of dynamic data:&lt;/p&gt; &lt;p&gt;&lt;b&gt;Formats&lt;/b&gt; let you apply different types of numerical, monetary,  date/time, and percentage values to dynamic text. &lt;/p&gt; &lt;p&gt;For example, if the price of an item in a recordset reads 10.989, you can  display the price on the page as $10.99 by selecting the Dreamweaver "Currency -  2 Decimal Places" format. This format displays a number using two decimal  places. If the number has more than two decimal places, the data format rounds  the number to the closest decimal. If the number has no decimal places, the data  format adds a decimal point and two zeros.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Repeated Region&lt;/b&gt; server behaviors let you display multiple items  returned from a database query, and let you specify the number of records to  display per page.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Recordset Navigation&lt;/b&gt; server behaviors let you insert navigation  elements that allow users to move to the next or previous set of records  returned by the recordset. For example, if you choose to display 10 records per  page using the Repeated Region server object, and the recordset returns 40  records, you can navigate through the records 10 at a time.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Recordset Status Bar&lt;/b&gt; server behaviors let you include a counter that  shows users where they are within a set of records relative to the total number  of records returned.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Show Region&lt;/b&gt; server behaviors let you choose to show or hide items on  the page based on the relevance of the currently displayed records. For example,  if a user has navigated to the last record in a recordset, you can hide the  "next" link, and display only the "previous" records link.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-7733084811734275970?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/7733084811734275970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/server-behaviors-and-formatting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7733084811734275970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7733084811734275970'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/server-behaviors-and-formatting.html' title='Server behaviors and formatting elements'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-4279748478123518444</id><published>2009-01-28T09:30:00.002-08:00</published><updated>2009-01-28T09:31:20.740-08:00</updated><title type='text'>Applying typographic and page layout elements to dynamic data</title><content type='html'>&lt;p&gt;A powerful feature of Dreamweaver is the ability to present dynamic data  within a structured page, and to apply typographic formatting using HTML and  CSS. To apply formats to dynamic data in Dreamweaver, format the tables and  placeholders for the dynamic data using the Dreamweaver formatting tools. When  the data is inserted from its data source, it will automatically adopt the font,  paragraph, and table formatting you specified.&lt;/p&gt; &lt;p&gt;To learn about Dreamweaver formatting features, and how to apply them to  dynamic data elements, see &lt;a&gt;Presenting Content  with Tables&lt;/a&gt; and &lt;a&gt;Inserting and Formatting  Text&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-4279748478123518444?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/4279748478123518444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/applying-typographic-and-page-layout.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4279748478123518444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4279748478123518444'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/applying-typographic-and-page-layout.html' title='Applying typographic and page layout elements to dynamic data'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-1080317091475119664</id><published>2009-01-28T09:30:00.001-08:00</published><updated>2009-01-28T09:30:37.056-08:00</updated><title type='text'>Navigating database recordset results</title><content type='html'>&lt;p&gt;Recordset navigation links let users move from one record to the next, or  from one set of records to the next. For example, after designing a page to  display five records at a time, you might want to add links such as "Next" or  "Previous" that let users display the five next or previous records.&lt;/p&gt; &lt;p&gt;Dreamweaver lets you create four types of navigation links to move through a  recordset: First, Previous, Next, and Last. A single page can contain any number  of these links, provided they all work on a single recordset. You can’t add  links to move through a second recordset on the same page.&lt;/p&gt; &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Microsoft ASP.NET refers to a recordset as a DataSet. If you are working with  ASP.NET document types, the dialog boxes and menu choices specific to ASP.NET  use the label DataSet. The Dreamweaver documentation generically refers to both  types as recordsets, but uses DataSet when specifically describing ASP.NET  features.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;Recordset navigation links require the following dynamic elements:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;A recordset to navigate  &lt;/li&gt;&lt;li&gt;Dynamic content on the page to display the record or records  &lt;/li&gt;&lt;li&gt;Text or images on the page to serve as a clickable navigation bar  &lt;/li&gt;&lt;li&gt;A "Move To Record" set of server behaviors to navigate the recordset  &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;You can add the last two elements using the Record Navigation Bar server  object, or you can add them separately using the Dreamweaver design tools and  the Server Behaviors panel. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-1080317091475119664?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/1080317091475119664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/navigating-database-recordset-results.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1080317091475119664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1080317091475119664'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/navigating-database-recordset-results.html' title='Navigating database recordset results'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-8861870792019742042</id><published>2009-01-28T09:29:00.000-08:00</published><updated>2009-01-28T09:30:10.847-08:00</updated><title type='text'>Custom recordset navigation bars</title><content type='html'>&lt;p&gt;If you want to create a recordset navigation bar that uses more complex  layout and formatting styles than the simple table created by the Recordset  Navigation Bar server object, you might prefer to create your own navigation  bar. To do this, you must first create the necessary navigation links in either  text or images, place them within the page in Design view, and assign individual  server behaviors to each navigation link.&lt;/p&gt; &lt;p&gt;You can assign the following individual server behaviors to navigation  links:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Move to first page  &lt;/li&gt;&lt;li&gt;Move to last page  &lt;/li&gt;&lt;li&gt;Move to next page  &lt;/li&gt;&lt;li&gt;Move to previous page &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;If you would prefer to use the Dreamweaver built-in Recordset Navigation Bar  server object to create a navigation bar, see &lt;a&gt;Creating a navigation bar using the Recordset  Navigation Bar server behavior&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-8861870792019742042?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/8861870792019742042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/custom-recordset-navigation-bars.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8861870792019742042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8861870792019742042'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/custom-recordset-navigation-bars.html' title='Custom recordset navigation bars'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-4905692200285245051</id><published>2009-01-28T09:28:00.002-08:00</published><updated>2009-01-28T09:29:10.721-08:00</updated><title type='text'>Navigation bar design tasks</title><content type='html'>&lt;p&gt;When creating a custom navigation bar, begin by creating its visual  representation using the Dreamweaver page-design tools. You don’t have to create  a link for the text string or image, Dreamweaver will create one for you.&lt;/p&gt; &lt;p&gt;The page you create the navigation bar for must contain a recordset to  navigate. For more information, see &lt;a&gt;Understanding recordsets&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;A simple recordset navigation bar might look like this, with link buttons  created out of images, or other content elements:&lt;/p&gt;&lt;p&gt;After you have added a recordset to a page, and have created a navigation  bar, you must apply individual server behaviors to each navigation element. For  example, a typical recordset navigation bar contains representations of the  following links matched to the appropriate behavior:&lt;/p&gt;&lt;tr valign="top"&gt; &lt;th&gt; &lt;p&gt;Navigation link&lt;/p&gt;&lt;/th&gt; &lt;th&gt; &lt;p&gt;Server behavior&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;Go to first page&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Move to first page&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;Go to previous page&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Move to previous page&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;Go to next page&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Move to next page&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;Go to last page&lt;/p&gt;&lt;/td&gt; &lt;/tr&gt;&lt;p&gt;Move to last page &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-4905692200285245051?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/4905692200285245051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/navigation-bar-design-tasks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4905692200285245051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4905692200285245051'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/navigation-bar-design-tasks.html' title='Navigation bar design tasks'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-1206892974182976511</id><published>2009-01-28T09:28:00.001-08:00</published><updated>2009-01-28T09:28:24.589-08:00</updated><title type='text'>Displaying and hiding regions based on recordset results</title><content type='html'>&lt;p&gt;Dreamweaver includes a set of server behaviors that let you show or hide a  region based on the results returned by a recordset. For example, in a page  using "Previous" and "Next" record links to navigate a results page, you can  specify that the "Previous" records link be shown on all results pages except  the first (which has no previous results), and that the "Next" records link be  shown on all pages except the last (which has no next results). &lt;/p&gt; &lt;p&gt;You can also specify that a region be displayed or hidden based on whether  the recordset is empty or not. If a recordset is empty (for example, no records  were found matching the query), you can display a message informing the user  that no records were returned. This is especially useful when creating search  pages that rely on user input search terms to run queries against. Similarly,  you can display an error message if there is a problem connecting to a database,  or if a user’s user name and password do not match those recognized by the  server.&lt;/p&gt; &lt;p&gt;The Show Region server behaviors are:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Show If Recordset Is Empty  &lt;/li&gt;&lt;li&gt;Show If Recordset Is Not Empty  &lt;/li&gt;&lt;li&gt;Show If First Page  &lt;/li&gt;&lt;li&gt;Show If Not First Page  &lt;/li&gt;&lt;li&gt;Show If Last Page  &lt;/li&gt;&lt;li&gt;Show If Not Last Page &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;To learn how to apply the Show Region server behaviors, see &lt;a&gt;Showing and hiding regions based on recordset  results&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-1206892974182976511?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/1206892974182976511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/displaying-and-hiding-regions-based-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1206892974182976511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1206892974182976511'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/displaying-and-hiding-regions-based-on.html' title='Displaying and hiding regions based on recordset results'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-3806550439628588065</id><published>2009-01-28T09:27:00.002-08:00</published><updated>2009-01-28T09:28:01.710-08:00</updated><title type='text'>Displaying multiple recordset results</title><content type='html'>&lt;p&gt;The Repeat Region server behavior lets you display multiple records from a  recordset within a page. Any dynamic data selection can be turned into a  repeated region. However, the most common regions are a table, a table row, or a  series of table rows.&lt;/p&gt; &lt;p&gt;The following example illustrates how the Repeat Region server behavior is  applied to a table row, and specifies that nine records are displayed per page.  The row itself displays four different records: city, state, street address, and  zip code.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;To create a table such as the one shown above, you must create a table  containing dynamic content, and apply the Repeat Region server behavior to the  table row containing the dynamic content. When the page is processed by the  application server, the row is repeated the number of times specified in the  Repeat Region server object, with a different record inserted in each  new row.&lt;/p&gt; &lt;p&gt;To learn how to apply the Repeat Region server behavior, see &lt;a&gt;Displaying multiple recordset results&lt;/a&gt; and &lt;a&gt;Creating a table with a Repeat Region server  behavior&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-3806550439628588065?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/3806550439628588065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/displaying-multiple-recordset-results_28.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3806550439628588065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3806550439628588065'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/displaying-multiple-recordset-results_28.html' title='Displaying multiple recordset results'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-3616948736167556658</id><published>2009-01-28T09:27:00.001-08:00</published><updated>2009-01-28T09:27:30.666-08:00</updated><title type='text'>Record counters</title><content type='html'>&lt;p&gt;Record counters give users a reference point when they are navigating through  a set of records. Typically, record counters display the total number of records  returned, and the current records being viewed. For example, if a recordset  returns 40 individual records, and 8 records are displayed per page, the record  counter on the first page would indicate "Displaying records 1-8 of 40."&lt;/p&gt; &lt;p&gt;To create a record counter for a page, you must first create a recordset for  the page, an appropriate page layout to contain the dynamic content, and a  recordset navigation bar. To learn more about creating these elements, and  adding them to a page, see the following sections:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a&gt;Understanding recordsets&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Creating recordset navigation links&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Displaying multiple recordset results&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Creating a table with a Repeat Region server  behavior&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Once you have the above elements in the page, you can create a record  counter.&lt;/p&gt; &lt;h3&gt;&lt;a name="wp91079"&gt;&lt;/a&gt;Simple record counters&lt;/h3&gt; &lt;p&gt;You can create a simple record counter using the Recordset Navigation Status  server object. This server object inserts a complete record counter that you can  apply text formatting to using Dreamweaver page-design tools. To learn more  about this record counter, see &lt;a&gt;Creating a record  counter using the Recordset Navigation Status object&lt;/a&gt;.&lt;/p&gt; &lt;h3&gt;&lt;a name="wp79678"&gt;&lt;/a&gt;Custom record counters&lt;/h3&gt; &lt;p&gt;You can use individual record count behaviors to create custom record  counters. Creating a custom record counter allows you to create a record counter  beyond the simple, single row table inserted by the Recordset Navigation Status  server object. You can arrange design elements in a number of creative ways, and  apply an appropriate server behavior to each element. &lt;/p&gt; &lt;p&gt;The Record Count server behaviors are:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Display Starting Record Number  &lt;/li&gt;&lt;li&gt;Display Ending Record Number  &lt;/li&gt;&lt;li&gt;Display Total Records &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;a&gt;Creating custom record counters&lt;/a&gt; leads you  through the steps to create a record counter by applying the individual Record  Counter server behaviors to a page’s design elements.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-3616948736167556658?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/3616948736167556658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/record-counters.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3616948736167556658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3616948736167556658'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/record-counters.html' title='Record counters'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-4958924703955956848</id><published>2009-01-28T09:23:00.000-08:00</published><updated>2009-01-28T09:26:51.472-08:00</updated><title type='text'>Using predefined data formats</title><content type='html'>&lt;p&gt;Dreamweaver comes with several predefined data formats that you can apply to  dynamic data elements. The data format styles include date and time, currency,  numerical, and percentage formats.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp71917"&gt;&lt;/a&gt;To apply data formats to dynamic content: &lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Select the dynamic content in either the Live Data window or its placeholder  in the Document window.  &lt;/li&gt;&lt;li&gt;Select Window &gt; Bindings to display the Bindings panel.  &lt;/li&gt;&lt;li&gt;Click the down arrow button in the Format column.  &lt;p&gt;If the down arrow is not visible, expand the panel.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;From the Format pop-up menu, select the data format category you want.  &lt;p&gt;Ensure that the data format is appropriate for the type of data you are  formatting. For example, the Currency formats work only if the dynamic data  consists of numerical data. Note that you cannot apply more than one format to  the same data.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Verify that the format was applied correctly by previewing the page in  either the Live Data window or a browser. &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-4958924703955956848?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/4958924703955956848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/using-predefined-data-formats.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4958924703955956848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4958924703955956848'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/using-predefined-data-formats.html' title='Using predefined data formats'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-898113637920677299</id><published>2009-01-28T09:22:00.000-08:00</published><updated>2009-01-28T09:23:21.889-08:00</updated><title type='text'>Customizing existing data formats</title><content type='html'>&lt;p&gt;You can customize the Dreamweaver existing data formats or create your  own.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp97513"&gt;&lt;/a&gt;To customize a data format:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Open a page that contains dynamic data in Design view.  &lt;/li&gt;&lt;li&gt;Select the dynamic data whose format you want to customize.  &lt;/li&gt;&lt;li&gt;Select Window &gt; Bindings to display the Bindings panel.  &lt;p&gt;The bound data item whose dynamic text you selected will be highlighted. &lt;/p&gt; &lt;/li&gt;&lt;li&gt;Click the down arrow in the Format column to expand the pop-up menu of  available data formats.  &lt;p&gt;If the down arrow is not visible, expand the panel.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Select Edit Format List from the pop-up menu.  &lt;p&gt;The Edit Format List dialog box appears. &lt;/p&gt; &lt;/li&gt;&lt;li&gt;Complete the dialog box and click OK.  &lt;p&gt;For instructions, see &lt;a&gt;Setting the Edit Format  List dialog box options&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-898113637920677299?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/898113637920677299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/customizing-existing-data-formats.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/898113637920677299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/898113637920677299'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/customizing-existing-data-formats.html' title='Customizing existing data formats'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-3813469731469128741</id><published>2009-01-28T09:21:00.000-08:00</published><updated>2009-01-28T09:22:17.729-08:00</updated><title type='text'>Creating new data formats</title><content type='html'>&lt;h1&gt;&lt;span class="Apple-style-span" style="font-size: 16px; font-weight: normal; "&gt;You can create new data formats to suit any type of dynamic data you want to  display.&lt;/span&gt;&lt;br /&gt;&lt;/h1&gt; &lt;h4&gt;&lt;a name="wp71949"&gt;&lt;/a&gt;To create a new data format:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Open a page containing dynamic data in Design view.  &lt;/li&gt;&lt;li&gt;Select the dynamic data you want to create a custom format for.  &lt;/li&gt;&lt;li&gt;Select Window &gt; Bindings to display the Bindings panel, and click the  down arrow in the Format column.  &lt;p&gt;If the down arrow is not visible, expand the panel.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Select Edit Format List from the pop-up menu.  &lt;p&gt;The Edit Format List dialog box appears.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Click the Plus (+) button and select a format type.  &lt;/li&gt;&lt;li&gt;Define the format and click OK.  &lt;/li&gt;&lt;li&gt;Enter a name for the new format in the Name column.  &lt;/li&gt;&lt;li&gt;Click OK to close the Edit Format List dialog box. &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-3813469731469128741?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/3813469731469128741/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-new-data-formats.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3813469731469128741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3813469731469128741'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-new-data-formats.html' title='Creating new data formats'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-2148076025642251255</id><published>2009-01-28T09:20:00.000-08:00</published><updated>2009-01-28T09:21:33.102-08:00</updated><title type='text'>Creating recordset navigation links</title><content type='html'>&lt;h1&gt;&lt;span class="Apple-style-span" style="font-size: 16px; font-weight: normal; "&gt;Recordset navigation links let users move from one record to the next, or  from one set of records to the next. For example, after designing a page to  display five records at a time, you might want to add links such as &lt;i&gt;Next&lt;/i&gt;  or &lt;i&gt;Previous&lt;/i&gt; that let users display the five next or previous records.&lt;/span&gt;&lt;br /&gt;&lt;/h1&gt; &lt;p&gt;You can create recordset navigation links either by using the  Recordset Navigation Bar server behavior or you can create a custom  recordset navigation bar.&lt;/p&gt; &lt;p&gt;This section covers the following topics:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a&gt;Creating a navigation bar using the Recordset  Navigation Bar server behavior&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Creating a custom recordset navigation  bar&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-2148076025642251255?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/2148076025642251255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-recordset-navigation-links.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2148076025642251255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2148076025642251255'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-recordset-navigation-links.html' title='Creating recordset navigation links'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-7513598732046139857</id><published>2009-01-28T09:06:00.004-08:00</published><updated>2009-01-28T09:07:30.278-08:00</updated><title type='text'>Creating a navigation bar using the Recordset Navigation Bar server behavior</title><content type='html'>&lt;p&gt;You can create a recordset navigation bar in a single operation using the  Recordset Navigation Bar server behavior. The server object adds the following  building blocks to the page:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;An HTML table with either text or image links  &lt;/li&gt;&lt;li&gt;A set of "Move to" server behaviors  &lt;/li&gt;&lt;li&gt;A set of "Show Region" server behaviors &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;The text version of the Recordset Navigation Bar looks like this:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;The image version of the Recordset Navigation Bar looks like this:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Before placing the navigation bar on the page, make sure the page contains a  recordset to navigate and a page layout in which to display the records.&lt;/p&gt; &lt;p&gt;After placing the navigation bar on the page, you can use the Dreamweaver  design tools to customize the bar to your liking. You can also edit the "Move  to" and "Show Region" server behaviors by double-clicking them in the Server  Behaviors panel.&lt;/p&gt; &lt;p&gt;If you want to build the navigation bar block by block using the Dreamweaver  design tools and the Server Behaviors panel, see &lt;a&gt;Creating a custom recordset navigation bar&lt;/a&gt;.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp71993"&gt;&lt;/a&gt;To create the recordset navigation bar with the server  object:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;In Design view, place the insertion point at the location on the page where  you want the navigation bar to appear.  &lt;/li&gt;&lt;li&gt;Display the Recordset Navigation Bar dialog box (Insert &gt; Application  Objects &gt; Recordset Navigation Bar).  &lt;p&gt;The Insert Recordset Navigation Bar dialog box appears.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;Select the recordset you want to navigate from the Recordset pop-up menu.  &lt;/li&gt;&lt;li&gt;From the Display Using section, select the format to display the navigation  links on the page. The Text option places text links on the page, while the  Images option lets you use graphical images as links.  &lt;p&gt;In the image version of the navigation bar, Dreamweaver uses its own image  files. You can replace these images with image files of your own after placing  the bar on the page.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Click OK.  &lt;p&gt;Dreamweaver creates a table that contains text or image links that allow the  user to navigate through the selected recordset when clicked. When the first  record in the recordset is displayed, the &lt;i&gt;First&lt;/i&gt; and &lt;i&gt;Previous&lt;/i&gt; links  or images are hidden. When the last record in the recordset is displayed, the  &lt;i&gt;Next&lt;/i&gt; and &lt;i&gt;Last&lt;/i&gt; links or images are hidden.&lt;/p&gt; &lt;p&gt;You can customize the layout of the navigation bar using the Dreamweaver  design tools.&lt;/p&gt;&lt;/li&gt;&lt;p&gt; &lt;/p&gt;&lt;/ol&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-7513598732046139857?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/7513598732046139857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-navigation-bar-using-recordset.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7513598732046139857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7513598732046139857'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-navigation-bar-using-recordset.html' title='Creating a navigation bar using the Recordset Navigation Bar server behavior'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-7881490049440711710</id><published>2009-01-28T09:06:00.003-08:00</published><updated>2009-01-28T09:06:48.501-08:00</updated><title type='text'>Creating a custom recordset navigation bar</title><content type='html'>&lt;p&gt;You can create a custom recordset navigation bar that uses more complex  layout and formatting styles than that offered by the simple table used by the  Recordset Navigation Bar server object.&lt;/p&gt; &lt;p&gt;To create your own recordset navigation bar, you must:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Design navigation links using either text or images  &lt;/li&gt;&lt;li&gt;Place the links in the page in Design view  &lt;/li&gt;&lt;li&gt;Assign individual server behaviors to each navigation link &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;To learn more about designing a custom recordset navigation bar, see &lt;a&gt;Custom recordset navigation bars&lt;/a&gt;. If you prefer  to use the Dreamweaver built-in Recordset Navigation Bar server object to create  a navigation bar, see &lt;a&gt;Creating a navigation bar  using the Recordset Navigation Bar server behavior&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;This procedure describes how to assign individual server behaviors to the  navigation links. &lt;/p&gt; &lt;h4&gt;&lt;a name="wp72051"&gt;&lt;/a&gt;To assign server behaviors to recordset navigation  links: &lt;/h4&gt; &lt;ol&gt; &lt;li&gt;In Design view, select the text string or image on the page you want to use  as a record navigation link.  &lt;/li&gt;&lt;li&gt;Open the Server Behaviors panel (Window &gt; Server Behaviors) and click the  Plus (+) button.  &lt;/li&gt;&lt;li&gt;Select Recordset Paging from the pop-up menu; then select a server behavior  appropriate to that link from the listed server behaviors.  &lt;p&gt;If the recordset contains a large number of records, the Move to Last Record  server behavior can take a long time to run when the user clicks the link.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;In the Recordset pop-up menu, select the recordset containing the records.  &lt;/li&gt;&lt;li&gt;Click OK.  &lt;p&gt;The server behavior is assigned to the navigation link.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-7881490049440711710?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/7881490049440711710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-custom-recordset-navigation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7881490049440711710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7881490049440711710'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-custom-recordset-navigation.html' title='Creating a custom recordset navigation bar'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-3544411466792044730</id><published>2009-01-28T09:06:00.001-08:00</published><updated>2009-01-28T09:06:28.437-08:00</updated><title type='text'>Showing and hiding regions based on recordset results</title><content type='html'>&lt;h1&gt;&lt;span class="Apple-style-span" style="font-size: 16px; font-weight: normal; "&gt;Dreamweaver includes a set of server behaviors that let you show or hide a  region based on the results returned by a recordset. To learn more about the  Show Region server behaviors, and how they can be used to show or hide recordset  results, see &lt;a&gt;Displaying and hiding regions based  on recordset results&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;&lt;/h1&gt; &lt;h4&gt;&lt;a name="wp72070"&gt;&lt;/a&gt;To show a region only when it’s needed: &lt;/h4&gt; &lt;ol&gt; &lt;li&gt;In Design view, select the region on the page to show or hide.  &lt;/li&gt;&lt;li&gt;In the Server Behaviors panel (Window &gt; Server Behaviors), click the  Plus (+) button.  &lt;/li&gt;&lt;li&gt;Select Show Region from the pop-up menu, and then select one of the listed  server behaviors.  &lt;/li&gt;&lt;li&gt;Click OK. &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-3544411466792044730?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/3544411466792044730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/showing-and-hiding-regions-based-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3544411466792044730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3544411466792044730'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/showing-and-hiding-regions-based-on.html' title='Showing and hiding regions based on recordset results'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-7664497061051947168</id><published>2009-01-28T09:05:00.001-08:00</published><updated>2009-01-28T09:05:58.678-08:00</updated><title type='text'>Displaying multiple recordset results</title><content type='html'>&lt;p&gt;The Repeat Region server behavior lets you display multiple records from a  recordset within a page. Any dynamic data selection can be turned into a  repeated region. However, the most common regions are tables, table rows, or a  series of table rows. &lt;/p&gt; &lt;p&gt;To learn more about using the Repeat Region server behavior, see &lt;a&gt;Displaying multiple recordset results&lt;/a&gt; and &lt;a&gt;Creating a table with a Repeat Region server  behavior&lt;/a&gt;.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp72088"&gt;&lt;/a&gt;To create a repeated region:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;In Design view, select a region that contains dynamic content.  &lt;p&gt;The selection can be anything, including a table, a table row, or even a  paragraph of text.&lt;/p&gt; &lt;p&gt;To select a region on the page precisely, you can use the tag selector on the  left corner of the document window. For example, if the region is a table row,  click inside the row on the page, then click the rightmost &lt;code&gt;&lt;tr&gt;  &lt;/code&gt;tag in the tag selector to select the table row.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Select Window &gt; Server Behaviors to display the Server Behaviors panel.  &lt;/li&gt;&lt;li&gt;Click the Plus (+) button, and select Repeat Region.  &lt;p&gt;The Repeat Region dialog box appears.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;Select the name of the recordset to use from the pop-up menu.  &lt;/li&gt;&lt;li&gt;Select the number of records to display per page.  &lt;/li&gt;&lt;li&gt;Click OK.  &lt;p&gt;In the Document window, a thin, tabbed, gray outline appears around the  repeated region. In the Live Data window (View &gt; Live Data), the gray outline  disappears and the selection expands to display the number of records you  specified.&lt;/p&gt;&lt;/li&gt;&lt;p&gt;&lt;/p&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-7664497061051947168?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/7664497061051947168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/displaying-multiple-recordset-results.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7664497061051947168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7664497061051947168'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/displaying-multiple-recordset-results.html' title='Displaying multiple recordset results'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-8986917771778176205</id><published>2009-01-28T09:04:00.002-08:00</published><updated>2009-01-28T09:05:18.920-08:00</updated><title type='text'>Creating a table with a Repeat Region server behavior</title><content type='html'>&lt;p&gt;The Dynamic Table server object lets you create a table containing dynamic  content and apply the Repeat Region behavior from a single dialog box. This  server object is especially useful as it simultaneously populates a table with  dynamic content from a recordset and applies the Repeat Region server  behavior.&lt;/p&gt; &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;The Dynamic Table server object is not available when using ASP.NET document  types. To create a table containing dynamic content and repeating regions, you  must manually insert the table, insert dynamic content from the Bindings panel,  and apply a Repeat Region server behavior if needed. For more information, see  &lt;a&gt;Displaying multiple recordset  results&lt;/a&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;h4&gt;&lt;a name="wp72110"&gt;&lt;/a&gt;To create a dynamic table:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;To insert a dynamic table:  &lt;ul&gt; &lt;li&gt;Select Insert &gt; Application Objects &gt; Dynamic Data &gt; Dynamic Table  to display the Dynamic Table dialog box.  &lt;/li&gt;&lt;li&gt;From the Application category of the Insert bar, select the Dynamic Table  button in the Dynamic Data menu. &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;The Dynamic Table dialog box appears.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;Select the recordset you want to use from the Recordset pop-up menu.  &lt;/li&gt;&lt;li&gt;Select the number of records to display per page.  &lt;/li&gt;&lt;li&gt;Input values for the table border, cell padding, and cell spacing if  desired.  &lt;p&gt;The Dynamic Table dialog box retains the values you enter for table borders,  cell padding, and cell spacing. If you are working on a project that will need  several dynamic tables requiring the same look, you may want to enter the table  layout values, as this will further simplify page development. Note that you can  adjust these values after inserting the table using the table Property  inspector.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Click OK.  &lt;p&gt;A table and placeholders for the dynamic content defined in its associated  recordset are inserted into the page.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;In this example, the recordset contains four records: FIRSTNAME, LASTNAME,  TITLE, and DEPARTMENT. The table’s Heading row is populated with the names of  each record item. You can edit the headings using any descriptive text you want,  or replace them with representative images.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&lt;p&gt;&lt;/p&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-8986917771778176205?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/8986917771778176205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-table-with-repeat-region.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8986917771778176205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8986917771778176205'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-table-with-repeat-region.html' title='Creating a table with a Repeat Region server behavior'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-4903068675800233853</id><published>2009-01-28T09:04:00.001-08:00</published><updated>2009-01-28T09:04:36.691-08:00</updated><title type='text'>Creating a record counter</title><content type='html'>&lt;h1&gt;&lt;br /&gt;&lt;/h1&gt; &lt;p&gt;Record counters let users know where they are within a given set of records  relative to the total number of records returned. For this reason record  counters are a useful behavior that can significantly add to the usability of a  web page.&lt;/p&gt; &lt;p&gt;To learn more about record counters, see &lt;a&gt;Record counters&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;This section covers the following topics:&lt;/p&gt; &lt;p&gt;&lt;a&gt;Creating a record counter using the Recordset  Navigation Status object&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a&gt;Creating custom record counters&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-4903068675800233853?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/4903068675800233853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-record-counter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4903068675800233853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4903068675800233853'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-record-counter.html' title='Creating a record counter'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-3146897528105263138</id><published>2009-01-28T09:03:00.002-08:00</published><updated>2009-01-28T09:04:10.199-08:00</updated><title type='text'>Creating a record counter using the Recordset Navigation Status object</title><content type='html'>&lt;p&gt;The Recordset Navigation Status object creates a text entry on the page to  display the current record status.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp72152"&gt;&lt;/a&gt;To use the Recordset Navigation Status server  object:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Place the insertion point where you want to insert the record counter.  &lt;/li&gt;&lt;li&gt;Select Insert &gt; Application Objects &gt; Recordset Navigation Status.  &lt;p&gt;The Insert Recordset Navigation Status dialog box is displayed.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Select the recordset you want to use from the Recordset pop-up menu.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Click OK.  &lt;p&gt;The Recordset Navigation Status server object inserts a text record counter  that appears similar to the one shown below:&lt;/p&gt; &lt;p&gt;&lt;img alt="This is a picture of the feature being described." hspace="0" border="0" src="" /&gt;&lt;/p&gt; &lt;p&gt;You can use the Dreamweaver page-design tools to customize the record  counter.&lt;/p&gt; &lt;p&gt;When viewed in the Live Data window or a browser, the counter will appear  similar to the one shown below:&lt;/p&gt; &lt;p&gt;&lt;img alt="This is a picture of the feature being described." hspace="0" border="0" src="" /&gt;&lt;/p&gt;&lt;/li&gt;&lt;p&gt;&lt;/p&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-3146897528105263138?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/3146897528105263138/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-record-counter-using-recordset.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3146897528105263138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3146897528105263138'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-record-counter-using-recordset.html' title='Creating a record counter using the Recordset Navigation Status object'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-6029521095047768454</id><published>2009-01-28T09:03:00.001-08:00</published><updated>2009-01-28T09:03:30.787-08:00</updated><title type='text'>Creating custom record counters</title><content type='html'>&lt;p&gt;To create a custom record counter for a page, you must first create a  recordset for the page, an appropriate page layout to contain the dynamic  content, and a recordset navigation bar. To learn more about creating these  elements and adding them to a page, see &lt;a&gt;Record  counters&lt;/a&gt;. After you have created the above elements in the page, you can  create a custom record counter.&lt;/p&gt; &lt;p&gt;This example creates a record counter that will appear similar to that  created in the previous section, &lt;a&gt;Creating a  record counter using the Recordset Navigation Status object&lt;/a&gt;. The record  counter in this example will appear as follows:&lt;/p&gt; &lt;p&gt;Displaying records &lt;code&gt;StartRow&lt;/code&gt; thru &lt;code&gt;EndRow&lt;/code&gt; of  &lt;code&gt;RecordSet.RecordCount&lt;/code&gt;.&lt;/p&gt; &lt;p&gt;In this example, the text in sans-serif font represents the record count  placeholders that will be inserted in the page.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp72205"&gt;&lt;/a&gt;To create a custom record counter: &lt;/h4&gt; &lt;ol&gt; &lt;li&gt;In Design view, enter the counter’s text on the page. The text can be  anything you want. For example: &lt;pre&gt;Displaying records thru of . &lt;/pre&gt; &lt;/li&gt;&lt;li&gt;Place the insertion point at the end of the text string.  &lt;/li&gt;&lt;li&gt;Open the Server Behaviors panel (Window &gt; Server Behaviors).  &lt;/li&gt;&lt;li&gt;Click the Plus (+) button in the upper-left corner, and click Display Record  Count. Within this submenu, select Display Total Records. The Display Total  Records behavior is inserted into the page, and a placeholder is inserted where  the insertion point was. The text string should now appear as: &lt;pre&gt;Displaying records thru of &lt;code&gt;&lt;i&gt;{Recordset1.RecordCount}.&lt;/i&gt;&lt;/code&gt; &lt;/pre&gt; &lt;/li&gt;&lt;li&gt;Place the insertion point after the word &lt;code&gt;records&lt;/code&gt;, and select  the Display Starting Record Count Number from the Server Behaviors &gt; Plus (+)  button &gt; Record Count panel. The text string should now appear as: &lt;pre&gt;Displaying records &lt;code&gt;&lt;i&gt;{StartRow_Recordset1}&lt;/i&gt;&lt;/code&gt; thru of &lt;code&gt;&lt;i&gt;{Recordset1.RecordCount}&lt;/i&gt;&lt;/code&gt;. &lt;/pre&gt; &lt;/li&gt;&lt;li&gt;Now place the insertion point between the words &lt;code&gt;thru&lt;/code&gt; and  &lt;code&gt;of&lt;/code&gt;, and select the Display Starting Record Count Number from the  Server Behaviors &gt; Plus (+) button &gt; Record Count panel. The text string  should now appear as: &lt;pre&gt;Displaying records &lt;code&gt;&lt;i&gt;{StartRow_Recordset1}&lt;/i&gt;&lt;/code&gt; thru &lt;code&gt;&lt;i&gt;{EndRow_Recordset1}&lt;/i&gt;&lt;/code&gt; of &lt;code&gt;&lt;i&gt;{Recordset1.RecordCount}&lt;/i&gt;&lt;/code&gt;. &lt;/pre&gt; &lt;/li&gt;&lt;li&gt;Confirm that the counter functions correctly by viewing the page in the Live  Data window (View &gt; Live Data); the counter should now look similar to the  following example: &lt;pre&gt;Displaying records 1 thru 8 of 40. &lt;/pre&gt; &lt;p&gt;If the results page has a navigation link to move to the next set of records,  clicking the link would update the record counter to read as follows:&lt;/p&gt;&lt;pre&gt;Showing records 9 thru 16 of 40. &lt;/pre&gt; &lt;p&gt;Links don’t work in the Live Data window. To test them, you can use the  Preview in Browser feature in Dreamweaver. Make sure the Preview Using Live Data  Server option is selected in Preferences (Edit &gt; Preferences &gt; Preview in  Browser (Windows) or Dreamweaver &gt; Preferences &gt; Preview in Browser  (Macintosh)); then select File &gt; Preview in Browser.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-6029521095047768454?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/6029521095047768454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-custom-record-counters.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6029521095047768454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6029521095047768454'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-custom-record-counters.html' title='Creating custom record counters'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-1006844019891836872</id><published>2009-01-28T09:02:00.001-08:00</published><updated>2009-01-28T09:02:32.243-08:00</updated><title type='text'>Displaying XML Data in Web Pages</title><content type='html'>&lt;h1&gt;&lt;span class="Apple-style-span" style="font-size: 16px; font-weight: normal; "&gt;You can use Macromedia Dreamweaver 8 to create web pages that display XML  data. Displaying XML data involves retrieving information stored in a local or  remote XML file and rendering that information in a web page. Dreamweaver  provides methods for displaying information from XML files, as well as built-in  XSLT objects and design features that let you enhance the presentation of your  XML data.&lt;/span&gt;&lt;br /&gt;&lt;/h1&gt; &lt;p&gt;This chapter contains the following sections:&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;About using XML and XSL with web  pages&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;About server-side XSL  transformations&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;About client-side XSL  transformations&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;About XML data and repeating  elements&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;About previewing XML data&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;Performing XSL transformations on the  server&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;Performing XSL transformations on the  client&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;Applying styles to XSLT  fragments&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;Troubleshooting XSL  transformations&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-1006844019891836872?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/1006844019891836872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/displaying-xml-data-in-web-pages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1006844019891836872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1006844019891836872'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/displaying-xml-data-in-web-pages.html' title='Displaying XML Data in Web Pages'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-7769083271449958274</id><published>2009-01-28T09:01:00.000-08:00</published><updated>2009-01-28T09:02:02.569-08:00</updated><title type='text'>About using XML and XSL with web pages</title><content type='html'>&lt;h1&gt;&lt;br /&gt;&lt;/h1&gt; &lt;p&gt;Extensible Markup Language (XML) is a language that lets you structure  information. Like HTML, XML lets you structure your information using tags, but  XML tags are not predefined as HTML tags are. Instead, XML lets you create tags  that best define your data structure. Tags are nested within others to create a  schema of parent and child tags. Like most HTML tags, all tags in an XML schema  have an opening and closing tag.&lt;/p&gt; &lt;p&gt;The following example illustrates the basic structure of an XML file:&lt;/p&gt;&lt;pre&gt; &lt;mybooks&gt;    &lt;book bookid="1"&gt;       &lt;pubdate&gt;03/01/2004&lt;/pubdate&gt;              &lt;author&gt;Charles Brown&lt;/author&gt;    &lt;/book&gt;    &lt;book bookid="2"&gt;       &lt;pubdate&gt;04/08/2004&lt;/pubdate&gt;              &lt;author&gt;John Thompson&lt;/author&gt;    &lt;/book&gt; &lt;/mybooks&gt; &lt;/pre&gt; &lt;p&gt;In this example, each parent &lt;code&gt;&lt;book&gt;&lt;/book&gt;&lt;/code&gt; tag contains three  child tags: &lt;code&gt;&lt;pubdate&gt;&lt;/pubdate&gt;&lt;/code&gt;, &lt;code&gt;&lt;/code&gt;, and  &lt;code&gt;&lt;author&gt;&lt;/author&gt;&lt;/code&gt;. But each &lt;code&gt;&lt;book&gt;&lt;/book&gt;&lt;/code&gt; tag is also a  child tag of the &lt;code&gt;&lt;mybooks&gt;&lt;/mybooks&gt;&lt;/code&gt; tag, which is one level higher in  the schema. You can name and structure XML tags in any way you like, provided  that you nest tags accordingly within others, and assign each opening tag a  corresponding closing tag.&lt;/p&gt; &lt;p&gt;XML documents do not contain any formatting -- they are simply containers of  structured information. Once you have an XML schema, you can use the Extensible  Stylesheet Language (XSL) to display the information. In the way that Cascading  Style Sheets (CSS) let you format HTML, XSL lets you format XML data. You can  define styles, page elements, layout, and so forth in an XSL file and attach it  to an XML file so that when a user views the XML data in a browser, the data is  formatted according to whatever you’ve defined in the XSL file. The content (the  XML data) and presentation (defined by the XSL file) are entirely separate,  providing you with greater control over how your information appears on a web  page. In essence, XSL is a presentation technology for XML, where the primary  output is an HTML page.&lt;/p&gt; &lt;p&gt;Extensible Stylesheet Language Transformations (XSLT) is a subset language of  XSL that actually lets you display XML data on a web page, and "transform" it,  along with XSL styles, into readable, styled information in the form of HTML.  You can use Dreamweaver to create XSLT pages that let you perform XSL  transformations using an application server or a browser. When you perform a  server-side XSL transformation, the server does the work of transforming the XML  and XSL, and displaying it on the page. When you perform a client-side  transformation, a browser (such as Internet Explorer) does the work.&lt;/p&gt; &lt;p&gt;The approach you ultimately take (server-side transformations versus  client-side transformations) depends on what you are trying to achieve as an end  result, the technologies available to you, the level of access you have to XML  source files, and other factors. Both approaches have their own benefits and  limitations. For example server-side transformations work in all browsers while  client-side transformations are restricted to modern browsers only (Internet  Explorer 6, Netscape 8, Mozilla 1.8, and Firefox 1.0.2). Server-side  transformations let you display XML data dynamically from your own server or  from anywhere else on the web, while client-side transformations must use XML  data that is locally hosted on your own web server. Lastly, server-side  transformations require that you deploy your pages to a configured application  server, while client-side transformations only require access to a web  server.&lt;/p&gt; &lt;p&gt;For more information, see &lt;a&gt;About server-side  XSL transformations&lt;/a&gt;, and &lt;a&gt;About client-side XSL  transformations&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-7769083271449958274?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/7769083271449958274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-using-xml-and-xsl-with-web-pages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7769083271449958274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7769083271449958274'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-using-xml-and-xsl-with-web-pages.html' title='About using XML and XSL with web pages'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-6697718835770255073</id><published>2009-01-28T09:00:00.004-08:00</published><updated>2009-01-28T09:01:26.669-08:00</updated><title type='text'>About server-side XSL transformations</title><content type='html'>&lt;p&gt;Dreamweaver provides methods for creating XSLT pages that let you perform  server-side XSL transformations. When an application server performs the XSL  transformation, the file containing the XML data can reside on your own server,  or anywhere else on the web. Additionally, any browser can display the  transformed data. Deploying pages for server-side transformations, however, is  somewhat complex, and requires that you have access to an application  server.&lt;/p&gt; &lt;p&gt;When working with server-side XSL transformations, you can use Dreamweaver to  create XSLT pages that generate full HTML documents (entire XSLT pages), or XSLT  fragments that generate a portion of an HTML document. An entire XSLT page is  similar to a regular HTML page. It contains a &lt;code&gt;&lt;/code&gt; tag and  a &lt;code&gt;&lt;/code&gt; tag, and lets you display a combination of HTML and  XML data on the page. An XSLT fragment is a piece of code, used by a separate  document, that displays formatted XML data. Unlike an entire XSLT page, it is an  independent file that contains no &lt;code&gt;&lt;/code&gt; or  &lt;code&gt;&lt;/code&gt; tag. If you want to display XML data on a page of its  own, you would create an entire XSLT page, and bind your XML data to it. If, on  the other hand, you wanted to display XML data in a particular section of an  existing dynamic page--for example, a dynamic home page for a sporting goods  store, with sports scores from an RSS feed displayed on one side of the  page--you would create an XSLT fragment and insert a reference to it in the  dynamic page. Creating XSLT fragments, and using them in conjunction with other  dynamic pages to display XML data, is the more common scenario.&lt;/p&gt; &lt;p&gt;The first step in creating these types of pages is to create the XSLT  fragment: It is a separate file that contains the layout, formatting, and so on  of the XML data that you eventually want to display in the dynamic page. Once  you create the XSLT fragment, you insert a reference to it in your dynamic page  (for example, a PHP or Macromedia ColdFusion page). The inserted reference to  the fragment works much like an Server Side Include (SSI) -- the formatted XML  data (the fragment) resides in a separate file, while in Design view, a  placeholder for the fragment appears on the dynamic page itself. When a browser  requests the dynamic page containing the reference to the fragment, the server  processes the included instruction and creates a new document in which the  formatted contents of the fragment appear instead of the placeholder.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;You use the XSL Transformation server behavior to insert the reference to an  XSLT fragment in a dynamic page. When you insert the reference, Dreamweaver  generates an includes/MM_XSLTransform/ folder in the site’s root folder that  contains a runtime library file. The application server uses the functions  defined in this file when transforming the specified XML data. The file is  responsible for fetching the XML data and XSLT fragments, performing the XSL  transformation, and outputting the results on the web page.&lt;/p&gt; &lt;p&gt;The file containing the XSLT fragment, the XML file containing your data, and  the generated run-time library file must all be on the server for your page to  display correctly. (If you select a remote XML file as your data source -- one  from an RSS feed, for example -- that file must of course reside somewhere else  on the Internet.)&lt;/p&gt; &lt;p&gt;You can also use Dreamweaver to create entire XSLT pages for use with  server-side transformations. An entire XSLT page works in exactly the same way  as an XSLT fragment, only when you insert the reference to the entire XSLT page  using the XSL Transformation server behavior, you are inserting the full  contents of an HTML page. Thus, the dynamic page (the .cfm, .php, .asp, or .net  page that acts as the container page) must be cleared of all HTML before you  insert the reference.&lt;/p&gt; &lt;p&gt;Dreamweaver supports XSL transformations for ColdFusion, ASP, ASP.NET, and  PHP pages.&lt;/p&gt; &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Your server must be correctly configured to perform server-side  transformations. For more information, contact your server administrator, or  visit &lt;a href="http://www.macromedia.com/go/dw_xsl" target="mm_window"&gt;www.macromedia.com/go/dw_xsl&lt;/a&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;For procedures on creating server-side XSL transformations, see &lt;a&gt;Performing XSL transformations on the server&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-6697718835770255073?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/6697718835770255073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-server-side-xsl-transformations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6697718835770255073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6697718835770255073'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-server-side-xsl-transformations.html' title='About server-side XSL transformations'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-7679627146436000065</id><published>2009-01-28T09:00:00.003-08:00</published><updated>2009-01-28T09:00:54.769-08:00</updated><title type='text'>About client-side XSL transformations</title><content type='html'>&lt;p&gt;You can also perform XSL transformations on the client without the use of an  application server. You can use Dreamweaver to create an entire XSLT page that  will do this; however, client-side transformations require manipulation of the  XML file that contains the data you want to display. Additionally, client-side  transformations will only work in modern browsers (Internet Explorer 6, Netscape  8, Mozilla 1.8, and Firefox 1.0.2). For more information on browsers that do and  don’t support XSL transformations, see &lt;a href="http://www.w3schools.com/xsl/xsl_browsers.asp" target="mm_window"&gt;www.w3schools.com/xsl/xsl_browsers.asp&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;You begin by creating an entire XSLT page and attaching an XML data source.  (Dreamweaver prompts you to attach the data source when you create the new  page.) You can use Dreamweaver to create an XSLT page from scratch, or you can  convert an existing HTML page to an XSLT page. When you convert an existing HTML  page to an XSLT page you must attach an XML data source using the Bindings panel  (Window &gt; Bindings).&lt;/p&gt; &lt;p&gt;Once you’ve created your XSLT page, you must link it to the XML file  containing the XML data by inserting a reference to the XSLT page in the XML  file itself (much like you would insert a reference to an external CSS style  sheet in the &lt;code&gt;&lt;/code&gt; section of an HTML page). Your site  visitors must view the XML file (not the XSLT page) in a browser. When your site  visitors view the page, the browser performs the XSL transformation and displays  the XML data, formatted by the linked XSLT page.&lt;/p&gt; &lt;p&gt;The relationship between the linked XSLT and XML pages is conceptually  similar, yet different from the external CSS/HTML page model. When you have an  HTML page that contains content (such as text), you use an external style sheet  to format that content. The HTML page determines the content, and the external  CSS code, which the user never sees, determines the presentation. With XSLT and  XML, the situation is reversed. The XML file (which the user never sees in its  raw form), determines the content while the XSLT page determines the  presentation. The XSLT page contains the tables, layout, graphics, and so forth  that the standard HTML usually contains. When a user views the XML file in a  browser, the XSLT page formats the content.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;When you use Dreamweaver to link an XSLT page to an XML page, Dreamweaver  inserts the appropriate code for you at the top of the XML page. If you own the  XML page to which you’re linking (that is, if the XML file exclusively lives on  your web server), all you need to do is use Dreamweaver to insert the  appropriate code that links the two pages. When you own the XML file, the XSL  transformations performed by the client are fully dynamic. That is, whenever you  update the data in the XML file, any HTML output using the linked XSLT page will  be automatically updated with the new information.&lt;/p&gt; &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;The XML and XSL files you use for client-side transformations must reside in  the same directory. If they don’t, the browser will read the XML file and find  the XSLT page for the transformation, but will fail to find assets (style  sheets, images, and so on) defined by relative links in the XSLT  page.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;If you don’t own the XML page to which you’re linking (for example, if you  want to use XML data from an RSS feed somewhere out on the web), the workflow is  a bit more complicated. To perform client-side transformations using XML data  from an external source, you must first download the XML source file to the same  directory where your XSLT page resides. Once the XML page is in your local site,  you can use Dreamweaver to add the appropriate code that links it to the XSLT  page, and post both pages (the downloaded XML file and the linked XSLT page) to  your web server. When the user views the XML page in a browser, the XSLT page  formats the content, just like in the previous example. &lt;/p&gt; &lt;p&gt;The disadvantage to performing client-side XSL transformations on XML data  that comes from an external source is that the XML data is only partially  "dynamic." The XML file that you download and alter is merely a "snapshot" of  the file that lives elsewhere on the web. If the original XML file out on the  web changes, you must download the file again, link it to the XSLT page, and  repost the XML file to your web server. The browser only renders the data that  it receives from the XML file on your web server, not the data contained in the  original XML source file.&lt;/p&gt; &lt;p&gt;For procedures on creating client-side XSL transformations, see &lt;a&gt;Performing XSL transformations on the  client&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-7679627146436000065?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/7679627146436000065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-client-side-xsl-transformations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7679627146436000065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7679627146436000065'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-client-side-xsl-transformations.html' title='About client-side XSL transformations'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-1526847999146006400</id><published>2009-01-28T09:00:00.001-08:00</published><updated>2009-01-28T09:00:23.775-08:00</updated><title type='text'>About XML data and repeating elements</title><content type='html'>&lt;p&gt;The Repeat Region XSLT object lets you display repeating elements from an XML  file within a page. Any region containing an XML data placeholder can be turned  into a repeated region. However, the most common regions are a table, a table  row, or a series of table rows. &lt;/p&gt; &lt;p&gt;The following example illustrates how the Repeat Region XSLT object is  applied to a table row that displays menu information for a restaurant. The  initial row displays three different elements from the XML schema: item,  description, and price. When the Repeat Region XSLT object is applied to the  table row, and the page is processed by an application server or a browser, the  table is repeated with unique data inserted in each new table row.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;When you apply a Repeat Region XSLT object in the Document window, a thin,  tabbed, gray outline appears around the repeated region. When you preview your  work in a browser (File &gt; Preview in Browser), the gray outline disappears  and the selection expands to display the specified repeating elements in the XML  file, as in the previous illustration.&lt;/p&gt; &lt;p&gt;You might also notice that when you add the Repeat Region XSLT object to the  page, Dreamweaver truncates the length of the XML data placeholder in the  Document window. This is because Dreamweaver updates the XPath for the XML data  placeholder so that it is relative to the path of the repeating element.&lt;/p&gt; &lt;p&gt;For example, the following code is for a table that contains two dynamic  placeholders, without a Repeat Region XSLT object applied to the table:&lt;/p&gt;&lt;pre&gt;&lt;table width="500" border="1"&gt;    &lt;tr&gt;       &lt;td&gt;&lt;xsl:value-of select="rss/channel/item/title"&gt;&lt;/td&gt;    &lt;/tr&gt;    &lt;tr&gt;       &lt;td&gt;&lt;xsl:value-of select="rss/channel/item/description"&gt;&lt;/td&gt;    &lt;/tr&gt; &lt;/table&gt; &lt;/pre&gt; &lt;p&gt;The following code is for the same table with the Repeat Region XSLT object  applied to it:&lt;/p&gt;&lt;pre&gt;&lt;xsl:for-each select="rss/channel/item"&gt;    &lt;table width="500" border="1"&gt;       &lt;tr&gt;          &lt;td&gt;&lt;xsl:value-of select="title"&gt;&lt;/td&gt;       &lt;/tr&gt;       &lt;tr&gt;          &lt;td&gt;&lt;xsl:value-of select="description"&gt;&lt;/td&gt;       &lt;/tr&gt;    &lt;/table&gt; &lt;/xsl:for-each&gt; &lt;/pre&gt; &lt;p&gt;In the previous example, Dreamweaver has automatically updated the XPath for  the items that fall within the Repeat Region (title &amp;amp; description) to be  relative to the XPath in the enclosing &lt;code&gt;&lt;xsl:for-each&gt;&lt;/code&gt; tags,  rather than the full document.&lt;/p&gt; &lt;p&gt;Dreamweaver generates context-relative XPath expressions in other cases as  well. For example, if you drag an XML data placeholder to a table that already  has a Repeat Region XSLT object applied to it, Dreamweaver automatically  displays the XPath relative to the existing XPath in the enclosing  &lt;code&gt;&lt;xsl:for-each&gt;&lt;/code&gt; tags.&lt;/p&gt; &lt;p&gt;To learn how to apply the Repeat Region XSLT object, see &lt;a&gt;Displaying repeating XML elements&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-1526847999146006400?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/1526847999146006400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-xml-data-and-repeating-elements.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1526847999146006400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1526847999146006400'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-xml-data-and-repeating-elements.html' title='About XML data and repeating elements'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-7387292035013915228</id><published>2009-01-28T08:59:00.005-08:00</published><updated>2009-01-28T09:00:00.006-08:00</updated><title type='text'>About previewing XML data</title><content type='html'>&lt;p&gt;When you use Preview in Browser (File &gt; Preview in Browser) to preview XML  data that you’ve inserted in an XSLT fragment or an entire XSLT page, the engine  that performs the XSL transformation differs from situation to situation. For  dynamic pages containing XSLT fragments, the application server always performs  the transformation. At other times, either Dreamweaver or the browser might be  performing the transformation.&lt;/p&gt; &lt;p&gt;The following table summarizes the situations when using Preview in Browser,  and the engines that perform the respective transformations:&lt;/p&gt; &lt;table cellspacing="1" cellpadding="4" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;th&gt; &lt;p&gt;Type of page previewed in browser&lt;/p&gt;&lt;/th&gt; &lt;th&gt; &lt;p&gt;Data transformation performed by&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;Dynamic page containing XSLT fragment&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Application server&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;XSLT fragment or entire XSLT page&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Dreamweaver&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;XML file with link to entire XSLT page&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Browser&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;The following topics provide guidelines for helping you determine the  appropriate previewing methods, based on your needs:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a&gt;Previewing pages for server-side  transformations&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Previewing pages for client-side  transformations&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Previewing entire XSLT pages and XSLT  fragments&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt; &lt;h2&gt;&lt;a name="wp113718"&gt;&lt;/a&gt;Previewing pages for server-side transformations&lt;/h2&gt; &lt;p&gt;In the case of server-side transformations, the content the site visitor  ultimately sees is transformed by your application server. When building XSLT  and dynamic pages for use with server-side transformations, it is always  preferable to preview the dynamic page that contains the XSLT fragment instead  of the XSLT fragment itself. In the former scenario, you make use of the  application server, which ensures that your preview is consistent with what your  site visitors will see when they visit your page. In the latter scenario,  Dreamweaver performs the transformation, and could provide slightly inconsistent  results. You can use Dreamweaver to preview your XSLT fragment while you are  building it, but you’ll be able to see the most accurate results of the data  rendering if you use the application server to preview your dynamic page after  you’ve inserted the XSLT fragment.&lt;/p&gt; &lt;h2&gt;&lt;a name="wp113730"&gt;&lt;/a&gt;Previewing pages for client-side transformations&lt;/h2&gt; &lt;p&gt;In the case of client-side transformations, the content the site visitor  ultimately sees is transformed by a browser. You accomplish this by adding a  link from the XML file to the XSLT page. If you open the XML file in Dreamweaver  and preview it in a browser, you force the browser to load the XML file and  perform the transformation. This provides you with the same experience as that  of your site visitor.&lt;/p&gt; &lt;p&gt;One disadvantage of this approach is that it makes it harder for you to debug  your page because the browser transforms the XML and generates the HTML  internally. If you select the browser’s View Source option to debug the  generated HTML, you will only see the original XML that the browser received,  not the full HTML (tags, styles, and so forth) responsible for the rendering of  the page. To see the full HTML when viewing source code, you must preview the  XSLT page in a browser instead.&lt;/p&gt; &lt;h2&gt;&lt;a name="wp113744"&gt;&lt;/a&gt;Previewing entire XSLT pages and XSLT fragments&lt;/h2&gt; &lt;p&gt;When creating entire XSLT pages and XSLT fragments, you’ll want to preview  your work to make sure that your data is being displayed correctly. If you use  Preview in Browser to display an entire XSLT page or an XSLT fragment,  Dreamweaver performs the transformation using a built-in transformation engine.  This method gives you quick results, and makes it easier for you to  incrementally build and debug your page. It also provides a way for you to view  the full HTML (tags, styles, and so forth) by selecting the View Source option  in the browser.&lt;/p&gt; &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;You will most likely use this method when you begin building XSLT pages,  regardless of whether you use the client or the server to transform your  data.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-7387292035013915228?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/7387292035013915228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-previewing-xml-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7387292035013915228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7387292035013915228'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-previewing-xml-data.html' title='About previewing XML data'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-6733059559516530974</id><published>2009-01-28T08:59:00.003-08:00</published><updated>2009-01-28T08:59:34.745-08:00</updated><title type='text'>Performing XSL transformations on the server</title><content type='html'>&lt;h1&gt;Performing XSL transformations on the server&lt;/h1&gt; &lt;p&gt;You can use Dreamweaver to create entire XSLT pages or XSLT fragments for use  in dynamic web pages. An entire XSLT page is a page that, when transformed,  generates a full HTML page. An XSLT fragment is a piece of code, used by a  separate document, that, when transformed, displays XML data.&lt;/p&gt; &lt;p&gt;Macromedia recommends that you read &lt;a&gt;About  server-side XSL transformations&lt;/a&gt; before proceeding with any of the following  procedures.&lt;/p&gt; &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Your server must be correctly configured to perform server-side  transformations. For more information, contact your server administrator, or  visit &lt;a href="http://www.macromedia.com/go/dw_xsl" target="mm_window"&gt;www.macromedia.com/go/dw_xsl&lt;/a&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;This section contains the following topics:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a&gt;Workflow for performing server-side XSL  transformations&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Creating XSLT pages&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Converting HTML pages to XSLT pages&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Attaching XML data sources&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Displaying XML data in XSLT pages&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Displaying repeating XML elements&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Editing a Repeat Region XSLT object&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Inserting XSLT fragments in dynamic pages&lt;/a&gt;   &lt;/li&gt;&lt;li&gt;&lt;a&gt;Deleting XSLT fragments from dynamic  pages&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Editing XSL Transformation server  behaviors&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Using parameters with XSL transformations&lt;/a&gt;   &lt;/li&gt;&lt;li&gt;&lt;a&gt;Creating conditional XSLT regions&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Editing a Conditional Region XSLT object&lt;/a&gt;   &lt;/li&gt;&lt;li&gt;&lt;a&gt;Inserting XSL comments&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-6733059559516530974?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/6733059559516530974/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/performing-xsl-transformations-on_28.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6733059559516530974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6733059559516530974'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/performing-xsl-transformations-on_28.html' title='Performing XSL transformations on the server'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-7285172310666805465</id><published>2009-01-28T08:59:00.001-08:00</published><updated>2009-01-28T08:59:13.133-08:00</updated><title type='text'>Workflow for performing server-side XSL transformations</title><content type='html'>&lt;p&gt;This section provides a list of steps you need to follow to perform  server-side XSL transformations, and refers you to the sections in the  documentation that elaborate on each procedure.&lt;/p&gt; &lt;p&gt;Macromedia recommends that you read &lt;a&gt;About using  XML and XSL with web pages&lt;/a&gt;, &lt;a&gt;About server-side  XSL transformations&lt;/a&gt;, and &lt;a&gt;About client-side XSL  transformations&lt;/a&gt; before building pages that display XML data.&lt;/p&gt; &lt;p&gt;To perform server-side XSL transformations, follow these steps:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Set up a Dreamweaver site. See &lt;a&gt;Setting Up a  Dreamweaver Site&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;Choose a server technology and set up an application server. See &lt;a&gt;Setting up an application server&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;Test the application server to make sure it is functioning correctly. For  example, create a page that requires processing, and make sure that the  application server processes the page. For a tutorial on how to do this, visit  &lt;a href="http://www.macromedia.com/go/dw_xsl" target="mm_window"&gt;www.macromedia.com/go/dw_xsl&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;Do one of the following:  &lt;ul&gt; &lt;li&gt;In your Dreamweaver site, create an XSLT fragment or an entire XSLT page.  See &lt;a&gt;Creating XSLT pages&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;Convert an existing HTML page to an entire XSLT page. See &lt;a&gt;Converting HTML pages to XSLT pages&lt;/a&gt;. &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;If you haven’t already done so, attach an XML data source to the page. See  &lt;a&gt;Attaching XML data sources&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;Bind your XML data to the XSLT fragment or to the entire XSLT page. See &lt;a&gt;Displaying XML data in XSLT pages&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;If appropriate, add a Repeat Region XSLT object to the table or table row  that contains the XML data placeholder(s). See &lt;a&gt;Displaying repeating XML elements&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;Do one of the following:  &lt;ul&gt; &lt;li&gt;Use the XSL Transformation server behavior to insert a reference to the XSLT  fragment in your dynamic page. See &lt;a&gt;Inserting XSLT  fragments in dynamic pages&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;Delete all of the HTML code from a dynamic page, and then use the XSL  Transformation server behavior to insert a reference to the entire XSLT page in  the dynamic page. &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;Post both the dynamic page and the XSLT fragment (or entire XSLT page) to  your application server. If you are using a local XML file, you will need to  post that as well.  &lt;/li&gt;&lt;li&gt;View the dynamic page in a browser. When you do so, the application server  transforms the XML data, inserts it in the dynamic page, and displays it in the  browser. &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-7285172310666805465?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/7285172310666805465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/workflow-for-performing-server-side-xsl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7285172310666805465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7285172310666805465'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/workflow-for-performing-server-side-xsl.html' title='Workflow for performing server-side XSL transformations'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-8379110956340709918</id><published>2009-01-28T08:58:00.003-08:00</published><updated>2009-01-28T08:58:56.376-08:00</updated><title type='text'>Creating XSLT pages</title><content type='html'>&lt;p&gt;You can create XSLT pages that let you display XML data on web pages. You can  create either an entire XSLT page -- an XSLT page that contains a  &lt;code&gt;&lt;/code&gt; tag and a &lt;code&gt;&lt;/code&gt; tag -- or you can  create an XSLT fragment. When you create an XSLT fragment, you create an  independent file that contains no body or head tag -- a simple piece of code  that is later inserted in a dynamic page.&lt;/p&gt; &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;If you are starting with an existing XSLT page, and need to attach an XML  data source to it, see &lt;a&gt;Attaching XML data  sources&lt;/a&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;h4&gt;&lt;a name="wp99791"&gt;&lt;/a&gt;To create an XSLT page:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Select File &gt; New  &lt;/li&gt;&lt;li&gt;On the General tab of the New Document dialog box, select Basic page from  the Category column and do one of the following:  &lt;ul&gt; &lt;li&gt;Select XSLT (Entire page) from the Basics page column to create an entire  XSLT page.  &lt;/li&gt;&lt;li&gt;Select XSLT (Fragment) from the Basics page column to create an XSLT  fragment. &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;Click Create.  &lt;p&gt;The Locate XML Source dialog box appears, asking you to attach an XML data  source.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Do one of the following:  &lt;ul&gt; &lt;li&gt;Select Attach a local file, click the Browse button, browse to a local XML  file on your computer, and click OK.  &lt;/li&gt;&lt;li&gt;Select Attach a remote file, enter the URL of an XML file on the Internet  (such as one coming from an RSS feed), and click OK. &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Clicking the Cancel button will generate a new XSLT page with no attached XML  data source. For information on attaching XML data sources, see &lt;a&gt;Attaching XML data  sources&lt;/a&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Dreamweaver populates the Bindings panel with the schema of your XML data  source.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;The following table provides an explanation of the various elements in the  schema that might appear:&lt;/p&gt; &lt;table cellspacing="1" cellpadding="4" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;th&gt; &lt;p&gt;Element&lt;/p&gt;&lt;/th&gt; &lt;th&gt; &lt;p&gt;Represents&lt;/p&gt;&lt;/th&gt; &lt;th&gt; &lt;p&gt;Details&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;&lt;&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Required nonrepeating XML element&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;An element that appears exactly once within its parent node&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;&lt;&gt;+&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Repeating XML element&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;An element that appears one or more times within its parent  node&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;&lt;&gt;?&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Optional XML element&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;An element that appears zero or more times within its parent  node&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;Element node in boldface type&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Current context element&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Normally the repeating element when the insertion point is inside a repeat  region&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;@&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;XML attribute&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;/li&gt;&lt;li&gt;Save your new page (File &gt; Save) with the .xsl or .xslt extension (.xsl  is the default). &lt;/li&gt;&lt;p&gt;&lt;/p&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-8379110956340709918?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/8379110956340709918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-xslt-pages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8379110956340709918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8379110956340709918'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-xslt-pages.html' title='Creating XSLT pages'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-8315415626682794799</id><published>2009-01-28T08:58:00.001-08:00</published><updated>2009-01-28T08:58:26.089-08:00</updated><title type='text'>Converting HTML pages to XSLT pages</title><content type='html'>&lt;p&gt;You can also convert existing HTML pages to XSLT pages. For example, if you  have a predesigned static page to which you want to add XML data, you can  convert the page to an XSLT page, instead of creating an XSLT page and  redesigning the page from scratch.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp108090"&gt;&lt;/a&gt;To convert an existing HTML page to an XSLT page:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Open the HTML page that you want to convert.  &lt;/li&gt;&lt;li&gt;Select File &gt; Convert &gt; XSLT 1.0.  &lt;p&gt;Dreamweaver opens a copy of the page in the Document window. The new page is  an XSL style sheet, saved with the .xsl extension.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-8315415626682794799?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/8315415626682794799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/converting-html-pages-to-xslt-pages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8315415626682794799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8315415626682794799'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/converting-html-pages-to-xslt-pages.html' title='Converting HTML pages to XSLT pages'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-7279203264921827542</id><published>2009-01-28T08:57:00.002-08:00</published><updated>2009-01-28T08:58:11.443-08:00</updated><title type='text'>Attaching XML data sources</title><content type='html'>&lt;p&gt;If you are starting with an existing XSLT page, or if you don’t attach an XML  data source when creating a new XSLT page with Dreamweaver, you will need to  attach an XML data source using the Bindings panel.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp107121"&gt;&lt;/a&gt;To attach an XML data source:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;In the Bindings panel (Window &gt; Bindings), click the XML link.  &lt;p&gt;&lt;img alt="This is a picture of the feature being described." hspace="0" border="0" /&gt;&lt;/p&gt; &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;You can also click the Source link at the upper-right corner of the Bindings  panel to add an XML data source.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;/li&gt;&lt;li&gt;Do one of the following:  &lt;ul&gt; &lt;li&gt;Select Attach a Local File, click the Browse button, browse to a local XML  file on your computer, and click OK.  &lt;/li&gt;&lt;li&gt;Select Attach a Remote File, enter the URL of an XML file on the Internet  (such as one coming from an RSS feed). &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;Click OK to close the Locate XML Source dialog box.  &lt;p&gt;Dreamweaver populates the Bindings panel with the schema of your XML data  source. For a guide to the symbols in the schema, see &lt;a&gt;Creating XSLT pages&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-7279203264921827542?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/7279203264921827542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/attaching-xml-data-sources.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7279203264921827542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7279203264921827542'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/attaching-xml-data-sources.html' title='Attaching XML data sources'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-2057533755872454674</id><published>2009-01-28T08:57:00.001-08:00</published><updated>2009-01-28T08:57:54.286-08:00</updated><title type='text'>Displaying XML data in XSLT pages</title><content type='html'>&lt;p&gt;Once you’ve created an XSLT page and attached an XML data source, you can  bind data to the page.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp99815"&gt;&lt;/a&gt;To display XML data:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Open an XSLT page with an attached XML data source. For instructions, see &lt;a&gt;Creating XSLT pages&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;(Optional) Select Insert &gt; Table to add a table to the page. A table  helps you organize your XML data. For more information, see &lt;a&gt;Presenting Content with Tables&lt;/a&gt;.  &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;In most cases, you will want to use the Repeat Region XSLT object to display  repeating XML elements on a page. If this is the case, you might want to create  a single-row table with one or more columns, or a two-rowed table if you want to  include a table header. For more information, see &lt;a&gt;Displaying repeating XML  elements&lt;/a&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;/li&gt;&lt;li&gt;In the Bindings panel, select an XML element and drag it to the place on the  page where you want to insert data.&lt;/li&gt;&lt;li&gt;&lt;p&gt;An XML data placeholder appears on the page. The placeholder is highlighted  and in curly brackets. It uses the XPath (XML Path language) syntax to describe  the hierarchical structure of the XML schema. For example, if you drag the child  element "title" to the page, and that element has the parent elements "rss,"  "channel," and "item," then the syntax for the dynamic content placeholder will  be {rss/channel/item/title}.&lt;/p&gt; &lt;p&gt;Once an XML data placeholder is on the page, you can double-click it to open  the XPath Expression Builder. The XPath Expression builder lets you format  selected data, or select other items from the XML schema. For more information,  click the Help button in the XPath Expression builder.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;(Optional) Apply styles to your XML data by selecting an XML data  placeholder and applying styles to it like any other piece of content using the  Property inspector or the CSS Styles panel. Alternatively, you can use  Design-time style sheets to apply styles to XSLT fragments. Each of these  methods has its own set of benefits and limitations. For more information, see  &lt;a&gt;Applying styles to XSLT fragments&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;Preview your work in a browser (File &gt; Preview in Browser)  &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;When you preview your work using Preview in Browser, Dreamweaver performs an  internal XSL transformation without the use of an application server. For more  information, see &lt;a&gt;About previewing XML  data&lt;/a&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-2057533755872454674?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/2057533755872454674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/displaying-xml-data-in-xslt-pages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2057533755872454674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2057533755872454674'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/displaying-xml-data-in-xslt-pages.html' title='Displaying XML data in XSLT pages'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-7391610987506352329</id><published>2009-01-28T08:56:00.004-08:00</published><updated>2009-01-28T08:57:30.778-08:00</updated><title type='text'>Displaying repeating XML elements</title><content type='html'>&lt;p&gt;The Repeat Region XSLT object lets you display repeating elements from an XML  data source in a web page. For example, if you are displaying article titles and  descriptions from a news feed, and that news feed contains between 10 and 20  articles, each title and description in the XML file would probably be a child  element of a repeating element.&lt;/p&gt; &lt;p&gt;Any region in Design view containing an XML data placeholder can be turned  into a repeated region. However, the most common regions are tables, table rows,  or a series of table rows.&lt;/p&gt; &lt;p&gt;To learn more about how the Repeat Region XSLT object works with XML data,  see &lt;a&gt;About XML data and repeating elements&lt;/a&gt;.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp99870"&gt;&lt;/a&gt;To display repeating XML elements:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;In Design view, select a region that contains an XML data placeholder or  placeholders.  &lt;p&gt;The selection can be anything, including a table, a table row, or even a  paragraph of text.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;TIP&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;To select a region on the page precisely, you can use the tag selector in the  lower-left corner of the Document window. For example, if the region is a table,  click inside the table on the page, and then click the  &lt;code&gt; tag in the tag  selector.&lt;/code&gt;&lt;/p&gt;&lt;code&gt;&lt;p&gt;&lt;/p&gt;&lt;table&gt;&lt;tbody&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;li&gt;Do one of the following  &lt;ul&gt; &lt;li&gt;Select Insert &gt; XSLT Objects &gt; Repeat Region.  &lt;/li&gt;&lt;li&gt;In the XSLT category of the Insert bar, click the Repeat Region button.  &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;In the XPath Expression Builder, select the repeating element, indicated by  a small plus sign.&lt;/li&gt;&lt;li&gt;&lt;/li&gt;&lt;/code&gt;&lt;p&gt;&lt;/p&gt;&lt;code&gt;&lt;p&gt;For more information, click the Help button in the dialog box.&lt;/p&gt; &lt;li&gt;Click OK.  &lt;p&gt;In the Document window, a thin, tabbed, gray outline appears around the  repeated region. When you preview your work in a browser (File &gt; Preview in  Browser), the gray outline disappears and the selection expands to display the  specified repeating elements in the XML file.&lt;/p&gt; &lt;p&gt;You’ll also notice that when you add the Repeat Region XSLT object to the  page, Dreamweaver truncates the length of the XML data placeholder in the  Document window. This is because Dreamweaver updates the XPath for the XML data  placeholder so that it is relative to the path of the repeating element.&lt;/p&gt; &lt;p&gt;For more information, see &lt;a&gt;About XML data and  repeating elements&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt; &lt;p&gt;&lt;/p&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-7391610987506352329?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/7391610987506352329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/displaying-repeating-xml-elements.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7391610987506352329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7391610987506352329'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/displaying-repeating-xml-elements.html' title='Displaying repeating XML elements'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-5697020550141109233</id><published>2009-01-28T08:56:00.003-08:00</published><updated>2009-01-28T08:56:50.569-08:00</updated><title type='text'>Editing a Repeat Region XSLT object</title><content type='html'>&lt;p&gt;After you’ve added a Repeat Region XSLT object to a region, you can make  changes to it using the Property inspector.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp99898"&gt;&lt;/a&gt;To edit a Repeat Region XSLT object:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Select the object by clicking the gray tab that surrounds the repeated  region.  &lt;/li&gt;&lt;li&gt;In the Property inspector (Window &gt; Properties), click the dynamic icon  next to the Select text field.  &lt;/li&gt;&lt;li&gt;In the XPath Expression Builder, make your changes and click OK. &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-5697020550141109233?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/5697020550141109233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/editing-repeat-region-xslt-object.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/5697020550141109233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/5697020550141109233'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/editing-repeat-region-xslt-object.html' title='Editing a Repeat Region XSLT object'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-1303776753208692879</id><published>2009-01-28T08:56:00.001-08:00</published><updated>2009-01-28T08:56:38.253-08:00</updated><title type='text'>Inserting XSLT fragments in dynamic pages</title><content type='html'>&lt;p&gt;Once you have created an XSLT fragment, you can insert it in a dynamic web  page using the XSL Transformation server behavior. When you add the server  behavior to your page and view the page in a browser, an application server  performs a transformation that displays the XML data from the selected XSLT  fragment. Dreamweaver supports XSL transformations for ColdFusion, ASP, ASP.NET,  or PHP pages. &lt;/p&gt; &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;If you want to insert the contents of an entire XSLT page in a dynamic page,  the procedure is exactly the same. Before using the XSL Transformation server  behavior to insert the entire XSLT page, delete all HTML code from the dynamic  page. For more information, see &lt;a&gt;About server-side  XSL transformations&lt;/a&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;h4&gt;&lt;a name="wp106303"&gt;&lt;/a&gt;To insert an XSLT fragment in a web page:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Open an existing ColdFusion, ASP, ASP.NET, or PHP page.  &lt;/li&gt;&lt;li&gt;In Design view, place the insertion point in the location where you want to  insert the XSLT fragment.  &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;When inserting XSLT fragments, you should always click the Show Code and  Design view button after placing the insertion point on the page so that you can  ensure that the insertion point is in the correct location. If it isn’t, you  might need to click somewhere else in Code view to place the insertion point  where you want it.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;/li&gt;&lt;li&gt;In the Server Behaviors panel (Window &gt; Server Behaviors), click the Plus  (+) button and select XSL Transformation.&lt;/li&gt;&lt;li&gt;&lt;/li&gt;&lt;li&gt;In the XSL Transformation dialog box, click the Browse button and browse to  an XSLT fragment or an entire XSLT page. For more information, see &lt;a&gt;Creating XSLT pages&lt;/a&gt;.  &lt;p&gt;Dreamweaver automatically populates the next text field with the file path or  URL of the XML file that is attached to the specified fragment. To change it,  click the Browse button and browse to another file.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;(Optional) Click the Plus (+) button to add an XSLT parameter. For more  information, see &lt;a&gt;Using parameters with XSL  transformations&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;Click OK.  &lt;p&gt;Dreamweaver inserts a reference to the XSLT fragment in the page. The  fragment is not editable. You can double-click the fragment to open the  fragment’s source file and edit it.&lt;/p&gt; &lt;p&gt;Dreamweaver also creates an includes/MM_XSLTransform/ folder in the site’s  root folder that contains a runtime library file. The application server uses  the functions defined in this file to perform the transformation. For more  information, see &lt;a&gt;About server-side XSL  transformations&lt;/a&gt;.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Upload the dynamic page to your server (Site &gt; Put). When Dreamweaver  gives you the option of including dependent files, click Yes. The file  containing the XSLT fragment, the XML file containing your data, and the  generated run-time library file must all be on the server for your page to  display correctly. (If you selected a remote XML file as your data source, that  file must of course reside somewhere else on the Internet.) &lt;/li&gt; &lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-1303776753208692879?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/1303776753208692879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/inserting-xslt-fragments-in-dynamic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1303776753208692879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1303776753208692879'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/inserting-xslt-fragments-in-dynamic.html' title='Inserting XSLT fragments in dynamic pages'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-4297722494467906666</id><published>2009-01-28T08:55:00.002-08:00</published><updated>2009-01-28T08:56:05.791-08:00</updated><title type='text'>Deleting XSLT fragments from dynamic pages</title><content type='html'>&lt;p&gt;You can remove an XSLT fragment from a page by deleting the XSL  Transformation server behavior used to insert the fragment. Deleting the server  behavior deletes the XSLT fragment only -- it does not delete the associated  XML, XSLT, or run-time library files.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp96818"&gt;&lt;/a&gt;To delete an XSLT fragment from a dynamic page:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;In the Server Behaviors panel (Window &gt; Server Behaviors), select the XSL  Transformation server behavior that you want to delete.  &lt;/li&gt;&lt;li&gt;Click the minus (-) button.  &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Macromedia recommends that you always remove server behaviors in this  fashion. Manually deleting the generated code only partially removes the server  behavior, even though the server behavior may disappear from the Server  Behaviors panel.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-4297722494467906666?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/4297722494467906666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/deleting-xslt-fragments-from-dynamic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4297722494467906666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4297722494467906666'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/deleting-xslt-fragments-from-dynamic.html' title='Deleting XSLT fragments from dynamic pages'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-4140642462065339850</id><published>2009-01-28T08:55:00.001-08:00</published><updated>2009-01-28T08:55:50.831-08:00</updated><title type='text'>Editing XSL Transformation server behaviors</title><content type='html'>&lt;p&gt;Once you’ve added an XSLT fragment to a dynamic web page, you can edit the  XSL Transformation server behavior at any time.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp97124"&gt;&lt;/a&gt;To edit an XSL Transformation server behavior:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;In the Server Behaviors panel (Window &gt; Server Behaviors), double-click  the XSL Transformation server behavior that you want to edit.  &lt;/li&gt;&lt;li&gt;Make your changes and click OK. &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-4140642462065339850?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/4140642462065339850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/editing-xsl-transformation-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4140642462065339850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4140642462065339850'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/editing-xsl-transformation-server.html' title='Editing XSL Transformation server behaviors'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-3345517410834015552</id><published>2009-01-28T08:54:00.004-08:00</published><updated>2009-01-28T08:55:35.819-08:00</updated><title type='text'>Using parameters with XSL transformations</title><content type='html'>&lt;p&gt;You can define parameters for your XSL transformation when adding the XSL  Transformation server behavior to a web page. A parameter controls how XML data  is processed and displayed. For example, you might use a parameter to identify  and list a specific article from a news feed. When the page loads in a browser,  only the article you specified with the parameter appears.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp95379"&gt;&lt;/a&gt;To add an XSLT parameter to an XSL transformation:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Open the XSL Transformation dialog box. You can do this by double-clicking  an XSL Transformation server behavior in the Server Behaviors panel (Window &gt;  Server Behaviors), or by adding a new XSL Transformation server behavior. For  instructions, see &lt;a&gt;Inserting XSLT fragments in  dynamic pages&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;In the XSL Transformation dialog box, click the Plus (+) button next to XSLT  Parameters.&lt;/li&gt;&lt;li&gt;&lt;/li&gt;&lt;li&gt;In the Add Parameters dialog box, enter a name for the parameter in the Name  text box. The name can only contain alphanumeric characters. It cannot contain  spaces.  &lt;/li&gt;&lt;li&gt;Do one of the following:  &lt;ul&gt; &lt;li&gt;If you want to use a static value, enter it in the Value text box.  &lt;/li&gt;&lt;li&gt;If you want to use a dynamic value, click the dynamic icon next to the Value  text box, complete the Dynamic Data dialog box, and click OK. For more  information, click the Help button in the Dynamic Data dialog box. &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;In the Default Value text box, enter the value you want the parameter to use  if the page receives no run-time value.  &lt;/li&gt;&lt;li&gt;Click OK.&lt;/li&gt;&lt;li&gt;&lt;h4&gt;&lt;a name="wp95520"&gt;&lt;/a&gt;To edit an XSLT parameter:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Open the XSL Transformation dialog box. You can do this by double-clicking  an XSL Transformation server behavior in the Server Behaviors panel (Window &gt;  Server Behaviors), or by adding a new XSL Transformation server behavior. For  instructions, see &lt;a&gt;Inserting XSLT fragments in  dynamic pages&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;Select a parameter from the XSLT parameters list.  &lt;/li&gt;&lt;li&gt;Click the Edit button.  &lt;/li&gt;&lt;li&gt;Make your changes and click OK. &lt;/li&gt;&lt;/ol&gt; &lt;h4&gt;&lt;a name="wp96983"&gt;&lt;/a&gt;To delete an XSLT parameter:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Open the XSL Transformation dialog box. You can do this by double-clicking  an XSL Transformation server behavior in the Server Behaviors panel (Window &gt;  Server Behaviors), or by adding a new XSL Transformation server behavior. For  instructions, see &lt;a&gt;Inserting XSLT fragments in  dynamic pages&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;Select a parameter from the XSLT parameters list.  &lt;/li&gt;&lt;li&gt;Click the minus (-)button. &lt;/li&gt;&lt;/ol&gt;&lt;/li&gt; &lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-3345517410834015552?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/3345517410834015552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/using-parameters-with-xsl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3345517410834015552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3345517410834015552'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/using-parameters-with-xsl.html' title='Using parameters with XSL transformations'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-2605255183495852017</id><published>2009-01-28T08:54:00.003-08:00</published><updated>2009-01-28T08:54:41.844-08:00</updated><title type='text'>Creating conditional XSLT regions</title><content type='html'>&lt;p&gt;You can use Dreamweaver to create simple conditional regions or multiple  conditional regions on an XSLT page. You can make a selection in Design view and  apply a conditional region to the selection, or you can just insert a  conditional region wherever the insertion point is in the document.&lt;/p&gt; &lt;p&gt;For example, if you wanted to display the word "Unavailable" next to the  price of an item when the item is unavailable, you could type the word  "Unavailable" on the page, select it, and then apply a conditional region to the  selected text. Dreamweaver surrounds the selection with  &lt;code&gt;&lt;xsl:if&gt;&lt;/code&gt; tags, and only displays the word on the page when  the data match the conditions of the conditional expression.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp106674"&gt;&lt;/a&gt;To create a conditional XSLT region:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Select Insert &gt; XSLT Objects &gt; Conditional Region, or Insert &gt; XSLT  Objects &gt; Multiple Conditional Region.  &lt;/li&gt;&lt;li&gt;In the Conditional Region or Multiple Conditional Region dialog box, enter  the conditional expression you want to use for the region.  &lt;p&gt;For more information, click the Help button in the dialog box.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Click OK. &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-2605255183495852017?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/2605255183495852017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-conditional-xslt-regions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2605255183495852017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2605255183495852017'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-conditional-xslt-regions.html' title='Creating conditional XSLT regions'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-6333747009568920606</id><published>2009-01-28T08:54:00.001-08:00</published><updated>2009-01-28T08:54:24.970-08:00</updated><title type='text'>Editing a Conditional Region XSLT object</title><content type='html'>&lt;p&gt;After you’ve added a conditional XSLT region to your page, you can make  changes to it using the Property inspector.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp106982"&gt;&lt;/a&gt;To edit a Conditional Region XSLT object:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Select the object by clicking the gray tab that surrounds the conditional  region.  &lt;/li&gt;&lt;li&gt;In the Property inspector (Window &gt; Properties), edit your conditional  expression in the Test text box. &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-6333747009568920606?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/6333747009568920606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/editing-conditional-region-xslt-object.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6333747009568920606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6333747009568920606'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/editing-conditional-region-xslt-object.html' title='Editing a Conditional Region XSLT object'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-7119685440097972604</id><published>2009-01-28T08:53:00.004-08:00</published><updated>2009-01-28T08:54:09.190-08:00</updated><title type='text'>Inserting XSL comments</title><content type='html'>&lt;p&gt;You can add XSL comment tags to a document, or you can wrap a selection in  XSL comment tags.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp106786"&gt;&lt;/a&gt;To add XSL comment tags to a document:&lt;/h4&gt; &lt;ul&gt; &lt;li&gt;Do one of the following:  &lt;ul&gt; &lt;li&gt;In Design view, select Insert &gt; XSLT Objects &gt; XSL Comment, type the  contents of the comment (or leave the text box blank), and click OK.  &lt;/li&gt;&lt;li&gt;In Code view, select Insert &gt; XSLT Objects &gt; XSL Comment.  &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt; &lt;h4&gt;&lt;a name="wp106787"&gt;&lt;/a&gt;To wrap a selection in XSL comment tags:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Switch to Code view (View &gt; Code)  &lt;/li&gt;&lt;li&gt;Select the code you want to comment.  &lt;/li&gt;&lt;li&gt;On the Coding toolbar, click the Apply Comment button and select Apply  &lt;xsl:comment&gt;&lt;/xsl:comment&gt; Comment.&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-7119685440097972604?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/7119685440097972604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/inserting-xsl-comments.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7119685440097972604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7119685440097972604'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/inserting-xsl-comments.html' title='Inserting XSL comments'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-4453218918926639424</id><published>2009-01-28T08:53:00.003-08:00</published><updated>2009-01-28T08:53:33.761-08:00</updated><title type='text'>Performing XSL transformations on the client</title><content type='html'>&lt;p&gt;You can perform XSL transformations on the client without the use of an  application server. When you do so, a browser does the work of transforming the  XML data, instead of an application server. You can use Dreamweaver to create  such a page, however, client-side transformations require manipulation of the  XML file containing the data you want to display. Additionally, client-side  transformations will only work in modern browsers.&lt;/p&gt; &lt;p&gt;Macromedia recommends that you read &lt;a&gt;About  client-side XSL transformations&lt;/a&gt; before proceeding with any of the following  procedures.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-4453218918926639424?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/4453218918926639424/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/performing-xsl-transformations-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4453218918926639424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4453218918926639424'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/performing-xsl-transformations-on.html' title='Performing XSL transformations on the client'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-2857241609634370633</id><published>2009-01-28T08:53:00.001-08:00</published><updated>2009-01-28T08:53:15.525-08:00</updated><title type='text'>Workflow for performing client-side XSL transformations</title><content type='html'>&lt;p&gt;This section provides a list of steps you need to follow to perform  client-side XSL transformations, and refers you to the sections in the  documentation that elaborate on each procedure.&lt;/p&gt; &lt;p&gt;Macromedia recommends that you read &lt;a&gt;About using  XML and XSL with web pages&lt;/a&gt;, &lt;a&gt;About server-side  XSL transformations&lt;/a&gt;, and &lt;a&gt;About client-side XSL  transformations&lt;/a&gt; before building pages that display XML data.&lt;/p&gt; &lt;p&gt;To perform client-side XSL transformations, follow these steps:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Set up a Dreamweaver site. See &lt;a&gt;Setting Up a  Dreamweaver Site&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;Do one of the following:  &lt;ul&gt; &lt;li&gt;In your Dreamweaver site, create an entire XSLT page. See &lt;a&gt;Creating entire XSLT pages&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;Convert an existing HTML page to an entire XSLT page. See &lt;a&gt;Converting HTML pages to XSLT pages&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;If you haven’t already done so, attach an XML data source to the page. See  &lt;a&gt;Attaching XML data sources&lt;/a&gt;. The XML file  that you attach must reside in the same directory as the XSLT page.  &lt;/li&gt;&lt;li&gt;Bind your XML data to the XSLT page. See &lt;a&gt;Displaying XML data in XSLT pages&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;If appropriate, add a Repeat Region XSLT object to the table or table row  that contains the XML data placeholder(s). See &lt;a&gt;Displaying repeating XML elements&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;Attach the XSLT page to the XML page. See &lt;a&gt;Linking XSLT and XML files&lt;/a&gt;.  &lt;/li&gt;&lt;li&gt;Post both the XML page and the linked XSLT page to your web server.  &lt;/li&gt;&lt;li&gt;View the XML page in a browser. When you do so, the browser transforms the  XML data, formats it with the XSLT page, and displays the styled page in the  browser. &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-2857241609634370633?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/2857241609634370633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/workflow-for-performing-client-side-xsl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2857241609634370633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2857241609634370633'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/workflow-for-performing-client-side-xsl.html' title='Workflow for performing client-side XSL transformations'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-7965728003477143576</id><published>2009-01-28T08:52:00.001-08:00</published><updated>2009-01-28T08:52:55.973-08:00</updated><title type='text'>Linking XSLT and XML files</title><content type='html'>&lt;p&gt;Once you have an entire XSLT page with dynamic content placeholders for your  XML data, you must insert a reference to the XSLT page in the XML page.&lt;/p&gt; &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;The XML and XSL files you use for client-side transformations must reside in  the same directory. If they don’t, the browser will read the XML file and find  the XSLT page for the transformation, but will fail to find assets (style  sheets, images, and so on) defined by relative links in the XSLT page.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h4&gt;&lt;a name="wp106390"&gt;&lt;/a&gt;To link an XSLT page to an XML page:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Open the XML file that you want to link to your XSLT page.  &lt;/li&gt;&lt;li&gt;Select Commands &gt; Attach an XSLT Stylesheet.  &lt;/li&gt;&lt;li&gt;In the Attach an XSLT Stylesheet dialog box, click the Browse button, browse  to the XSLT page you want to link to, select it, and click OK.  &lt;/li&gt;&lt;li&gt;Click OK to close the Attach an XSLT Stylesheet dialog box. &lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-7965728003477143576?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/7965728003477143576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/linking-xslt-and-xml-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7965728003477143576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7965728003477143576'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/linking-xslt-and-xml-files.html' title='Linking XSLT and XML files'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-1661051806483810495</id><published>2009-01-28T08:51:00.002-08:00</published><updated>2009-01-28T08:52:22.882-08:00</updated><title type='text'>Applying styles to XSLT fragments</title><content type='html'>&lt;p&gt;When you create an entire XSLT page (that is, an XSLT page that contains  &lt;code&gt;&lt;/code&gt; and &lt;code&gt;&lt;/code&gt; tags), you can display  XML data on the page and then format the data like any other piece of content  using the Property inspector or the CSS Styles panel. When you create an XSLT  fragment for insertion in a dynamic page, however (for example, a fragment for  insertion in an ASP, PHP, or Cold Fusion page), the rendering of styles in the  fragment and in the dynamic page becomes more complicated. Although you work on  an XSLT fragment separately from the dynamic page, it is important to remember  that the fragment is intended for use within the dynamic page, and that the  output from the XSLT fragment ultimately resides somewhere within the  &lt;code&gt;&lt;/code&gt; tags of the dynamic page. Given this workflow, it is  important to make sure that you do not include &lt;code&gt;&lt;/code&gt;  elements (such as style definitions or links to external style sheets) in XSLT  fragments. Doing so will cause the application server to place these elements  into the &lt;code&gt;&lt;/code&gt; of the dynamic page, thereby generating  invalid markup.&lt;/p&gt; &lt;p&gt;For example, let’s say you’re creating an XSLT fragment for insertion in a  dynamic page, and you want to format the fragment using the same external style  sheet as the dynamic page. If you attach the same style sheet to the fragment,  the resulting HTML page will contain a duplicate link to the style sheet (one in  the &lt;code&gt;&lt;/code&gt; section of the dynamic page, and another in the  &lt;code&gt;&lt;/code&gt; section of the page, where the content of the XSLT  fragment appears). Instead of this approach, you should use Design-time style  sheets to reference the external style sheet.&lt;/p&gt; &lt;p&gt;When formatting the content of XSLT fragments, Macromedia recommends that you  use the following workflow:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;First, attach an external style sheet to the dynamic page. (This procedure  follows best practices for applying styles to the content of any web page).  &lt;/li&gt;&lt;li&gt;Next, attach the same external style sheet to the XSLT fragment as a  Design-time style sheet. As the name implies, Design-time style sheets only work  in the Dreamweaver Design view. For more information, see &lt;a&gt;Using Design-Time style sheets&lt;/a&gt;. &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Once you have completed the previous steps you can apply existing styles or  create new styles in your XSLT fragment using the same style sheet that you’ve  attached to your dynamic page. You will have cleaner HTML output (because the  reference to the style sheet is only valid while working in Dreamweaver), and  the fragment will still display the appropriate styles in Design view.  Additionally, all of your styles will be applied to both the fragment and the  dynamic page when you view the dynamic page in Design view, or preview the  dynamic page in a browser. &lt;/p&gt;&lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;If you preview the XSLT fragment in a browser, the browser does not display  the styles. Instead you should preview the dynamic page in the browser to see  the XSLT fragment within the context of the dynamic  page.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;/p&gt; &lt;p&gt;For more information on using CSS to format XSLT fragments, see &lt;a href="http://www.macromedia.com/go/dw_xsl_styles" target="mm_window"&gt;www.macromedia.com/go/dw_xsl_styles&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-1661051806483810495?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/1661051806483810495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/applying-styles-to-xslt-fragments.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1661051806483810495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1661051806483810495'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/applying-styles-to-xslt-fragments.html' title='Applying styles to XSLT fragments'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-2125618851484960789</id><published>2009-01-28T08:51:00.001-08:00</published><updated>2009-01-28T08:51:47.481-08:00</updated><title type='text'>Troubleshooting XSL transformations</title><content type='html'>&lt;h1&gt;&lt;span class="Apple-style-span" style="font-size: 16px; font-weight: normal; "&gt;If you are having trouble getting your XSL transformations to work, a  troubleshooting guide with the answers to many frequently asked questions is  available at &lt;a href="http://www.macromedia.com/go/dw_xsl_faq" target="mm_window"&gt;www.macromedia.com/go/dw_xsl_faq&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;&lt;/h1&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-2125618851484960789?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/2125618851484960789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/troubleshooting-xsl-transformations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2125618851484960789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2125618851484960789'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/troubleshooting-xsl-transformations.html' title='Troubleshooting XSL transformations'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-5186599441676431644</id><published>2009-01-28T08:50:00.004-08:00</published><updated>2009-01-28T08:51:31.297-08:00</updated><title type='text'>Setting the Locate XML Source dialog box options</title><content type='html'>&lt;p&gt;The purpose of this dialog box is to specify an XML data source for the XLST  page.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp135146"&gt;&lt;/a&gt;To set the dialog box options:&lt;/h4&gt; &lt;ul&gt; &lt;li&gt;Do one of the following:  &lt;ul&gt; &lt;li&gt;Select Attach a local file, click the Browse button, browse to a local XML  file on your computer, and click OK.  &lt;/li&gt;&lt;li&gt;Select Attach a remote file, enter the URL of an XML file on the Internet  (such as one coming from an RSS feed), and click OK. &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Clicking the Cancel button generates a new XSLT page with no attached XML  data source. For information on attaching XML data sources, see &lt;a&gt;Attaching XML data sources&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-5186599441676431644?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/5186599441676431644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-locate-xml-source-dialog-box.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/5186599441676431644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/5186599441676431644'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-locate-xml-source-dialog-box.html' title='Setting the Locate XML Source dialog box options'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-1441638373235890883</id><published>2009-01-28T08:50:00.003-08:00</published><updated>2009-01-28T08:50:41.526-08:00</updated><title type='text'>Setting the Attach an XSLT Stylesheet dialog box options</title><content type='html'>&lt;p&gt;The purpose of this dialog box is to attach an XSLT style sheet to an XML  file.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp135163"&gt;&lt;/a&gt;To set the dialog box options:&lt;/h4&gt; &lt;ul&gt; &lt;li&gt;Enter the path and filename of the XSLT style sheet, or click Browse and  select it. &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-1441638373235890883?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/1441638373235890883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-attach-xslt-stylesheet-dialog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1441638373235890883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1441638373235890883'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-attach-xslt-stylesheet-dialog.html' title='Setting the Attach an XSLT Stylesheet dialog box options'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-413048429579341251</id><published>2009-01-28T08:50:00.001-08:00</published><updated>2009-01-28T08:50:23.456-08:00</updated><title type='text'>Setting XPath Expression Builder (Dynamic Text) dialog box options</title><content type='html'>&lt;h1&gt;&lt;br /&gt;&lt;/h1&gt; &lt;p&gt;The purpose of this dialog box is to select a value in your XML data to  display on your page. Dreamweaver inserts a &lt;code&gt;&lt;xsl:value-of/&gt;&lt;/code&gt;  tag at the insertion point. The advantage of using this method instead of  dragging values from the XML schema tree is that you can format the value that  is displayed.&lt;/p&gt; &lt;p&gt;One of the advantages of the XPath Expression Builder is that it identifies  the current context based on your position in the XSL file when the dialog box  is opened. The current context is in boldface type in the XML schema tree. As  you make selections within this dialog box, it generates the correct XPath  statements relative to your current context. This simplifies the process of  writing correct XPath expressions for both beginners and advanced users.&lt;/p&gt; &lt;p&gt;XPath (XML Path Language) is a non-XML syntax for addressing portions of an  XML document. It is used mostly as a query language for XML data, just as the  SQL language is used to query databases. For more information on XPath, see the  XPath language specification on the W3C website at &lt;a href="http://www.w3.org/TR/xpath" target="mm_window"&gt;www.w3.org/TR/xpath&lt;/a&gt;. &lt;/p&gt; &lt;p&gt;It is important to note that this dialog box is designed to help you build  simple XPath expressions to identify a specific node. It does not allow you to  edit the expressions by hand. If you need to create complex expressions, use  this dialog box to get started and then customize your expressions in Code view  or with the Property inspector.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp135178"&gt;&lt;/a&gt;To select a value to display on your page: &lt;/h4&gt; &lt;ol&gt; &lt;li&gt;In the XPath Expression Builder (Dynamic Text) dialog box, select any node  in the XML schema tree.  &lt;p&gt;Dreamweaver writes the correct XPath expression in the Expression text box to  identify the node.&lt;/p&gt; &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;If you select a different node in the XML schema tree, the expression changes  to reflect your choice. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;In the following example, you want to display the &lt;code&gt;price&lt;/code&gt;  subelement of the &lt;code&gt;item&lt;/code&gt; node:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;This selection would insert the following code in your XSLT page:&lt;/p&gt;&lt;pre&gt;&lt;xsl:value-of select="price"&gt; &lt;/pre&gt; &lt;/li&gt;&lt;li&gt;If you want, select a formatting option from the Format pop-up menu.  &lt;p&gt;Formatting a selection is useful when the value of your node returns a  number. Dreamweaver provides a predefined list of formatting functions. For a  complete list of available formatting functions and examples, see the Reference  panel.&lt;/p&gt; &lt;p&gt;In the following example, you want to format the &lt;code&gt;price&lt;/code&gt;  subelement as a currency with two decimal places:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol&gt; &lt;li&gt;&lt;p&gt;These options would insert the following code in your XSLT page:&lt;/p&gt;&lt;pre&gt;&lt;xsl:value-of select="format-number(provider/store/items/item/price,'$#.00')"&gt; &lt;/pre&gt; &lt;/li&gt;&lt;li&gt;Click OK.  &lt;/li&gt;&lt;li&gt;To display the value of each node in the XML file, apply a repeat region to  the element containing the dynamic text (for example, an HTML table row or a  paragraph).  &lt;p&gt;For more information, see &lt;a&gt;Displaying repeating  XML elements&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;For more information and examples on selecting nodes to return a value, see  the &lt;code&gt;&lt;xsl:value-of/&gt;&lt;/code&gt; section in the Reference panel.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&lt;p&gt;&lt;/p&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-413048429579341251?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/413048429579341251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-xpath-expression-builder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/413048429579341251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/413048429579341251'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-xpath-expression-builder.html' title='Setting XPath Expression Builder (Dynamic Text) dialog box options'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-2922540720939960461</id><published>2009-01-28T08:48:00.000-08:00</published><updated>2009-01-28T08:49:56.666-08:00</updated><title type='text'>Setting the XPath Expression Builder (Repeat Region) dialog box options</title><content type='html'>&lt;p&gt;The purpose of this dialog box is to select a node to repeat over and,  optionally, to filter the results. If you have content selected when this dialog  box is invoked, your content will be wrapped inside an  &lt;code&gt;&lt;xsl:for-each&gt;&lt;/code&gt; block. If you do not have content selected,  the &lt;code&gt;&lt;xsl:for-each&gt;&lt;/code&gt; block will be entered at the insertion  point of your cursor.&lt;/p&gt; &lt;p&gt;One of the advantages of the XPath Expression Builder is that it identifies  the current context based on your position in the XSL file when the dialog box  is opened. The current context is in boldface type in the XML schema tree. As  you make selections within this dialog box, it generates the correct XPath  statements relative to your current context. This simplifies the process of  writing correct XPath expressions for both beginners and advanced users.&lt;/p&gt; &lt;p&gt;XPath (XML Path Language) is a non-XML syntax for addressing portions of an  XML document. It is used mostly as a query language for XML data, just as the  SQL language is used to query databases. For more information on XPath, see the  XPath language specification on the W3C website at &lt;a href="http://www.w3.org/TR/xpath" target="mm_window"&gt;www.w3.org/TR/xpath&lt;/a&gt;. &lt;/p&gt; &lt;p&gt;It is important to note that this dialog box is designed to help you build  simple XPath expressions for repeat regions. It does not allow you to edit the  expressions by hand. If you need to create complex expressions, use this dialog  box to get started and then customize your expressions in Code view or with the  Property inspector.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp135220"&gt;&lt;/a&gt;To select a node to repeat: &lt;/h4&gt; &lt;ul&gt; &lt;li&gt;In the XPath Expression Builder (Repeat Region) dialog box, select the item  to repeat in the XML schema tree.  &lt;p&gt;Dreamweaver writes the correct XPath expression in the Expression text box to  identify the node.&lt;/p&gt; &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Repeating items are identified with a Plus (+) symbol in the XML schema tree.  &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;In the following example, you want to repeat over each &lt;code&gt;item&lt;/code&gt; node  within the XML file.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;When you click OK, the following code is inserted in your XSLT page:&lt;/p&gt;&lt;pre&gt;&lt;xsl:for-each select="provider/store/items/item"&gt;    Content goes here &lt;/xsl:for-each&gt; &lt;/pre&gt; &lt;p&gt;In some cases, you may want to work with a subset of the repeating nodes--for  example, you may only want items where an attribute has a specific value. In  this case, you need to create a filter. &lt;/p&gt; &lt;h4&gt;&lt;a name="wp135241"&gt;&lt;/a&gt;To filter the data to be repeated: &lt;/h4&gt; &lt;ol&gt; &lt;li&gt;In the XML schema tree, select a node to repeat.  &lt;/li&gt;&lt;li&gt;Click the Build Filter expander button.  &lt;/li&gt;&lt;li&gt;Click the Plus (+) button.  &lt;p&gt;Dreamweaver creates an empty filter.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Enter the filter criteria in the following fields:  &lt;p&gt;&lt;b&gt;Filter By&lt;/b&gt; specifies the repeating node that contains the data you want  to filter by. The pop-up menu provides a list of ancestor nodes relative to the  node you selected in the XML schema tree.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Where&lt;/b&gt; specifies the attribute or subelement of the Filter By node that  will be used to limit the results. You can select an attribute or subelement  from the pop-up menu, or you can enter your own XPath expression in this field  to identify children that exist deeper within the schema tree.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Operator&lt;/b&gt; specifies the comparison operator to use in the filter  expression.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Value &lt;/b&gt;specifies the value to check for in the Filter By node. Enter  the value. If dynamic parameters are defined for your XSLT page, you can select  one from the pop-up menu.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;To specify another filter, click the Plus (+) button again.  &lt;p&gt;As you enter values or make selections in the pop-up menus, Dreamweaver  changes the XPath expression in the Expression text box. &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;In the following example, you want to restrict the resultset to those  &lt;code&gt;item&lt;/code&gt; nodes where the value of the &lt;code&gt;@available&lt;/code&gt; attribute  is &lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;&lt;p&gt;When you click OK, the following code is inserted in your XSLT page:&lt;/p&gt;&lt;pre&gt;&lt;xsl:for-each select="provider/store/items/item[@available = &amp;apos;true&amp;apos;]"&gt;      Content goes here &lt;/xsl:for-each&gt; &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td width="5"&gt;&lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width="1"&gt;&lt;p&gt; &lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;You need to surround string values such as true in quotes. Dreamweaver encodes the quotes for you (&amp;apos;) so that they are entered as valid XHTML.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;/pre&gt; &lt;p&gt;You can create more complex filters that allow you to specify parent nodes as  part of your filter criteria. In the following example, you want to restrict the  resultset to those &lt;code&gt;item&lt;/code&gt; nodes where the &lt;code&gt;store&lt;/code&gt;’s  &lt;code&gt;@id&lt;/code&gt; attribute is equal to 1 and the &lt;code&gt;item&lt;/code&gt;’s  &lt;code&gt;price&lt;/code&gt; node is greater than 5.&lt;/p&gt;&lt;p&gt;When you click OK, the following code is inserted in your XSLT page:&lt;/p&gt;&lt;pre&gt;&lt;xsl:for-each select="provider/store[@id = 1]/items/item[price &amp;gt; 5]"&gt;    Content goes here &lt;/xsl:for-each&gt; &lt;/pre&gt; &lt;p&gt;For more information and examples of repeat regions, see the  &lt;code&gt;&lt;xsl:for-each&gt;&lt;/code&gt; section in the Reference panel.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-2922540720939960461?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/2922540720939960461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-xpath-expression-builder-repeat.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2922540720939960461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2922540720939960461'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-xpath-expression-builder-repeat.html' title='Setting the XPath Expression Builder (Repeat Region) dialog box options'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-6939158499195142771</id><published>2009-01-28T08:46:00.004-08:00</published><updated>2009-01-28T08:48:50.748-08:00</updated><title type='text'>Setting the Conditional Region dialog box options</title><content type='html'>&lt;p&gt;The purpose of this dialog box is to write a simple conditional expression to  insert into your XSLT page. If content is selected when you open this dialog  box, the content will be wrapped in an &lt;code&gt;&lt;xsl:if&gt;&lt;/code&gt; block. If you  do not have content selected, the &lt;code&gt;&lt;xsl:if&gt;&lt;/code&gt; block will be  entered at the insertion point.&lt;/p&gt; &lt;p&gt;This dialog box provides a way to create a simple conditional expression. It  is recommended that you use the dialog box to get started and then customize the  expression in Code view.&lt;/p&gt; &lt;p&gt;The &lt;code&gt;&lt;xsl:if&gt;&lt;/code&gt; element is similar to the &lt;code&gt;if&lt;/code&gt;  statement in other languages. The element provides a way for you to test a  condition and take a course of action based on the result. The  &lt;code&gt;&lt;xsl:if&gt;&lt;/code&gt; element allows you to test an expression for a  single true or false value.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp135286"&gt;&lt;/a&gt;To insert a conditional region:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;In the Conditional Region dialog box, enter the condition.  &lt;p&gt;In the following example, you want to test to see if the context node’s  &lt;code&gt;@available&lt;/code&gt; attribute value is &lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Click OK.  &lt;p&gt;The following code is inserted in your XSLT page:&lt;/p&gt;&lt;pre&gt;&lt;xsl:if test="@available=&amp;apos;true&amp;apos;"&gt;    Content goes here &lt;/xsl:if&gt; &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td width="5"&gt;&lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width="1"&gt;&lt;p&gt; &lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;You need to surround string values such as true in quotes. Dreamweaver encodes the quotes for you (&amp;apos;) so that they are entered as valid XHTML.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;In addition to testing nodes for values, you can use any of the supported  XSLT functions in any conditional statement. The condition is tested for the  current node within your XML file. In the following example, you want to test  for the last node in the resultset:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;For more information and examples on writing conditional expressions, see the  &lt;code&gt;&lt;xsl:if&gt;&lt;/code&gt; section in the Reference panel.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-6939158499195142771?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/6939158499195142771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-conditional-region-dialog-box.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6939158499195142771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6939158499195142771'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-conditional-region-dialog-box.html' title='Setting the Conditional Region dialog box options'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-4182835507759160582</id><published>2009-01-28T08:46:00.003-08:00</published><updated>2009-01-28T08:46:55.502-08:00</updated><title type='text'>Setting the Multiple Conditional Region dialog box options</title><content type='html'>&lt;p&gt;The purpose of this dialog box is to write a simple conditional expression to  insert into your XSLT page. If content is selected when you open this dialog  box, the content will be wrapped in an &lt;code&gt;&lt;xsl:choose&gt;&lt;/code&gt; block. If  you do not have content selected, the &lt;code&gt;&lt;xsl:choose&gt;&lt;/code&gt; block will  be entered at the insertion point.&lt;/p&gt; &lt;p&gt;This dialog box provides a way to create a simple conditional expression. It  is recommended that you use the dialog box to get started and then customize the  expression in Code view.&lt;/p&gt; &lt;p&gt;The &lt;code&gt;&lt;xsl:choose&gt;&lt;/code&gt; element is similar to the  &lt;code&gt;case&lt;/code&gt; statement in other languages. The element provides a way for  you to test a condition and take a course of action based on the result. The  &lt;code&gt;&lt;xsl:choose&gt;&lt;/code&gt; element allows you to test for multiple  conditions.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp135318"&gt;&lt;/a&gt;To insert a multiple conditional region:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;In the Multiple Conditional Region dialog box, enter the first condition.  &lt;p&gt;In the following example, you want to test to see if the context node’s  &lt;code&gt;price&lt;/code&gt; subelement is less than 5.&lt;/p&gt; &lt;p&gt;&lt;img alt="This is a picture of the feature being described." hspace="0" border="0" /&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Click OK.  &lt;p&gt;In the example, the following code is inserted in your XSLT page:&lt;/p&gt;&lt;pre&gt;&lt;xsl:choose&gt;    &lt;xsl:when test="price&amp;lt;5"&gt;       Content goes here    &lt;/xsl:when&gt;    &lt;xsl:otherwise&gt;       Content goes here    &lt;/xsl:otherwise&gt; &lt;/xsl:choose&gt; &lt;/pre&gt; &lt;/li&gt;&lt;li&gt;To insert another condition, place the insertion point in Code view between  &lt;code&gt;&lt;xsl:when&gt;&lt;/code&gt; tag pairs or just before the  &lt;code&gt;&lt;xsl:otherwise&gt;&lt;/code&gt; tag, and then insert a conditional region  (Insert &gt; XSLT Objects &gt; Conditional Region).  &lt;p&gt;After you specify the condition and click OK, Dreamweaver inserts another  &lt;code&gt;&lt;xsl:when&gt;&lt;/code&gt; tag in the &lt;code&gt;&lt;xsl:choose&gt;&lt;/code&gt; block.  &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;For more information and examples on writing conditional expressions, see the  &lt;code&gt;&lt;xsl:choose&gt;&lt;/code&gt; sections in the Reference panel.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-4182835507759160582?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/4182835507759160582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-multiple-conditional-region.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4182835507759160582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4182835507759160582'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-multiple-conditional-region.html' title='Setting the Multiple Conditional Region dialog box options'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-4431420439919897333</id><published>2009-01-28T08:46:00.001-08:00</published><updated>2009-01-28T08:46:36.827-08:00</updated><title type='text'>Setting Repeat Region (XSL) properties</title><content type='html'>&lt;h1&gt;&lt;span class="Apple-style-span" style="font-size: 16px; font-weight: normal; "&gt;The purpose of this Property inspector is to select a different XML node to  repeat to create the repeat region.&lt;/span&gt;&lt;br /&gt;&lt;/h1&gt; &lt;h4&gt;&lt;a name="wp135342"&gt;&lt;/a&gt;To select a different XML node:&lt;/h4&gt; &lt;ul&gt; &lt;li&gt;In the Select text box, enter a new node, and then press the lightning bolt  icon and select the node from the XML schema tree that appears. &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-4431420439919897333?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/4431420439919897333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-repeat-region-xsl-properties.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4431420439919897333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4431420439919897333'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-repeat-region-xsl-properties.html' title='Setting Repeat Region (XSL) properties'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-5107973503529094143</id><published>2009-01-28T08:13:00.002-08:00</published><updated>2009-01-28T08:46:24.479-08:00</updated><title type='text'>Setting Conditional Region (If) properties</title><content type='html'>&lt;p&gt;The purpose of this Property inspector is to change the condition used in a  conditional region in your XSL page. The conditional region tests the condition  and takes a course of action based on the result.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp135352"&gt;&lt;/a&gt;To change the condition used in the conditional  region:&lt;/h4&gt; &lt;ul&gt; &lt;li&gt;In the Test text box, enter a new condition, and then press Enter. &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-5107973503529094143?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/5107973503529094143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-conditional-region-if.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/5107973503529094143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/5107973503529094143'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-conditional-region-if.html' title='Setting Conditional Region (If) properties'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-1603262909862292330</id><published>2009-01-28T08:13:00.001-08:00</published><updated>2009-01-28T08:13:44.648-08:00</updated><title type='text'>Setting Conditional Region (When) properties</title><content type='html'>&lt;p&gt;The purpose of this Property inspector is to change the condition used in a  multiple conditional region in your XSL page. The multiple conditional region  tests the condition and takes a course of action based on the result.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp135362"&gt;&lt;/a&gt;To change the condition used in the multiple  conditional region:&lt;/h4&gt; &lt;ul&gt; &lt;li&gt;In the Test text box, enter a new condition, and then press Enter. &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-1603262909862292330?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/1603262909862292330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-conditional-region-when.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1603262909862292330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1603262909862292330'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-conditional-region-when.html' title='Setting Conditional Region (When) properties'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-6938975243140982163</id><published>2009-01-28T08:12:00.002-08:00</published><updated>2009-01-28T08:13:10.272-08:00</updated><title type='text'>Specifying a missing character entity</title><content type='html'>&lt;h1&gt;&lt;span class="Apple-style-span" style=" font-weight: normal; "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;In XSLT, some characters are not allowed in certain contexts. For example,  you cannot use the less than sign (&lt;) and the ampersand (&amp;amp;) in the text  between tags or in an attribute value. The XSLT transformation engine will give  you error if those characters are used incorrectly. To solve the problem, you  can specify character entities to replace the special characters.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h1&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;A character entity is a string of characters that represents other  characters. Character entities are either named or numbered. A named entity  begins with an ampersand (&amp;amp;) followed by the name or characters, and ends  with a semicolon (;). For example, &lt;/span&gt;&lt;code&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&amp;lt;&lt;/span&gt;&lt;/code&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; represents the left  angle bracket character (&lt;). Numbered entities also start and end the same  way, except that a hash sign (#) and a number specifies the character.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;XSLT has the following five predefined entities:&lt;/span&gt;&lt;/p&gt; &lt;table cellspacing="1" cellpadding="4" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;th&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Character&lt;/span&gt;&lt;/p&gt;&lt;/th&gt; &lt;th&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Entity Code&lt;/span&gt;&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt; (less-than)&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&amp;lt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&amp;amp; (ampersand)&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&amp;amp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&gt; (greater-than)&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;" (quote)&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;"&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;‘ (apostrophe)&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;'&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;If you use other character entities in an XSL file, you need to define them  in the DTD section of the XSL file. Dreamweaver provides several default entity  definitions that you can see at the top of an XSL file created in Dreamweaver.  These default entities cover a broad selection of the most commonly used  characters.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Dreamweaver checks the XSL file for undefined entities when you preview your  XSL file in a browser. If it finds an undefined entity, Dreamweaver notifies you  in a message box.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;If you preview an XML file attached to an XSLT file or if you preview a  server-side page with an XSLT transformation, the server or browser (instead of  Dreamweaver) notifies you of an undefined entity. The following is an example of  a message you may get in Internet Explorer when you request an XML file  transformed by an XSL file with a missing entity definition:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Reference to undefined entity 'auml'. Error processing resource 'http://localhost/testthis/list.xsl'. Line 28, Position 20  &lt;/span&gt;&lt;p class="test"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;ä&lt;/span&gt;&lt;/p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; -------------------^ &lt;/span&gt;&lt;/pre&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;To correct the error in your page, you’ll need to add the entity definition  to your page by hand. &lt;/span&gt;&lt;/p&gt; &lt;h4&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;a name="wp135407"&gt;&lt;/a&gt;To specify a missing entity definition:&lt;/span&gt;&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Look up the missing character in the character entity reference page on the  W3C website at &lt;/span&gt;&lt;a href="http://www.w3.org/TR/REC-html40/sgml/entities.html" target="mm_window"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;www.w3.org/TR/REC-html40/sgml/entities.html&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;.  &lt;/span&gt;&lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;This web page contains the 252 allowed entities in HTML 4 and XHTML 1.0.&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;For example, if the character entity Egrave is missing, search for "Egrave"  on the W3C web page. You will find the following entry:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; &lt;/span&gt;&lt;/pre&gt; &lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Make a note of the entity name and entity code in the entry.  &lt;/span&gt;&lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;In the example, &lt;/span&gt;&lt;code&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Egrave&lt;/span&gt;&lt;/code&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; is the entity name, and  &lt;/span&gt;&lt;code&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&amp;amp;#200&lt;/span&gt;&lt;/code&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; is the entity code. &lt;/span&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;With this information, switch to Code view in Dreamweaver and enter the  following entity tag at the top of your XSL file (following the Doctype  declaration and with the other entity tags): &lt;/span&gt;&lt;pre&gt;&lt;code&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;entityname&lt;/span&gt;&lt;/i&gt;&lt;/code&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; "&lt;/span&gt;&lt;code&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;entitycode&lt;/span&gt;&lt;/i&gt;&lt;/code&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;;"&gt; &lt;/span&gt;&lt;/pre&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;In the example, you would enter the following entity tag:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; &lt;/span&gt;&lt;/pre&gt; &lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Save your file. &lt;/span&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;If you repeatedly use the same character entities, you may want to  permanently add their definitions in the XSL files Dreamweaver creates by  default when you use File &gt; New.&lt;/span&gt;&lt;/p&gt; &lt;h4&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;a name="wp135421"&gt;&lt;/a&gt;To add entity definitions to the XSL files Dreamweaver  creates by default:&lt;/span&gt;&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Locate the following configuration file in the Dreamweaver application  folder and open it in any text editor:  &lt;/span&gt;&lt;p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Configuration/DocumentTypes/MMDocumentTypeDeclarations.xml&lt;/span&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Locate the declaration called mm_xslt_1: &lt;/span&gt;&lt;pre&gt;&lt;documenttypedeclaration id="mm_xslt_1"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; &lt;/span&gt;&lt;/documenttypedeclaration&gt;&lt;/pre&gt; &lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Enter the new entity tag or tags in the list of entity tags, as follows: &lt;/span&gt;&lt;pre&gt;&lt;code&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;entityname&lt;/span&gt;&lt;/i&gt;&lt;/code&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt; "&lt;/span&gt;&lt;code&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;entitycode&lt;/span&gt;&lt;/i&gt;&lt;/code&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;;"&gt; &lt;/span&gt;&lt;/pre&gt; &lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Save the file and relaunch Dreamweaver. &lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-6938975243140982163?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/6938975243140982163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/specifying-missing-character-entity.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6938975243140982163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6938975243140982163'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/specifying-missing-character-entity.html' title='Specifying a missing character entity'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-363123832783469723</id><published>2009-01-28T08:12:00.001-08:00</published><updated>2009-01-28T08:12:25.001-08:00</updated><title type='text'>Using Web Services</title><content type='html'>&lt;h1&gt;&lt;span class="Apple-style-span" style="font-size: 16px; font-weight: normal; "&gt;Web services are an emerging technology that allow web pages to access  distributed applications. By offering both access to information and application  functionality as a service, web services can be delivered and paid for as  streams of services that allow ubiquitous access from any platform. The web page  that connects to the web service is commonly known as a &lt;i&gt;consumer&lt;/i&gt;, and the  service itself is known as a &lt;i&gt;publisher&lt;/i&gt;. Macromedia Dreamweaver 8 lets you  create pages and sites that are consumers of web services. Dreamweaver currently  supports the creation of web-service consumers using Macromedia ColdFusion MX,  ASP.NET, and Java Server Pages (JSP) document types. Specifically, Dreamweaver  allows you to perform the following web service development tasks:&lt;/span&gt;&lt;br /&gt;&lt;/h1&gt; &lt;ul&gt; &lt;li&gt;Select web services available on the Internet.  &lt;/li&gt;&lt;li&gt;Generate a web service proxy that allows the web page to communicate with  the web service publisher.  &lt;p&gt;The proxy (also known as an abstraction class) contains the fields, methods,  and properties of the web service, and makes them available to the locally  hosted page. When you generate a proxy for your page, Dreamweaver lets you view  them in the Components panel.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Drag methods and data types into the page’s code. &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Before you create a web page that uses a web service, you must be familiar  with the underlying server technology of the application you want to use and the  programming constructs that the application requires.&lt;/p&gt; &lt;p&gt;Dreamweaver allows you to author web pages that can access web services and  make use of the functionality the services provide. In addition, you can create  and publish web services for deployment using Macromedia ColdFusion MX.&lt;/p&gt; &lt;p&gt;This chapter contains the following sections:&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;About web services&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;About proxy generators&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;Adding a web service proxy using the WSDL  description&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;Adding a web service to a page&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;&lt;a&gt;Editing the UDDI web service site  list&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-363123832783469723?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/363123832783469723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/using-web-services.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/363123832783469723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/363123832783469723'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/using-web-services.html' title='Using Web Services'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-2607239852117189745</id><published>2009-01-28T08:11:00.004-08:00</published><updated>2009-01-28T08:12:01.849-08:00</updated><title type='text'>About web services</title><content type='html'>&lt;h1&gt;&lt;span class="Apple-style-span" style="font-size: 16px; font-weight: normal; "&gt;Web services allow applications to communicate and share information across  the Internet, regardless of operating system or programming language. Examples  of web services, and the information and functionality they provide, include the  following:&lt;/span&gt;&lt;br /&gt;&lt;/h1&gt; &lt;ul&gt; &lt;li&gt;User authentication and authorization  &lt;/li&gt;&lt;li&gt;Credit card validation  &lt;/li&gt;&lt;li&gt;Financial markets services that return stock prices associated with  specified ticker symbols  &lt;/li&gt;&lt;li&gt;Purchasing services that allow users to order products online  &lt;/li&gt;&lt;li&gt;Information services that provide news or other information types based on a  selected interest, location, or other personal information &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;By providing functionality as a service that a web page connects to and uses  as needed, web services give developers and service providers greater  flexibility in designing and deploying powerful, distributed applications.&lt;/p&gt; &lt;p&gt;Web services consist of the following basic components:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;b&gt;Service publishers&lt;/b&gt; provide hosted applications and make them  available for use. Web services can be provided either for free, or as a  fee-based service.  &lt;/li&gt;&lt;li&gt;&lt;b&gt;Service brokers&lt;/b&gt; maintain a registry of service providers with  descriptions of service offerings and links to their applications.  &lt;/li&gt;&lt;li&gt;&lt;b&gt;Service consumers&lt;/b&gt; are the web pages that access and use the remote  web service. &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;This section covers the following conceptual topics:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a&gt;The Dreamweaver web service workflow&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Finding web service publishers&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Web service software components&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Web service references&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a&gt;Obtaining additional proxy generators&lt;/a&gt;  &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-2607239852117189745?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/2607239852117189745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-web-services.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2607239852117189745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2607239852117189745'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-web-services.html' title='About web services'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-1276372316829364544</id><published>2009-01-28T08:11:00.003-08:00</published><updated>2009-01-28T08:11:43.378-08:00</updated><title type='text'>The Dreamweaver web service workflow</title><content type='html'>&lt;p&gt;To create a page or site that is a consumer of a web service using  Dreamweaver, you must perform the following tasks:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Install and configure a proxy generator.  &lt;p&gt;Proxy generators generate a web service proxy, a software component that a  web page uses to communicate with the web service publisher. The web service  proxy is generated from the Web Service Description Language (WSDL) that  describes the web service. Depending on the server technology you want to  develop web service consumers for, you may need to install and configure a proxy  generator that supports that technology.&lt;/p&gt; &lt;p&gt;Dreamweaver comes pre-configured with AXIS, the Apache SOAP proxy generator  that supports JSP web service development. If you are developing ColdFusion 6  pages, the web service proxy generator is included in the ColdFusion server.  Establishing a connection to the ColdFusion server gives you access to the proxy  generator.&lt;/p&gt; &lt;p&gt;If you are developing web service pages for use with ASP.NET, you must  install the ASP.NET SDK, which is available from Microsoft.&lt;/p&gt; &lt;p&gt;For information on installing and configuring a proxy generator not supplied  with Dreamweaver, see &lt;a&gt;About proxy  generators&lt;/a&gt;.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Using a browser, view a web-based registry of web services.  &lt;p&gt;There are several sources of web services, ranging from web service registry  sites to simple lists. The registries use UDDI, a standard that lets service  providers and requestors find and transact with one another. UDDI allows  businesses to locate services on the web that meet their needs. For example,  using UDDI you can specify certain criteria such as the lowest price for a  certain service, or that specific information be returned. &lt;/p&gt; &lt;p&gt;For more information see &lt;a&gt;Setting the UDDI  Site dialog box options&lt;/a&gt;.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;After locating and selecting a web service that provides the functionality  you need, enter the URL of the WSDL in the Adding a Web Service dialog box.  &lt;p&gt;For more information see &lt;a&gt;Setting the Web  Services Chooser dialog box options&lt;/a&gt;.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Generate a proxy for the web service from the WSDL description of the  service publisher.  &lt;p&gt;To embed a web service into a web page, you must create a proxy. The proxy  provides the web page with the necessary information to communicate with the web  service, and access the methods the web service provides. &lt;/p&gt; &lt;p&gt;To create a proxy from the WSDL file, use a proxy generator. After you create  the proxy, you can install it on either of the following:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;The local computer where you are developing the web service consumer.  &lt;/li&gt;&lt;li&gt;The server computer running the application server. To deploy the web page  and have it communicate with the web service publisher you must install the  proxy on the server. &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;For more information, see &lt;a&gt;About proxy  generators&lt;/a&gt;.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Using Dreamweaver, add the web service to a page and edit the necessary  parameters and methods to make use of the service’s functionality.  &lt;p&gt;For more information, see &lt;a&gt;Adding a web service  to a page&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-1276372316829364544?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/1276372316829364544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/dreamweaver-web-service-workflow.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1276372316829364544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1276372316829364544'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/dreamweaver-web-service-workflow.html' title='The Dreamweaver web service workflow'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-8900307949170345671</id><published>2009-01-28T08:11:00.001-08:00</published><updated>2009-01-28T08:11:24.845-08:00</updated><title type='text'>Finding web service publishers</title><content type='html'>&lt;p&gt;Web services themselves are made available by service publishers. Typically,  the service publisher makes its web service available through a web-based  registry that maintains a directory of available services that you can access. A  number of websites provide such a directory, including:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;X Methods at &lt;a href="http://www.xmethods.net/" target="mm_window"&gt;http://www.xmethods.net&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;IBM Business Registry at &lt;a href="https://uddi.ibm.com/ubr/registry.html" target="mm_window"&gt;https://uddi.ibm.com/ubr/registry.html &lt;/a&gt; &lt;/li&gt;&lt;li&gt;Microsoft UDDI registry at &lt;a href="http://uddi.microsoft.com/default.aspx" target="mm_window"&gt;http://uddi.microsoft.com/default.aspx&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;These registries use the Universal Description, Discovery and Integration  (UDDI) service, an open, e-commerce service registry that provides a forum for  businesses to describe themselves and the goods or services they can provide to  other businesses. A group of companies, called &lt;i&gt;operators&lt;/i&gt;, maintain the  registry. The operators have pledged to share all public information about  registrants among themselves and with users of the service, and to maintain  inter-operability among the multiple peer nodes of the UDDI service network. In  addition to public web services, there are also private UDDI registries  available on a subscription basis.&lt;/p&gt; &lt;p&gt;The UDDI specification is based on existing Internet standards, ensuring that  it is platform and implementation neutral.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-8900307949170345671?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/8900307949170345671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/finding-web-service-publishers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8900307949170345671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8900307949170345671'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/finding-web-service-publishers.html' title='Finding web service publishers'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-3705638338625850908</id><published>2009-01-28T08:10:00.006-08:00</published><updated>2009-01-28T08:11:09.088-08:00</updated><title type='text'>Web service software components</title><content type='html'>&lt;p&gt;For a web page to access and use a web service, it must communicate with the  service and have a description of the functionality the service provides, the  available methods that it can invoke, and the parameters the service returns.  The Web Service Description Language (WSDL) is an XML-based description of the  service. Each web service provides a WSDL that describes how to bind to the  service, the available methods that the web page can invoke, and the data inputs  and outputs. The WSDL can reside in a file, or it can be generated by the web  service at runtime.&lt;/p&gt; &lt;p&gt;Communication between the web page requesting the service and the web service  itself uses the Simple Object Access Protocol (SOAP). SOAP is an XML-based  protocol that lets a web client access and invoke the web service’s methods and  parameters.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-3705638338625850908?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/3705638338625850908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/web-service-software-components.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3705638338625850908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3705638338625850908'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/web-service-software-components.html' title='Web service software components'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-6719806717042309436</id><published>2009-01-28T08:10:00.005-08:00</published><updated>2009-01-28T08:10:52.412-08:00</updated><title type='text'>Web service references</title><content type='html'>&lt;p&gt;To learn more about web services, and the underlying technologies that make  them possible, visit the following websites:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;WSDL specification at &lt;a href="http://www.w3.org/TR/wsdl" target="mm_window"&gt;http://www.w3.org/TR/wsdl&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;UDDI specification at &lt;a href="http://www.uddi.org/specification.html" target="mm_window"&gt;http://www.uddi.org/specification.html&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;XML specification at &lt;a href="http://www.w3.org/TR/REC-xml" target="mm_window"&gt;http://www.w3.org/TR/REC-xml&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;SOAP specification at &lt;a href="http://www.w3.org/TR/SOAP/" target="mm_window"&gt;http://www.w3.org/TR/SOAP/&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-6719806717042309436?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/6719806717042309436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/web-service-references.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6719806717042309436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6719806717042309436'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/web-service-references.html' title='Web service references'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-386505191817174606</id><published>2009-01-28T08:10:00.003-08:00</published><updated>2009-01-28T08:10:37.830-08:00</updated><title type='text'>Obtaining additional proxy generators</title><content type='html'>&lt;p&gt;If you want to install a proxy generator that is not supplied with  Dreamweaver, you must obtain the proxy generator and any related software  components from the vendor. You should be able to download all the necessary  files from the vendor’s website.&lt;/p&gt; &lt;p&gt;Some proxy generators create proxies that depend on other software libraries,  which must be appropriately installed so the proxy generator can access them.  For example, the AXIS proxy generator creates proxies that depend on the Apache  SOAP library, which, in turn, depends on other software libraries (note that all  the necessary software needed to use AXIS is installed by default with  Dreamweaver). When selecting a proxy generator, consult the provided  documentation, and ensure that you have all the required software components and  libraries, so that you can properly install and configure them.&lt;/p&gt; &lt;p&gt;After you have properly installed and configured the proxy generator, you  must configure it to work with Dreamweaver.&lt;/p&gt; &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Currently, web services development with Dreamweaver is limited to the  Windows environment. To develop pages that access web services on the Macintosh,  you must use a separate application server running either Windows NT/2000/XP or  UNIX on which to run the web service proxy and its application environment.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-386505191817174606?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/386505191817174606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/obtaining-additional-proxy-generators.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/386505191817174606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/386505191817174606'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/obtaining-additional-proxy-generators.html' title='Obtaining additional proxy generators'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-1711012575887821041</id><published>2009-01-28T08:10:00.001-08:00</published><updated>2009-01-28T08:10:18.418-08:00</updated><title type='text'>Adding a web service proxy using the WSDL description</title><content type='html'>&lt;h1&gt;&lt;span class="Apple-style-span" style="font-size: 16px; font-weight: normal; "&gt;After you have specified a proxy generator (see &lt;a&gt;About proxy generators&lt;/a&gt;) and configured the web  service server models you want to support, you need to find a web service that  provides the desired functionality and generate a proxy for that service.&lt;/span&gt;&lt;br /&gt;&lt;/h1&gt; &lt;h4&gt;&lt;a name="wp72017"&gt;&lt;/a&gt;To select a web service and generate a proxy from its  WSDL file:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Open the page that you want to add the web service to.  &lt;/li&gt;&lt;li&gt;Select Window &gt; Components to open the Components panel.  &lt;/li&gt;&lt;li&gt;In the Components panel, select Web Services from the pop-up menu in the  upper left of the panel, click the Plus (+) button, and select Add Using WSDL.  &lt;p&gt;The Add Using WSDL dialog box appears.&lt;/p&gt; &lt;p&gt;&lt;img alt="This is a picture of the feature being described." hspace="0" border="0" /&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Specify the URL of the WSDL file you want to use.  &lt;p&gt;If you know the URL of the WSDL file, enter it in the URL of the WSDL text  box.&lt;/p&gt; &lt;p&gt;If you don’t know the URL of the WSDL file, you can browse a directory of web  services. When you find the web service you want, copy and paste the URL of the  web service into the WSDL edit box. To start a web browser, click the UDDI  browse button and select one of the listed web service registries. Dreamweaver  will start the browser and open the selected registry. Locate the web service  you want to use, and copy the URL of its WSDL file to the Clipboard (Control+C  in Windows or Command+C on the Macintosh). Return to the Web Services Chooser  and paste the URL into the dialog box.&lt;/p&gt; &lt;p&gt;You can edit the list of web service registries to include additional web  service directories or specific web service providers. For more information, see  &lt;a&gt;Editing the UDDI web service site list&lt;/a&gt;.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Select a proxy generator that supports your desired web services server  model from the Proxy Generator pop-up menu.  &lt;p&gt;Make sure the proxy generator is installed and configured on your system. For  more information, see &lt;a&gt;About proxy  generators&lt;/a&gt;.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Click OK.  &lt;p&gt;The proxy generator creates a proxy for the web service and introspects it.  Introspection is the process where the proxy generator queries the internal  structure of the web service proxy, and makes its interfaces, methods, and  properties available through Dreamweaver.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;The web service is now available for use in the site, and appears in the  Components panel. You can now add the web service to a page. For more  information, see &lt;a&gt;Adding a web service to a  page&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-1711012575887821041?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/1711012575887821041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/adding-web-service-proxy-using-wsdl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1711012575887821041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1711012575887821041'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/adding-web-service-proxy-using-wsdl.html' title='Adding a web service proxy using the WSDL description'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-3188864547727352872</id><published>2009-01-28T08:09:00.003-08:00</published><updated>2009-01-28T08:09:57.571-08:00</updated><title type='text'>Adding a web service to a page</title><content type='html'>&lt;p&gt;After selecting a web service, generating its proxy, and adding it to the  Components panel, you can insert it into a page. &lt;/p&gt; &lt;p&gt;The illustration below shows the Components panel with the web service proxy  &lt;code&gt;Helloworld&lt;/code&gt; added. The &lt;code&gt;Helloworld&lt;/code&gt; proxy provides one  method, &lt;code&gt;sayHello&lt;/code&gt;, which prints "Hello World."&lt;/p&gt; &lt;p&gt;&lt;img alt="This is a picture of the feature being described." hspace="0" border="0" src="" /&gt;&lt;/p&gt; &lt;p&gt;The following example instantiates the &lt;code&gt;HelloWorld&lt;/code&gt; web service  using ColdFusion. To learn more about creating a web services, and to see  additional examples using .NET and JSP, visit the Macromedia Support Center at:  &lt;a href="http://www.macromedia.com/go/creating_web_services" target="mm_window"&gt;www.macromedia.com/go/creating_web_services&lt;/a&gt;.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp72054"&gt;&lt;/a&gt;To add a web service to a page:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;In the Document window, in Code view, drag the &lt;code&gt;sayHello&lt;/code&gt; method  into the page’s HTML.  &lt;p&gt;Dreamweaver adds the method and dummy parameters to the page.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Edit the inserted code with appropriate service instance names, data types,  and parameter values, as required by the web service. The web service should  provide descriptions of the data types and parameter values.  &lt;p&gt;In the ColdFusion example shown below, the web service is enclosed by the  &lt;code&gt;&lt;cfinvoke&gt;&lt;/cfinvoke&gt;&lt;/code&gt; tags. When developing a web service in ColdFusion,  use &lt;code&gt;&lt;cfinvoke&gt; &lt;/cfinvoke&gt;&lt;/code&gt;to instantiate the web service and invoke its  methods.&lt;/p&gt;&lt;pre&gt;      &lt;cfinvoke webservice="http://www.mysite.com:8500:8500/helloworld/HelloWorld.cfc?wsdl" method="sayHello" returnvariable="aString"&gt; &lt;/cfinvoke&gt;    &lt;/pre&gt; &lt;/li&gt;&lt;li&gt;If you want to bind a return value to a visual element, switch to Design  view and place a visual element on the page that can accept data binding. Then  switch back to Code view and enter the appropriate code to bind the returned  value to the visual element. When creating web services, refer to the technology  provider’s documentation for the proper syntax with which to both instantiate  the service and display the returned values to the page.  &lt;p&gt;In this example, the value returned for the variable &lt;code&gt;aString&lt;/code&gt; is  output using the ColdFusion &lt;code&gt;&lt;cfoutput&gt;&lt;/cfoutput&gt;&lt;/code&gt; tag. This will display  the sentence "&lt;code&gt;The web service says: Hello world!&lt;/code&gt;" to the page.&lt;/p&gt;&lt;pre&gt;     &lt;cfinvoke webservice="http://www.mysite.com:8500/helloworld/HelloWorld.cfc?wsdl" method="sayHello" returnvariable="aString"&gt; &lt;/cfinvoke&gt;  The web service says: &lt;cfoutput&gt;#aString#&lt;/cfoutput&gt;   &lt;/pre&gt; &lt;/li&gt;&lt;li&gt;When you deploy web pages to a production server, Dreamweaver automatically  copies the pages, the proxy, and any necessary libraries to the web server.  &lt;table class="nav" cellspacing="2" cellpadding="2" width="100%" border="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;If you develop the application with a proxy that is installed on a separate  computer from the one where you developed the pages, or if you use a site  management tool that does not copy all of the related files to the server, you  must be sure to deploy both the proxy and any dependent library files.Otherwise,  your pages cannot communicate with the web service application.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-3188864547727352872?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/3188864547727352872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/adding-web-service-to-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3188864547727352872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3188864547727352872'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/adding-web-service-to-page.html' title='Adding a web service to a page'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-7334818980315974901</id><published>2009-01-28T08:09:00.001-08:00</published><updated>2009-01-28T08:09:34.990-08:00</updated><title type='text'>Editing the UDDI web service site list</title><content type='html'>&lt;p&gt;The Web Service Chooser provides a list of UDDI-based web service directories  from which you can select web services. You can edit this list to add or delete  web service directories. For more information, see &lt;a&gt;Finding web service publishers&lt;/a&gt;.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp72098"&gt;&lt;/a&gt;To edit the web service site list:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;In Dreamweaver, select Window &gt; Components to open the Components panel.  &lt;/li&gt;&lt;li&gt;In the Components panel, select Web Services from the pop-up menu in the  upper left of the panel, and then click the Plus (+) button to add a web  service.  &lt;p&gt;The Add Using WSDL dialog box appears.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;In the Web Services Chooser, click the globe icon and select Edit UDDI Site  List from the pop-up menu.  &lt;p&gt;The UDDI Sites dialog box appears.&lt;/p&gt; &lt;p&gt;&lt;img alt="This is a picture of the feature being described." hspace="0" border="0" /&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;From the UDDI Sites dialog box you can add new web service sites, edit the  name and URL of existing sites, and remove unwanted sites.  &lt;ul&gt; &lt;li&gt;To add a new site, or modify and existing one, click the New or Edit button  and complete the dialog box that displays.  &lt;/li&gt;&lt;li&gt;To remove an existing site, select it in the list and click the Remove  button. &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-7334818980315974901?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/7334818980315974901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/editing-uddi-web-service-site-list.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7334818980315974901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7334818980315974901'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/editing-uddi-web-service-site-list.html' title='Editing the UDDI web service site list'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-3182542165477232772</id><published>2009-01-28T08:08:00.006-08:00</published><updated>2009-01-28T08:09:06.245-08:00</updated><title type='text'>Setting the Web Services Chooser dialog box options</title><content type='html'>&lt;p&gt;This dialog box lets you select a web service and generate a proxy that lets  the page access the service. &lt;/p&gt; &lt;h4&gt;&lt;a name="wp130200"&gt;&lt;/a&gt;To set the Web Services Chooser dialog box  options:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Set the following options:  &lt;p&gt;&lt;b&gt;URL of WSDL file&lt;/b&gt; Enter either the URL or local file path of the WSDL  file. This information is read as input by Dreamweaver, and is used to generate  the proxy and scripting information for the web service.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Proxy Generator&lt;/b&gt; Select a proxy generator that supports your chosen  document type to generate a web service proxy.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Explorer button&lt;/b&gt; Select from a menu that contains plain-English names  of URLs to UDDI registries and other significant repositories of WSDL files.  After you select a menu item, a browser appears and opens the selected URL. The  Choosing Edit Browser List opens the dialog box for editing browser  preferences.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Click OK. &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-3182542165477232772?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/3182542165477232772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-web-services-chooser-dialog-box.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3182542165477232772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3182542165477232772'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-web-services-chooser-dialog-box.html' title='Setting the Web Services Chooser dialog box options'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-156477074095163600</id><published>2009-01-28T08:08:00.005-08:00</published><updated>2009-01-28T08:08:51.425-08:00</updated><title type='text'>Setting the Proxy Generators dialog box options</title><content type='html'>&lt;p&gt;This dialog box lets you define new proxy generators, or modify, delete, or  duplicate existing ones.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp130215"&gt;&lt;/a&gt;To define, modify, or remove a proxy generator:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Perform any of the following actions:  &lt;ul&gt; &lt;li&gt;To add a proxy generator to the list, click New and complete the dialog box  that appears.  &lt;p&gt;For more information, see &lt;a&gt;Setting the Default  Proxy Generator dialog box options&lt;/a&gt;.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;To delete a proxy generator from the list, select it in the list and click  Remove.  &lt;/li&gt;&lt;li&gt;To modify a proxy generator, select it in the list and click Edit. Make  changes in the resulting dialog box.  &lt;p&gt;For more information, see &lt;a&gt;Setting the Default  Proxy Generator dialog box options&lt;/a&gt;.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;To create a copy of a proxy generator, select it in the list and click  Duplicate. &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;Click Done. &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-156477074095163600?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/156477074095163600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-proxy-generators-dialog-box.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/156477074095163600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/156477074095163600'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-proxy-generators-dialog-box.html' title='Setting the Proxy Generators dialog box options'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-4853092389872155315</id><published>2009-01-28T08:08:00.003-08:00</published><updated>2009-01-28T08:08:35.891-08:00</updated><title type='text'>Setting the Default Proxy Generator dialog box options</title><content type='html'>&lt;p&gt;This dialog box lets you set the properties of a default proxy generator.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp130239"&gt;&lt;/a&gt;To configure the default proxy generator:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Set the following properties:  &lt;p&gt;&lt;b&gt;Name&lt;/b&gt; The name of the proxy generator instance to appear in the pop-up  menu.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Server Models Supported&lt;/b&gt; The list of server models that the proxy  generator supports. You can edit the list by using the Plus (+) and Minus (-)  buttons. &lt;/p&gt; &lt;p&gt;Clicking the Plus (+) button displays the Select Server Models dialog box.  Select a server model from the list of available server models, and click  OK.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Generate Proxy Command&lt;/b&gt; Generate proxy source code from WSDL  information. The following tokens can be used in the proxy generator  commands:&lt;/p&gt; &lt;p&gt;&lt;b&gt;Compile Proxy Command&lt;/b&gt; Compiles the proxy source code to executable  code.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Introspect Compiled Proxy&lt;/b&gt; Introspect the compiled proxy by selecting  an introspector from the pop-up menu.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Destination Folder&lt;/b&gt; Folder in which to put the compiled web service  proxy and its source code.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Click OK. &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-4853092389872155315?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/4853092389872155315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-default-proxy-generator-dialog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4853092389872155315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4853092389872155315'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-default-proxy-generator-dialog.html' title='Setting the Default Proxy Generator dialog box options'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-8544603351396723170</id><published>2009-01-28T08:08:00.001-08:00</published><updated>2009-01-28T08:08:17.861-08:00</updated><title type='text'>Setting the Select Server Model dialog box options</title><content type='html'>&lt;p&gt;The Select Server Model dialog box lets you to select the server models to  support with the specified proxy generator.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp130262"&gt;&lt;/a&gt;To select a server model:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Select a server model from the list. You can select multiple server models  by holding the Control key and selecting from the list.  &lt;/li&gt;&lt;li&gt;Click OK. &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-8544603351396723170?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/8544603351396723170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-select-server-model-dialog-box.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8544603351396723170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8544603351396723170'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-select-server-model-dialog-box.html' title='Setting the Select Server Model dialog box options'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-3136255778719647319</id><published>2009-01-28T08:07:00.002-08:00</published><updated>2009-01-28T08:08:03.785-08:00</updated><title type='text'>Setting the UDDI Site dialog box options</title><content type='html'>&lt;p&gt;The UDDI Sites dialog box lets you add, edit, or remove UDDI directories so  that you can easily browse for web services.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp130279"&gt;&lt;/a&gt;To add a new site, or edit an existing one:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Click the New button to display the New UDDI Site dialog box, or the Edit  button to display the Edit UDDI Site dialog box.  &lt;/li&gt;&lt;li&gt;If you know the name and URL of a UDDI website, enter that information.  &lt;p&gt;You can also start a web browser to locate UDDI sites by clicking the browser  button (the globe icon) next to the Address text box.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;When you have entered the name and URL of a UDDI website, click OK.  &lt;p&gt;The new or modified UDDI site appears in the list of sites in the UDDI Sites  dialog box.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Click Done. &lt;/li&gt;&lt;/ol&gt; &lt;h4&gt;&lt;a name="wp130286"&gt;&lt;/a&gt;To remove a site:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Select a site from the list and click the Remove button.  &lt;/li&gt;&lt;li&gt;Click Done &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-3136255778719647319?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/3136255778719647319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-uddi-site-dialog-box-options.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3136255778719647319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3136255778719647319'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-uddi-site-dialog-box-options.html' title='Setting the UDDI Site dialog box options'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-1907417585218761929</id><published>2009-01-28T08:07:00.001-08:00</published><updated>2009-01-28T08:07:42.146-08:00</updated><title type='text'>Setting the Add Using Proxy Classes dialog box</title><content type='html'>&lt;p&gt;This dialog box lets you select a local .NET DLL or JSP Reader to introspect  web service proxies when using the .NET or JSP development framework.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp130312"&gt;&lt;/a&gt;To select a proxy class reader:&lt;/h4&gt; &lt;ol&gt; &lt;li&gt;Enter the location of the proxy class reader in the text box.  &lt;p&gt;You can browse for the file by clicking the Browse button to the right of the  text box.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Select a proxy reader you want to use from the pop-up menu.  &lt;p&gt;There are two default proxy readers:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;The .NET DLL Reader for ASP .NET document types  &lt;/li&gt;&lt;li&gt;The Java Class Reader for JSP document types &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;Click OK. &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-1907417585218761929?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/1907417585218761929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-add-using-proxy-classes-dialog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1907417585218761929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1907417585218761929'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-add-using-proxy-classes-dialog.html' title='Setting the Add Using Proxy Classes dialog box'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-3558373186252877749</id><published>2009-01-21T10:26:00.000-08:00</published><updated>2009-01-21T10:32:54.842-08:00</updated><title type='text'>Adding Custom Server Behaviors</title><content type='html'>Macromedia Dreamweaver 8 comes with a set of built-in server behaviors that lets you easily add dynamic capabilities to a site. If you want to extend Dreamweaver’s functionality, you can create new server behaviors to suit your development needs, or obtain server behaviors from the Macromedia Exchange website. &lt;p&gt;This chapter contains the following sections:&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/about-custom-server-behaviors.html"&gt;About custom server behaviors&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/installing-third-party-server-behaviors.html"&gt;Installing third-party server   behaviors&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/using-server-behavior-builder.html"&gt;Using the Server Behavior   Builder&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/using-parameters-in-server-behaviors.html"&gt;Using parameters in server   behaviors&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/positioning-code-blocks.html"&gt;Positioning code blocks&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/creating-dialog-box-for-custom-server.html"&gt;Creating a dialog box for a custom server   behavior&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/editing-and-modifying-server-behaviors.html"&gt;Editing and modifying server   behaviors&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/reference_21.html"&gt;&lt;strong&gt;Reference&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-3558373186252877749?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/3558373186252877749/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/adding-custom-server-behaviors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3558373186252877749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3558373186252877749'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/adding-custom-server-behaviors.html' title='Adding Custom Server Behaviors'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-4849413895089461407</id><published>2009-01-21T10:23:00.000-08:00</published><updated>2009-01-21T10:26:11.728-08:00</updated><title type='text'>Reference</title><content type='html'>This section provides information about the following dialog boxes introduced   in this chapter: &lt;ul&gt;&lt;li&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/setting-new-server-behavior-dialog-box.html"&gt;Setting the New Server Behavior dialog box   options&lt;/a&gt;   &lt;/li&gt;&lt;li&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/setting-server-behavior-builder-dialog.html"&gt;Setting the Server Behavior Builder dialog   box options&lt;/a&gt;   &lt;/li&gt;&lt;li&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/setting-insert-parameter-in-code-block.html"&gt;Setting the Insert Parameter in Code Block   dialog box options&lt;/a&gt;   &lt;/li&gt;&lt;li&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/setting-create-new-code-block-dialog.html"&gt;Setting the Create a New Code Block dialog   box options&lt;/a&gt;   &lt;/li&gt;&lt;li&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/setting-generate-behavior-dialog-box.html"&gt;Setting the Generate Behavior Dialog Box   dialog box options&lt;/a&gt;   &lt;/li&gt;&lt;li&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/setting-edit-server-behaviors-dialog.html"&gt;Setting the Edit Server Behaviors dialog box   options&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-4849413895089461407?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/4849413895089461407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/reference_21.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4849413895089461407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4849413895089461407'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/reference_21.html' title='Reference'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-5643649919999799726</id><published>2009-01-21T10:22:00.000-08:00</published><updated>2009-01-21T10:23:37.570-08:00</updated><title type='text'>Setting the Edit Server Behaviors dialog box options</title><content type='html'>This dialog box let you select a server behavior to edit. &lt;h4&gt;&lt;a name="wp149818"&gt;&lt;/a&gt;To edit a server behavior:&lt;/h4&gt; &lt;ol&gt;&lt;li&gt;Select a document type and server behavior.  &lt;/li&gt;&lt;li&gt;Click Edit.  &lt;p&gt;The Edit Server Behavior dialog box appears, letting you edit the server  behavior. For more information, see Editing and  modifying server behaviors.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-5643649919999799726?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/5643649919999799726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-edit-server-behaviors-dialog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/5643649919999799726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/5643649919999799726'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-edit-server-behaviors-dialog.html' title='Setting the Edit Server Behaviors dialog box options'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-1753046252405421127</id><published>2009-01-21T10:21:00.002-08:00</published><updated>2009-01-21T10:22:55.559-08:00</updated><title type='text'>Setting the Generate Behavior Dialog Box dialog box options</title><content type='html'>This dialog box generates a dialog box for a custom server behavior that  requires input from the user. It is also used to edit such a dialog box.  &lt;p&gt;When this dialog box opens, it lists all of the supplied parameters  defined in the code. For more information, see Creating a dialog box for a custom server  behavior.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp149793"&gt;&lt;/a&gt;To create a dialog box for user input:&lt;/h4&gt; &lt;ol&gt;&lt;li&gt;To change the display order of the dialog box controls, select a parameter  and click the up and down arrows.  &lt;/li&gt;&lt;li&gt;To change a parameter’s control, select the parameter and selecting another  control in the Display As column.  &lt;/li&gt;&lt;li&gt;Click OK. &lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Dream weaver generates a dialog box for your custom server behavior, or it  updates an existing dialog box. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-1753046252405421127?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/1753046252405421127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-generate-behavior-dialog-box.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1753046252405421127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1753046252405421127'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-generate-behavior-dialog-box.html' title='Setting the Generate Behavior Dialog Box dialog box options'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-6858671545808090895</id><published>2009-01-21T10:21:00.001-08:00</published><updated>2009-01-21T10:21:39.985-08:00</updated><title type='text'>Setting the Create a New Code Block dialog box options</title><content type='html'>The purpose of this dialog box is to name and create a code block in the  Server Behavior Builder. &lt;h4&gt;&lt;a name="wp149778"&gt;&lt;/a&gt;To name and create a code block using the Server  Behavior Builder:&lt;/h4&gt; &lt;ul&gt;&lt;li&gt;Enter a name in the text box and click OK. &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-6858671545808090895?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/6858671545808090895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-create-new-code-block-dialog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6858671545808090895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6858671545808090895'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-create-new-code-block-dialog.html' title='Setting the Create a New Code Block dialog box options'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-7271460966006856543</id><published>2009-01-21T10:20:00.000-08:00</published><updated>2009-01-21T10:21:11.980-08:00</updated><title type='text'>Setting the Insert Parameter in Code Block dialog box options</title><content type='html'>This dialog box lets you replace every instance of a selected string in a  code block containing parameter markers. &lt;h4&gt;&lt;a name="wp149757"&gt;&lt;/a&gt;To replace every instance of a string within a code  block:&lt;/h4&gt; &lt;ol&gt;&lt;li&gt;Enter a parameter name.  &lt;p&gt;Example: &lt;code&gt;Session&lt;/code&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Click OK. &lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Dreamweaver replaces every instance of the selected string in the code block  with a parameter marker (for example, &lt;code&gt;@@Session@@&lt;/code&gt;).&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-7271460966006856543?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/7271460966006856543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-insert-parameter-in-code-block.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7271460966006856543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/7271460966006856543'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-insert-parameter-in-code-block.html' title='Setting the Insert Parameter in Code Block dialog box options'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-8976681659067613003</id><published>2009-01-21T10:17:00.000-08:00</published><updated>2009-01-21T10:19:14.082-08:00</updated><title type='text'>Setting the Server Behavior Builder dialog box options</title><content type='html'>&lt;a name="wp149636"&gt;&lt;/a&gt;To complete the Server Behavior builder dialog  box: &lt;p&gt;&lt;img alt="This is a picture of the feature being described." src="http://www.blogger.com/images/ruletr10.jpg" border="0" hspace="0" /&gt;&lt;/p&gt; &lt;ol&gt;&lt;li&gt;Start a code block by clicking the Plus (+) button, entering a name for the  code block, and clicking OK.  &lt;p&gt;One convention is to name code blocks as follows:&lt;/p&gt;&lt;pre&gt;&lt;code&gt;&lt;i&gt;NameOfBehavior&lt;/i&gt;&lt;/code&gt;_&lt;code&gt;&lt;i&gt;NameOfBlock&lt;/i&gt;&lt;/code&gt; &lt;/pre&gt; &lt;p&gt;Here is an example:&lt;/p&gt;&lt;pre&gt;MoveToRecord_Init&lt;br /&gt;&lt;/pre&gt; &lt;/li&gt;&lt;li&gt;In the Code Block text area, enter the runtime code to be inserted in the  page.  &lt;p&gt;The runtime code must be a single tag block or script block. If you need to  insert multiple tags or script blocks, split them into separate code blocks. You  can also copy and paste code from other pages.&lt;/p&gt; &lt;p&gt;For more information, see the following sections:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;Using parameters in server behaviors  &lt;/li&gt;&lt;li&gt;Positioning code blocks  &lt;/li&gt;&lt;li&gt;Repeating code blocks  &lt;/li&gt;&lt;li&gt;Coding guidelines &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;Specify where to insert the code block in the page’s HTML source code by  using the Insert Code pop-up menu.  &lt;p&gt;Code blocks are inserted relative to tags in the page or relative to a tag  selected by the page designer. For more information, see Positioning code blocks.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;To specify more advanced settings, click Advanced.  &lt;p&gt;Once you specify the source code and insert location for each code block, the  server behavior is completely defined. In most cases, you don’t need to specify  any additional information.&lt;/p&gt; &lt;p&gt;If you are an advanced user, you may want to modify additional parameters by  clicking the Advanced button in the Server Behavior Builder. The builder expands  to display several new options. &lt;/p&gt; &lt;p&gt;&lt;img alt="This is a picture of the feature being described." src="http://www.blogger.com/images/srv_behc.jpg" border="0" hspace="0" /&gt;&lt;/p&gt; &lt;p&gt;&lt;b&gt;Identifier&lt;/b&gt; specifies whether or not the code block should be treated  as an identifier.&lt;/p&gt; &lt;p&gt;By default, every code block is an identifier. If Dreamweaver finds an  identifier code block anywhere in a document, it lists the behavior in the  Server Behaviors panel. Use the Identifier checkbox to specify whether the code  block should be treated as an identifier.&lt;/p&gt; &lt;p&gt;At least one of the server behavior’s code blocks must be an identifier. A  code block should not be an identifier if one of the following conditions  applies: the same code block is used by some other server behavior; or the code  block is so simple that it might occur naturally on the page.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Server Behavior Title&lt;/b&gt; specifies the title of the behavior in the  Server Behaviors panel.&lt;/p&gt; &lt;p&gt;When the page designer clicks the Plus (+) button on the Server Behaviors  panel, the new server behavior’s title will appear in the pop-up menu. When a  designer applies an instance of a server behavior to a document, the behavior  appears in the list of applied behaviors in the Server Behaviors panel. Use the  Server Behavior Title text box to specify the contents of the Plus (+) pop-up  menu and the list of applied behaviors. &lt;/p&gt; &lt;p&gt;The initial value in the box is the name you supplied in the New Server  Behavior dialog box. As parameters are defined, the name is automatically  updated so that the parameters appear inside parentheses after the server  behavior name. &lt;/p&gt;&lt;pre&gt;Set Session Variable (@@Name@@, @@Value@@)&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;If the user accepts the default value, everything before the parentheses will  appear in the Plus (+) pop-up menu (for example, Set Session Variable). The name  plus the parameters will appear in the list of applied behaviors--for example,  Set Session Variable ("abcd", "5").&lt;/p&gt; &lt;p&gt;&lt;b&gt;Code Block to Select&lt;/b&gt; specifies what code block is selected when the  user selects the behavior in the Server Behaviors panel.&lt;/p&gt; &lt;p&gt;When you apply a server behavior, one of the code blocks within the behavior  is designated the "code block to select." If you apply the server behavior and  then select the behavior in the Server Behaviors panel, in the Document window  Dreamweaver automatically selects the designated block. By default, Dreamweaver  selects the first code block that is not above the &lt;code&gt;html&lt;/code&gt; tag. If all  the code blocks are above the &lt;code&gt;html&lt;/code&gt; tag, then Dreamweaver selects  the first one. Advanced users can specify which code block is the selected  one.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Repeat steps 1 to 4 for each code block in your server behavior.  &lt;/li&gt;&lt;li&gt;If you have two or more code blocks with the same insert location, you  can change their positions relative to each other by clicking the up and  down arrows.  &lt;/li&gt;&lt;li&gt;Do one of the following:  &lt;ul&gt;&lt;li&gt;If you did not define any designer-supplied parameters in your code, click  OK.  &lt;p&gt;Dreamweaver creates the server behavior with no dialog box. The new server  behavior appears in the Plus (+) menu of the Server Behaviors panel.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;If you defined designer-supplied parameters in your code, Dreamweaver  prompts you to configure a dialog box for the server behavior before creating  it.  &lt;p&gt;For more information, see Creating a dialog  box for a custom server behavior.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-8976681659067613003?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/8976681659067613003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-server-behavior-builder-dialog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8976681659067613003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8976681659067613003'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-server-behavior-builder-dialog.html' title='Setting the Server Behavior Builder dialog box options'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-4620443004042986058</id><published>2009-01-21T10:16:00.000-08:00</published><updated>2009-01-21T10:17:12.251-08:00</updated><title type='text'>Setting the New Server Behavior dialog box options</title><content type='html'>This dialog box lets you choose the document type you are developing the  server behavior for, and name the new server behavior. &lt;h4&gt;&lt;a name="wp149606"&gt;&lt;/a&gt;To complete the New Server Behavior dialog box:&lt;/h4&gt; &lt;ol&gt;&lt;li&gt;Select a document type from the pop-up menu. &lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;img alt="This is a picture of the feature being described." src="images/ruletra9.jpg" border="0" hspace="0" /&gt;&lt;/p&gt; &lt;ol&gt;&lt;li&gt;Enter a name for the server behavior.  &lt;/li&gt;&lt;li&gt;If you want your new server behavior to be based on a server behavior that  ships with Dreamweaver, select the Copy Existing Server Behavior option and  select the Dreamweaver server behavior in the Behavior To Copy pop-up menu.  &lt;/li&gt;&lt;li&gt;Click OK.  &lt;p&gt;The New Server Behavior Builder appears.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-4620443004042986058?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/4620443004042986058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-new-server-behavior-dialog-box.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4620443004042986058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4620443004042986058'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/setting-new-server-behavior-dialog-box.html' title='Setting the New Server Behavior dialog box options'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-6785153272168521046</id><published>2009-01-21T10:15:00.000-08:00</published><updated>2009-01-21T10:16:33.063-08:00</updated><title type='text'>Editing and modifying server behaviors</title><content type='html'>You can edit any server behavior created with the Server Behavior Builder,  including server behaviors you download from the Macromedia Exchange website,  and other third-party developers. &lt;p&gt;If you apply a server behavior to a page and then edit the behavior in  Dreamweaver, instances of the old behavior will no longer appear in the Server  Behaviors panel. The Server Behaviors panel searches the page for code that  matches the code of known server behaviors. If the code of a server behavior  known to the panel changes, the panel will no longer recognize earlier versions  of the behavior on that page. &lt;/p&gt; &lt;h4&gt;&lt;a name="wp76014"&gt;&lt;/a&gt;If you want both the old and new versions of the  behavior to appear in the panel:&lt;/h4&gt; &lt;ul&gt;&lt;li&gt;Click the Plus (+) button on the Server Behaviors panel (Window &gt; Server  Behaviors), select New Server Behavior, and create a copy of the old server  behavior. &lt;/li&gt;&lt;/ul&gt; &lt;h4&gt;&lt;a name="wp76018"&gt;&lt;/a&gt;To edit the code of a server behavior created with the  Server Behavior Builder:&lt;/h4&gt; &lt;ol&gt;&lt;li&gt;In the Server Behaviors panel (Window &gt; Server Behaviors), click the Plus  (+) button and select Edit Server Behaviors from the pop-up menu.  &lt;p&gt;The Edit Server Behaviors dialog box appears, displaying all the behaviors  for the current server technology.&lt;/p&gt; &lt;p&gt;&lt;img alt="This is a picture of the feature being described." src="images/srv_behd.jpg" border="0" hspace="0" /&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Select the server behavior and click Edit.  &lt;p&gt;The Server Behavior Builder dialog box appears. &lt;/p&gt; &lt;p&gt;&lt;img alt="This is a picture of the feature being described." src="images/srv_behb.jpg" border="0" hspace="0" /&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Select the appropriate code block and modify the code to be inserted in  pages.  &lt;/li&gt;&lt;li&gt;(Optional) You can change or add parameter markers to the code.  &lt;p&gt;For instructions, see Creating a dialog box  for a custom server behavior.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;(Optional) If you want, change where the code block is inserted in the  page’s HTML code by choosing another option in the Insert Code pop-up menu.  &lt;p&gt;For instructions, see Positioning code  blocks.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;If the modified code does not contain any designer-supplied parameters,  click OK.  &lt;p&gt;Dreamweaver regenerates the server behavior without a dialog box. The new  server behavior appears in the Plus (+) pop-up menu of the Server Behaviors  panel.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;If the modified code does contain designer-supplied parameters, click Next.  &lt;p&gt;Dreamweaver asks you whether you want to create a new dialog box, overwriting  the old one. Make your changes and click OK.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Dreamweaver saves all changes in the server behavior’s EDML file. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-6785153272168521046?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/6785153272168521046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/editing-and-modifying-server-behaviors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6785153272168521046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6785153272168521046'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/editing-and-modifying-server-behaviors.html' title='Editing and modifying server behaviors'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-6241931334041645500</id><published>2009-01-21T10:14:00.000-08:00</published><updated>2009-01-21T10:15:43.307-08:00</updated><title type='text'>Creating a dialog box for a custom server behavior</title><content type='html'>Server behaviors often require that the page designer supply a parameter  value. This value must be inserted before the server behavior’s code is inserted  into the page. To do this, you can create a dialog box that prompts the person  implementing the server behavior for a parameter value. &lt;p&gt;You create the dialog box by defining the designer-supplied parameters in the  code. After defining all the parameters, you can generate a dialog box for the  server behavior.&lt;/p&gt; &lt;table class="nav" border="0" cellpadding="2" cellspacing="2" width="100%"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;br /&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;A parameter is added to your code block without your intervention if you  specify that your code should be inserted relative to a specific tag chosen by  the page designer (that is, you chose Relative to a Specific Tag in the Insert  Code pop-up menu). The parameter adds a tag menu to the behavior’s dialog box to  let the page designer select a tag. &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;h4&gt;&lt;a name="wp72207"&gt;&lt;/a&gt;To create a parameter in the server behavior’s  code:&lt;/h4&gt; &lt;ul&gt;&lt;li&gt;Enter a parameter marker at the point in the code where you want to insert  the supplied parameter value. The syntax for the parameter is as follows: &lt;pre&gt;@@&lt;code&gt;&lt;i&gt;parameterName&lt;/i&gt;&lt;/code&gt;@@&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;For example, if the server behavior contains the following code block:&lt;/p&gt;&lt;pre&gt;&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;To let the page designer supply the value of  &lt;code&gt;&lt;i&gt;Form_Object_Name&lt;/i&gt;&lt;/code&gt;, enclose the string in parameter markers  (@@):&lt;/p&gt;&lt;pre&gt;&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;You can also highlight the string and click the Insert Parameter In Code  Block button. Enter a parameter name and click OK. Dream weaver replaces every  instance of the highlighted string with the specified parameter name enclosed in  parameter markers.&lt;/p&gt; &lt;p&gt;Dreamweaver uses the strings you enclose in parameter markers to label the  controls in the dialog box it generates (see the following procedure). In the  previous example, Dreamweaver creates a dialog box with the following label:&lt;/p&gt; &lt;p&gt;&lt;img alt="This is a picture of the feature being described." src="http://www.blogger.com/images/param_da.jpg" border="0" hspace="0" /&gt;&lt;/p&gt; &lt;table class="nav" border="0" cellpadding="2" cellspacing="2" width="100%"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;br /&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Parameter names in the server behavior code cannot have any spaces.  Therefore, the dialog box labels cannot have any spaces. If you want to include  spaces in the label, you can edit the generated HTML  file.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;h4&gt;&lt;a name="wp72220"&gt;&lt;/a&gt;To create a dialog box for a server behavior:&lt;/h4&gt; &lt;ol&gt;&lt;li&gt;In the Server Behavior Builder, click Next.  &lt;p&gt;A dialog box appears listing all of the designer-supplied parameters you  defined in your code. &lt;/p&gt; &lt;p&gt;&lt;img alt="This is a picture of the feature being described." src="http://www.blogger.com/images/srv_behb.jpg" border="0" hspace="0" /&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;(Optional) You can change the display order of the dialog box controls by  selecting a parameter and clicking the up and down arrows.  &lt;/li&gt;&lt;li&gt;(Optional) If you want, change a parameter’s control by selecting the  parameter and choosing another control in the Display As column.  &lt;/li&gt;&lt;li&gt;Click OK.  &lt;p&gt;Dreamweaver generates a dialog box with a labeled control for each  designer-supplied parameter you defined.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt; &lt;h4&gt;&lt;a name="wp90368"&gt;&lt;/a&gt;To view the dialog box:&lt;/h4&gt; &lt;ul&gt;&lt;li&gt;Click the Plus (+) button in the Server Behaviors panel (Window &gt; Server  Behaviors), and select your server behavior from the pop-up menu. &lt;/li&gt;&lt;/ul&gt; &lt;h4&gt;&lt;a name="wp72230"&gt;&lt;/a&gt;To edit the dialog box of a server behavior you  created:&lt;/h4&gt; &lt;ol&gt;&lt;li&gt;In the Server Behaviors panel (Window &gt; Server Behaviors), click the Plus  (+) button and select Edit Server Behaviors from the pop-up menu.  &lt;/li&gt;&lt;li&gt;Select your server behavior from the list, and click Open.  &lt;p&gt;The Server Behavior Builder appears with your server behavior.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Click Next.  &lt;p&gt;A dialog box appears listing all the designer-supplied parameters you defined  in your code.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;(Optional) You can change the display order of the dialog box controls by  selecting a parameter and clicking the up and down arrows.  &lt;/li&gt;&lt;li&gt;(Optional) If you want, change a parameter’s control by selecting the  parameter and choosing another control in the Display As column.  &lt;/li&gt;&lt;li&gt;Click OK. &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-6241931334041645500?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/6241931334041645500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-dialog-box-for-custom-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6241931334041645500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6241931334041645500'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-dialog-box-for-custom-server.html' title='Creating a dialog box for a custom server behavior'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-6942156882921101479</id><published>2009-01-21T10:12:00.000-08:00</published><updated>2009-01-21T10:13:44.810-08:00</updated><title type='text'>Positioning code blocks</title><content type='html'>When you create code blocks using the Server Behavior Builder (see Using the Server Behavior Builder for more  information), you must specify where to insert them in the page’s HTML code. The  Insert Code and Relative Position pop-up menus let you choose where to insert  the code block in the document, and then specify a position relative to another  tag in the page. &lt;p&gt;To learn more about the code block positioning options and how they affect  your custom server behavior, see Code block  positioning within web pages.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp72174"&gt;&lt;/a&gt;To position a code block (general instructions):&lt;/h4&gt; &lt;ol&gt;&lt;li&gt;Using the Server Behavior Builder, write a code block according to the  section Using the Server Behavior Builder.  &lt;/li&gt;&lt;li&gt;In the Server Behavior Builder dialog box, select a position in which to  insert the code block from the Insert Code pop-up menu.  &lt;/li&gt;&lt;li&gt;In the Server Behavior Builder dialog box, select a position relative to  that which you selected in the Insert Code pop-up menu.  &lt;/li&gt;&lt;li&gt;If you have completed the authoring of the code block, click OK.  &lt;p&gt;The server behavior is listed in the Server Behaviors panel (Window &gt;  Server Behavior), and can be viewed by clicking the click the Plus (+) button.  &lt;/p&gt; &lt;/li&gt;&lt;li&gt;Test the server behavior and ensure that it functions properly.  &lt;p&gt;See Testing server behaviors for more  information.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt; &lt;h4&gt;&lt;a name="wp72188"&gt;&lt;/a&gt;To position a code block relative to another tag on the  page:&lt;/h4&gt; &lt;ol&gt;&lt;li&gt;In the Insert Code pop-up menu, select Relative To a Specific Tag.  &lt;/li&gt;&lt;li&gt;In the Tag text box, enter the tag or select one from the pop-up menu.  &lt;p&gt;If you enter a tag, don’t include the angled brackets (&lt;code&gt;&lt;&lt;/code&gt;  &lt;code&gt;&gt;&lt;/code&gt;).&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Specify a location relative to the tag by choosing an option in the Relative  Position pop-up menu.  &lt;p&gt;You can insert your code block just before or just after the opening or  closing tags. You can also replace the tag with the code, insert the code as the  value of an attribute of the tag (a box appears to let you select the  attribute), or insert the code inside the opening tag.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt; &lt;h4&gt;&lt;a name="wp72194"&gt;&lt;/a&gt;To position a code block relative to a tag selected by  the page designer:&lt;/h4&gt; &lt;ol&gt;&lt;li&gt;In the Insert Code pop-up menu, select Relative To the Selection.  &lt;/li&gt;&lt;li&gt;Specify a location relative to the selection by choosing an option in the  Relative Position pop-up menu.  &lt;p&gt;You can insert your code block just before or just after the selection. You  can also replace the selection with your code block, or you can wrap the code  block around the selection. &lt;/p&gt; &lt;p&gt;If you want to wrap the code block around a selection, the selection must  consist of an opening and closing tag with nothing in between, as follows:&lt;/p&gt;&lt;pre&gt;&lt;cfif day="Monday"&gt;&lt;/cfif&gt;&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;The opening tag piece of the code block is inserted before the selection’s  opening tag and the closing tag piece of the code block is inserted after the  selection’s closing tag.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-6942156882921101479?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/6942156882921101479/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/positioning-code-blocks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6942156882921101479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6942156882921101479'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/positioning-code-blocks.html' title='Positioning code blocks'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-5176496702862597117</id><published>2009-01-21T10:11:00.000-08:00</published><updated>2009-01-21T10:12:32.205-08:00</updated><title type='text'>Using parameters in server behaviors</title><content type='html'>You can include parameters in a server behavior’s code (see Parameters in server behaviors for more  information), and let the page designer supply the necessary parameter values  before inserting the server behavior’s code into the page. To let the page  designer supply parameter values, enter parameter markers within the code as  shown:&lt;pre&gt;&lt;code&gt;&lt;i&gt;@@parameterName@@&lt;/i&gt;&lt;/code&gt; &lt;/pre&gt; &lt;p&gt;The ASP server behavior example below contains the parameter  &lt;code&gt;formParam&lt;/code&gt;, which requires the person inserting the behavior to  supply the name of a form object:&lt;/p&gt;&lt;pre&gt;&lt;% Session("lang_pref") = Request.Form("formParam"); %&gt;&lt;br /&gt;&lt;/pre&gt; &lt;h4&gt;&lt;a name="wp72046"&gt;&lt;/a&gt;To create a parameter that lets the user supply the  necessary value:&lt;/h4&gt; &lt;ol&gt;&lt;li&gt;Enclose the &lt;code&gt;formParam&lt;/code&gt; string in parameter markers: &lt;pre&gt;&lt;% Session("lang_pref") = Request.Form("@@formParam@@"); %&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/li&gt;&lt;li&gt;Create a dialog box that prompts the designer to supply the name of the form  object.  &lt;p&gt;For more information, see Creating a dialog  box for a custom server behavior.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-5176496702862597117?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/5176496702862597117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/using-parameters-in-server-behaviors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/5176496702862597117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/5176496702862597117'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/using-parameters-in-server-behaviors.html' title='Using parameters in server behaviors'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-1486880415161079230</id><published>2009-01-21T10:10:00.000-08:00</published><updated>2009-01-21T10:11:30.580-08:00</updated><title type='text'>Using the Server Behavior Builder</title><content type='html'>The Server Behavior Builder lets you add the code block or blocks that the  behavior inserts into a page. &lt;h4&gt;&lt;a name="wp71925"&gt;&lt;/a&gt;To write server behavior code blocks:&lt;/h4&gt; &lt;ol&gt;&lt;li&gt;In the Server Behaviors panel (Window &gt; Server Behaviors), click the Plus  (+) button and select New Server Behavior from the pop-up menu.  &lt;p&gt;The New Server Behavior dialog box appears.&lt;/p&gt; &lt;p&gt;&lt;img alt="This is a picture of the feature being described." src="images/srv_beha.jpg" border="0" hspace="0" /&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;From the Document Type pop-up menu, select the document type that you are  developing the server behavior for.  &lt;/li&gt;&lt;li&gt;In the Name text box, enter a name for the server behavior.  &lt;/li&gt;&lt;li&gt;If you want to copy an existing server behavior to add to the behavior you  are creating, select the Copy Existing Server Behavior checkbox.  &lt;p&gt;When this checkbox is selected, a list of available server behaviors is  displayed in the Behavior to Copy pop-up menu.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Click OK.  &lt;p&gt;The Server Behavior Builder dialog box is displayed. &lt;/p&gt; &lt;p&gt;&lt;img alt="This is a picture of the feature being described." src="images/srv_behb.jpg" border="0" hspace="0" /&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;To add a new code block, click the Plus (+) button.  &lt;p&gt;The Create a New Code Block dialog box is displayed.&lt;/p&gt; &lt;p&gt;&lt;img alt="This is a picture of the feature being described." src="images/srv_code.jpg" border="0" hspace="0" /&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Enter a name for the code block you want to create and click OK.  &lt;p&gt;The name you entered in the dialog box appears in the Server Behavior  Builder, with the appropriate scripting tags visible in the Code block text  box.&lt;/p&gt; &lt;p&gt;&lt;img alt="This is a picture of the feature being described." src="images/srv_behe.jpg" border="0" hspace="0" /&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;In the Code Block text box, enter the code necessary to implement the server  behavior.  &lt;p&gt;When entering code in the Code Block text box:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;You can insert only a single tag or code block for each named code block  (for example, &lt;code&gt;myBehavior_block1&lt;/code&gt;, &lt;code&gt;myBehavior_block2&lt;/code&gt;,  &lt;code&gt;myBehavior_blockn&lt;/code&gt;, etc.). If you need to enter multiple tags or  code blocks, you must create an individual code block for each using the Server  Behavior Builder.  &lt;/li&gt;&lt;li&gt;To include runtime parameters in a code block: &lt;/li&gt;&lt;/ul&gt; &lt;ol&gt;&lt;li&gt;Place the insertion point in the code block where you’d like to insert the  parameter.  &lt;/li&gt;&lt;li&gt;Click the Insert Parameters in Code Block button.  &lt;p&gt;The Insert Parameters in Code Block dialog box appears.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Enter a name for the parameter in the Parameter Name text box.  &lt;/li&gt;&lt;li&gt;Click OK.  &lt;p&gt;The parameter name is inserted in the code block.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt; &lt;ul&gt;&lt;li&gt;Repeat steps 6 through 8 for each new code block you want to create.  &lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;In the Parameter Name pop-up menu, enter a name for the parameters, and  click OK.  &lt;p&gt;The parameter is inserted into the code block at the location where you  placed the insertion point prior to defining the parameter.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Select an option from the Insert Code pop-up menu specifying the location in  which to embed the code blocks.  &lt;p&gt;For more information see Positioning code  blocks.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;You can specify additional information about the server you are creating by  using the Advanced options panel.  &lt;/li&gt;&lt;li&gt;Click the Advanced button to display more options.  &lt;p&gt;&lt;img alt="This is a picture of the feature being described." src="images/srv_behc.jpg" border="0" hspace="0" /&gt;&lt;/p&gt; &lt;/li&gt;&lt;li&gt;If you need to create more code blocks, repeat steps 7 through 13 as needed.   &lt;/li&gt;&lt;li&gt;If the server behavior requires that parameters be supplied to it, you will  need to create a dialog box that accepts parameters from the person applying the  behavior.  &lt;p&gt;To create a dialog box that accepts user input parameters, see Creating a dialog box for a custom server  behavior.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;After you have performed the above steps as required by the server behavior  you are creating, Click OK.  &lt;p&gt;Once you create a server behavior, it is listed in the Server Behaviors  panel. Test the server behavior and ensure that it functions properly.  &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-1486880415161079230?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/1486880415161079230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/using-server-behavior-builder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1486880415161079230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1486880415161079230'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/using-server-behavior-builder.html' title='Using the Server Behavior Builder'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-6069667654024031316</id><published>2009-01-21T10:05:00.000-08:00</published><updated>2009-01-21T10:10:36.998-08:00</updated><title type='text'>Installing third-party server behaviors</title><content type='html'>You can download and install server behaviors created by independent  developers from the Macromedia Exchange website. &lt;h4&gt;&lt;a name="wp71885"&gt;&lt;/a&gt;To access Macromedia Exchange:&lt;/h4&gt; &lt;ol&gt;&lt;li&gt;In Dreamweaver select Help &gt; Dreamweaver Exchange.  &lt;p&gt;Your browser opens the Macromedia Exchange for Dreamweaver web page.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Log on to the Exchange using your Macromedia ID, or, if you have not yet  created a Macromedia Exchange ID for yourself, follow the instructions to open a  Macromedia account.  &lt;table class="nav" border="0" cellpadding="2" cellspacing="2" width="100%"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;You can also access the Macromedia Exchange from the Server Behaviors panel  (Window &gt; Behaviors) by clicking the Plus (+) button and selecting Get More  Server Behaviors.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/li&gt;&lt;/ol&gt; &lt;h4&gt;&lt;a name="wp71890"&gt;&lt;/a&gt;To install a server behavior or other extension in  Dreamweaver:&lt;/h4&gt; &lt;ol&gt;&lt;li&gt;Start the Extension Manager by selecting Commands &gt; Manage Extensions.  &lt;/li&gt;&lt;li&gt;Select File &gt; Install Package in the Extension Manager.  &lt;p&gt;For more information, see &lt;i&gt;Using the Extension Manager&lt;/i&gt;.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-6069667654024031316?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/6069667654024031316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/installing-third-party-server-behaviors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6069667654024031316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/6069667654024031316'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/installing-third-party-server-behaviors.html' title='Installing third-party server behaviors'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-9143470227251545243</id><published>2009-01-21T10:02:00.000-08:00</published><updated>2009-01-21T10:05:30.920-08:00</updated><title type='text'>About custom server behaviors</title><content type='html'>Before creating your own server behaviors, you should check the Macromedia Exchange website to see if another party has already created a server behavior that supplies the functionality you’d like to add to your website. Often, a third-party developer has created and tested a server behavior that will address your needs. &lt;p&gt;The server behaviors and other extensions available through the Macro media Exchange website allow you to easily add new features to Dream weaver. Each server behavior includes a short description, user reviews, and a discussion group where you can post questions and get support for the server behaviors you download. &lt;/p&gt; &lt;p&gt;If you are going to create your own server behavior, you should be familiar with the web programming language used by your website. This chapter provides guidelines specific to creating server behaviors using Dream weaver. It does not instruct you in programming languages or server behavior testing.&lt;/p&gt; &lt;p&gt;This section covers the following conceptual topics:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/server-behaviors.html"&gt;Server behaviors&lt;/a&gt;   &lt;/li&gt;&lt;li&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/about-code-blocks.html"&gt;About code blocks&lt;/a&gt;   &lt;/li&gt;&lt;li&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/parameters-in-server-behaviors.html"&gt;Parameters in server behaviors&lt;/a&gt;   &lt;/li&gt;&lt;li&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/making-code-blocks-conditional.html"&gt;Making code blocks conditional&lt;/a&gt;   &lt;/li&gt;&lt;li&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/effectively-using-conditional.html"&gt;Effectively using conditional expressions&lt;/a&gt;   &lt;/li&gt;&lt;li&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/repeating-code-blocks.html"&gt;Repeating code blocks&lt;/a&gt;   &lt;/li&gt;&lt;li&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/coding-guidelines.html"&gt;Coding guidelines&lt;/a&gt;   &lt;/li&gt;&lt;li&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/testing-server-behaviors.html"&gt;Testing server behaviors&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-9143470227251545243?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/9143470227251545243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-custom-server-behaviors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/9143470227251545243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/9143470227251545243'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-custom-server-behaviors.html' title='About custom server behaviors'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-3744242933190976920</id><published>2009-01-21T10:01:00.002-08:00</published><updated>2009-01-21T10:02:12.127-08:00</updated><title type='text'>Testing server behaviors</title><content type='html'>The Macromedia Exchange recommends performing the following tests on each  server behavior you create: &lt;ul&gt;&lt;li&gt;Apply the behavior from the Server Behaviors panel. If it has a dialog box,  enter valid data in each field and click OK. Verify that no error occurs when  the behavior is applied. Verify that the runtime code for the server behavior  appears in the Code inspector.  &lt;/li&gt;&lt;li&gt;Apply the server behavior again and enter invalid data in each field of the  dialog box. Try leaving the field blank, using large or negative numbers, using  invalid characters (such as /, ?, :, *, and so on), and using letters in numeric  fields. You can write form validation routines to handle invalid data  (validation routines involve hand-coding, which is beyond the scope of this  book). &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;After successfully applying your server behavior to the page, verify the  following:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;Check the Server Behaviors panel to make sure the name of the server  behavior appears in the list of behaviors added to the page.  &lt;/li&gt;&lt;li&gt;If applicable, verify that server-side script icons show up on the page. The  generic server-side script icons are gold shields. To see the icons, enable  Invisible Elements (View &gt; Visual Aids &gt; Invisible Elements).  &lt;/li&gt;&lt;li&gt;In Code view, (View &gt; Code) verify that no invalid code is generated.  &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;In addition, if your server behavior inserts code in the document  establishing a connection to a database, create a test database to test the code  inserted in the document. Verify the connection by defining queries that produce  different sets of data, and different sizes of data sets.&lt;/p&gt; &lt;p&gt;Finally, upload the page to the server and open it in a browser. View the  page’s HTML source code and verify that no invalid HTML has been generated by  the server-side scripts. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-3744242933190976920?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/3744242933190976920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/testing-server-behaviors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3744242933190976920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3744242933190976920'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/testing-server-behaviors.html' title='Testing server behaviors'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-902353288175815637</id><published>2009-01-21T10:01:00.001-08:00</published><updated>2009-01-21T10:01:40.111-08:00</updated><title type='text'>Coding guidelines</title><content type='html'>In general, your server behavior’s code should be compact and robust. Web  application developers are very sensitive to the code added to their pages.  Follow generally accepted coding practices for the document type’s language  (ColdFusion, ASP.NET, JavaScript, VBScript, PHP, Visual Basic or Java). When  writing comments, consider the different technical audiences that might need to  understand the code, such as web and interaction designers, or other web  application developers. Include comments that accurately describe the purpose of  the code, and any special instructions for including it within a page. &lt;p&gt;The following is a list of coding guidelines to keep in mind when creating  server behaviors:&lt;/p&gt; &lt;p&gt;&lt;b&gt;Error checking&lt;/b&gt; is an important requirement. The server behavior’s code  should handle error cases gracefully. Try to foresee every possibility. For  example, what if a parameter request fails? What if no records are returned from  a query?&lt;/p&gt; &lt;p&gt;&lt;b&gt;Unique names&lt;/b&gt; help to ensure that your code is clearly identifiable and  avoids name collisions with existing code. For example, if the page contains a  function called &lt;code&gt;hideLayer()&lt;/code&gt; and a global variable called  &lt;code&gt;ERROR_STRING&lt;/code&gt;, and your server behavior inserts code that uses those  names too, the server behavior may conflict with the existing code.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Code prefixes&lt;/b&gt; allow you to identify your own runtime functions and  global variables in a page. One convention is to use your initials. Never use  the &lt;code&gt;MM_&lt;/code&gt; prefix, as it is reserved for Macromedia use only.  Macromedia precedes all functions and global variables with the prefix  &lt;code&gt;MM_&lt;/code&gt; to prevent them from conflicting with any code that you write.  &lt;/p&gt;&lt;pre&gt;var MM_ERROR_STRING = "...";&lt;br /&gt;function MM_hideLayer() {&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;&lt;b&gt;Avoid similar code blocks&lt;/b&gt; so that the code you write doesn’t resemble  too closely the code in other blocks. If a code block looks too much like  another code block on the page, the Server Behaviors panel might mistakenly  identify the first code block as an instance of the second code block (or  conversely). A simple solution is to add a comment to a code block to make it  more unique.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-902353288175815637?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/902353288175815637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/coding-guidelines.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/902353288175815637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/902353288175815637'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/coding-guidelines.html' title='Coding guidelines'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-3239077246074297186</id><published>2009-01-21T09:59:00.002-08:00</published><updated>2009-01-21T10:01:04.535-08:00</updated><title type='text'>Repeating code blocks</title><content type='html'>When creating server behaviors, you can use looping constructs to repeat a  code block a specified number of times. The loop syntax is:&lt;pre&gt;&lt;@ loop (@@&lt;code&gt;&lt;i&gt;param1&lt;/i&gt;&lt;/code&gt;@@,@@&lt;code&gt;&lt;i&gt;param2&lt;/i&gt;&lt;/code&gt;@@,@@&lt;code&gt;&lt;i&gt;param3&lt;/i&gt;&lt;/code&gt;@@,@@&lt;code&gt;&lt;i&gt;param_n&lt;/i&gt;&lt;/code&gt;@@) @&gt;&lt;br /&gt;  code block&lt;br /&gt;&lt;@ endloop @&gt;&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;The loop directive accepts a comma-separated list of parameter arrays as  arguments. In this case, parameter array arguments allow a user to supply  multiple values for a single parameter. The repeating text will be duplicated  &lt;i&gt;n&lt;/i&gt; times, where &lt;i&gt;n&lt;/i&gt; is the length of the parameter array arguments.  If more than one parameter array argument is specified, all the arrays must have  the same length. On the&lt;i&gt; i&lt;/i&gt;th evaluation of the loop, the &lt;i&gt;i&lt;/i&gt;th  elements of the parameter arrays replace the associated parameter instances in  the code block. For more information, see Using  the loop directive’s _length and _index variables.&lt;/p&gt; &lt;p&gt;When you later create a dialog box for the server behavior (see Creating a dialog box for a custom server  behavior), you can add a control to the dialog box that allows the page  designer to create parameter arrays. Dreamweaver includes a simple array control  that you can use to create dialog boxes. This control, called Text Field Comma  Separated List, is available through the Server Behavior Builder. To create user  interface elements of greater complexity, see the API documentation to create a  dialog box with a control to create arrays (a grid control, for example).&lt;/p&gt; &lt;p&gt;Loop directives cannot be nested, but conditional directives (see Positioning code blocks) can be nested within a  loop directive.&lt;/p&gt; &lt;p&gt;The following example shows how such repeating code blocks can be used to  create server behaviors (the example is a ColdFusion behavior used to access a  stored procedure):&lt;/p&gt;&lt;pre&gt;&lt;CFSTOREDPROC procedure="AddNewBook"&lt;br /&gt;  datasource=#MM_connection_DSN#&lt;br /&gt;  username=#MM_connection_USERNAME#&lt;br /&gt;  password=#MM_connection_PASSWORD#&gt;&lt;br /&gt;&lt;CFPROCPARAM type="IN" dbvarname="@CategoryId" value="#Form.CategoryID#"&lt;br /&gt;  cfsqltype="CF_SQL_INTEGER"&gt;&lt;br /&gt;&lt;CFPROCPARAM type="IN" dbvarname="@ISBN" value="#Form.ISBN#"&lt;br /&gt;  cfsqltype="CF_SQL_VARCHAR"&gt;&lt;br /&gt;&lt;/cfstoredproc&gt;&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;In this example, the &lt;code&gt;CFSTOREDPROC&lt;/code&gt; tag can include zero or more  &lt;code&gt;CFPROCPARAM&lt;/code&gt; tags. However, without support for the loop directive,  there is no way to include the &lt;code&gt;CFPROCPARAM&lt;/code&gt; tags within the inserted  &lt;code&gt;CFSTOREDPROC&lt;/code&gt; tag. If this were to be created as a server behavior  without the use of the loop directive, you would need to divide this example  into two participants: a main &lt;code&gt;CFSTOREDPROC&lt;/code&gt; tag, and a  &lt;code&gt;CFPROCPARAM&lt;/code&gt; tag whose participant type is multiple.&lt;/p&gt; &lt;p&gt;Using the loop directive, the same procedure can be written as follows:&lt;/p&gt;&lt;pre&gt;&lt;CFSTOREDPROC procedure="@@procedure@@"&lt;br /&gt;datasource=#MM_@@conn@@_DSN#&lt;br /&gt;username=#MM_@@conn@@_USERNAME#&lt;br /&gt;password=#MM_@@conn@@_PASSWORD#&gt;&lt;br /&gt;&lt;@ loop (@@paramName@@,@@value@@,@@type@@) @&gt;&lt;br /&gt;  &lt;CFPROCPARAM type="IN"&lt;br /&gt;  dbvarname="@@paramName@@"&lt;br /&gt;  value="@@value@@"&lt;br /&gt;  cfsqltype="@@type@@"&gt;&lt;br /&gt;&lt;@ endloop @&gt;&lt;br /&gt;&lt;/cfstoredproc&gt;&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;In the previous example, and in the case of conditional code blocks as well,  newlines after &lt;code&gt;@&gt;&lt;/code&gt; are ignored.&lt;/p&gt; &lt;p&gt;If the user entered the following parameter values in the Server Behavior  Builder dialog box:&lt;/p&gt;&lt;pre&gt;procedure = "proc1"&lt;br /&gt;conn = "connection1"&lt;br /&gt;paramName = ["@CategoryId", "@Year", "@ISBN"]&lt;br /&gt;value = ["#Form.CategoryId#", "#Form.Year#", "#Form.ISBN#"]&lt;br /&gt;type = ["CF_SQL_INTEGER", "CF_SQL_INTEGER", "CF_SQL_VARCHAR"]&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;The server behavior would insert the following runtime code in the page:&lt;/p&gt;&lt;pre&gt;&lt;CFSTOREDPROC procedure="proc1"&lt;br /&gt;datasource=#MM_connection1_DSN#&lt;br /&gt;username=#MM_connection1_USERNAME#&lt;br /&gt;password=#MM_connection1_PASSWORD#&gt;&lt;br /&gt;&lt;br /&gt;&lt;CFPROCPARAM type="IN" dbvarname="@CategoryId" value="#Form.CategoryId#"&lt;br /&gt;  cfsqltype="CF_SQL_INTEGER"&gt;&lt;br /&gt;&lt;CFPROCPARAM type="IN" dbvarname="@Year" value="#Form.Year#"&lt;br /&gt;  cfsqltype="CF_SQL_INTEGER"&gt;&lt;br /&gt;&lt;CFPROCPARAM type="IN" dbvarname="@ISBN" value="#Form.ISBN#"&lt;br /&gt;  cfsqltype="CF_SQL_VARCHAR"&gt;&lt;br /&gt;&lt;/cfstoredproc&gt;&lt;br /&gt;&lt;table class="nav" border="0" cellpadding="2" cellspacing="2" width="100%"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td width="5"&gt;&lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width="1"&gt;&lt;p&gt; &lt;/p&gt;&lt;/td&gt;&lt;td&gt;&lt;p&gt;Parameter arrays cannot be used outside of a loop except as part of a conditional directive expression.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-3239077246074297186?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/3239077246074297186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/repeating-code-blocks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3239077246074297186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3239077246074297186'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/repeating-code-blocks.html' title='Repeating code blocks'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-2289623166815031366</id><published>2009-01-21T09:59:00.001-08:00</published><updated>2009-01-21T09:59:40.403-08:00</updated><title type='text'>Using the loop directive’s _length and _index variables</title><content type='html'>The loop directive includes two built-in variables that you can use for  embedded &lt;code&gt;if&lt;/code&gt; conditions. The variables are: &lt;code&gt;_length&lt;/code&gt; and  &lt;code&gt;_index&lt;/code&gt;. The &lt;code&gt;_length&lt;/code&gt; variable evaluates to the length  of the arrays processed by the loop directive, while the &lt;code&gt;_index&lt;/code&gt;  variable evaluates to the current index of the 'loop' directive. To ensure that  the variables are only recognized as directives, and not as actual parameters to  be passed into the loop, do not enclose either variable in &lt;code&gt;@@&lt;/code&gt;’s.   &lt;p&gt;An example of using built-in variables is to apply them to the  &lt;code&gt;import&lt;/code&gt; attribute of the page directive. The &lt;code&gt;import&lt;/code&gt;  attribute requires comma separation of packages. If the &lt;code&gt;loop&lt;/code&gt;  directive extends around the entire &lt;code&gt;import&lt;/code&gt; attribute, you would  only output the attribute name &lt;code&gt;import=&lt;/code&gt; on the first iteration of  the loop--this includes the closing double quote (")--and not output a comma on  the last iteration of the loop. Using the built-in variable, you can express  this as follows:&lt;/p&gt;&lt;pre&gt;&lt;@loop (@@Import@@)@&gt;&lt;br /&gt;&lt;@ if(_index == 0)@&gt;import="&lt;br /&gt;&lt;@endif@&gt;@@Import@@&lt;@if (_index == _length-1)@&gt;"&lt;@else@&gt;,&lt;br /&gt;&lt;@ endif @&gt;&lt;br /&gt;&lt;@endloop@&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-2289623166815031366?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/2289623166815031366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/using-loop-directives-length-and-index.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2289623166815031366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2289623166815031366'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/using-loop-directives-length-and-index.html' title='Using the loop directive’s _length and _index variables'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-2831608381107564039</id><published>2009-01-21T09:58:00.001-08:00</published><updated>2009-01-21T09:58:58.928-08:00</updated><title type='text'>Effectively using conditional expressions</title><content type='html'>When using &lt;code&gt;if&lt;/code&gt;, &lt;code&gt;else&lt;/code&gt;, and &lt;code&gt;elseif&lt;/code&gt;  directives within the &lt;code&gt;insertText&lt;/code&gt; XML tag, the participant text is  preprocessed to resolve the &lt;code&gt;if&lt;/code&gt; directives and to determine which  text to include in the result. The &lt;code&gt;if&lt;/code&gt; and &lt;code&gt;elseif&lt;/code&gt;  directives take the expression as an argument. The condition expression is the  same as that for JavaScript condition expressions, and can also contain server  behavior parameters. Directives such as this allow you to choose between  alternative code blocks based on the values of, or relationships between, server  behavior parameters. &lt;p&gt;For example, the following JSP code comes from a Dreamweaver server behavior  that uses the conditional code block:&lt;/p&gt;&lt;pre&gt;@@rsName@@.close();&lt;br /&gt;&lt;code&gt;&lt;i&gt;&lt;conditional_code&gt;&lt;/i&gt;&lt;/code&gt;&lt;br /&gt;@@rsName@@_hasData = @@rsName@@.next();&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;If the server behavior uses a normal recordset, the  &lt;code&gt;&lt;conditional_code&gt;&lt;/code&gt; placeholder is replaced with:&lt;/p&gt;&lt;pre&gt;@@rsName@@ = Statement@@rsName@@.executeQuery();&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;If the server behavior uses a recordset from a callable object, it uses the  following code instead.&lt;/p&gt;&lt;pre&gt;@@callableName@@.execute();&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;@@rsName@@ = @@callableName@@.getResultSet();&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;If the server behavior is added for a callable object, the user would enter a  value for the @@callableName@@ parameter in the server behavior’s Parameter  dialog box. Otherwise, the @@callableName@@ parameter would be empty. Thus, you  can rewrite the previous insert text using @@callableName@@ as the  &lt;code&gt;if&lt;/code&gt; argument. In this example, if the @@callableName@@ parameter is  supplied with a value, and first conditional code block (containing the  &lt;code&gt;getResultSet()&lt;/code&gt;&lt;code&gt;&lt;i&gt; &lt;/i&gt;&lt;/code&gt;method) is selected:&lt;/p&gt;&lt;pre&gt;@@rsName@@.close();&lt;br /&gt;&lt;@ if (@@callableName@@ != '') @&gt;&lt;br /&gt;@@callableName@@.execute();&lt;br /&gt;@@rsName@@ = @@callableName@@.getResultSet();@ else @&gt;&lt;br /&gt;@@rsName@@ = Statement@@rsName@@.executeQuery();&lt;br /&gt;&lt;@ endif @&gt;&lt;br /&gt;@@rsName@@_hasData = @@rsName@@.next();&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-2831608381107564039?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/2831608381107564039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/effectively-using-conditional.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2831608381107564039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2831608381107564039'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/effectively-using-conditional.html' title='Effectively using conditional expressions'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-3420958244372581028</id><published>2009-01-21T09:57:00.000-08:00</published><updated>2009-01-21T09:58:10.641-08:00</updated><title type='text'>Making code blocks conditional</title><content type='html'>Dreamweaver lets you develop code blocks that incorporate control statements  that execute conditionally. The Server Behavior Builder uses &lt;code&gt;if&lt;/code&gt;,  &lt;code&gt;elseif&lt;/code&gt;, and &lt;code&gt;else&lt;/code&gt; statements, and may also contain  server behavior parameters. This enables you to insert alternate text blocks  based on the values of OR relationships among server behavior parameters. The  &lt;code&gt;if&lt;/code&gt;, &lt;code&gt;elseif&lt;/code&gt;, and &lt;code&gt;else&lt;/code&gt;&lt;p&gt; statements appear as  shown below. Note that square brackets ([ ]) denote optional code, and the  asterisk (*) denotes zero or more instances:&lt;/p&gt;&lt;pre&gt;&lt;@ if (&lt;code&gt;&lt;i&gt;expression1&lt;/i&gt;&lt;/code&gt;) @&gt;&lt;br /&gt;  &lt;code&gt;&lt;i&gt;conditional text1&lt;/i&gt;&lt;/code&gt;&lt;br /&gt;[&lt;@ elseif (&lt;code&gt;&lt;i&gt;expression2&lt;/i&gt;&lt;/code&gt;) @&gt;&lt;br /&gt;  &lt;code&gt;&lt;i&gt;conditional text2&lt;/i&gt;&lt;/code&gt;]*&lt;br /&gt;[&lt;@ else @&gt;&lt;br /&gt;  &lt;code&gt;&lt;i&gt;conditional text3&lt;/i&gt;&lt;/code&gt;]&lt;br /&gt;&lt;@ endif @&gt;&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;Condition expressions can be any JavaScript expression that can be evaluated  using the JavaScript &lt;code&gt;eval()&lt;/code&gt; function, and may include a server  behavior parameter marked by @@'s. (The @@'s are necessary to distinguish the  parameter from JavaScript variables and keywords.)&lt;/p&gt; &lt;p&gt;You can nest any number of conditionals or a loop directive (see Repeating code blocks) within a conditional  directive. For example, you can specify that if an expression is true to execute  a loop.&lt;/p&gt; &lt;table class="nav" border="0" cellpadding="2" cellspacing="2" width="100%"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="5"&gt; &lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/p&gt;&lt;/td&gt; &lt;td width="1"&gt; &lt;p&gt; &lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;New lines after each "@&gt;" are ignored.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;This section covers the following topics:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;Effectively using conditional expressions   &lt;/li&gt;&lt;li&gt;Repeating code blocks &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-3420958244372581028?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/3420958244372581028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/making-code-blocks-conditional.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3420958244372581028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/3420958244372581028'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/making-code-blocks-conditional.html' title='Making code blocks conditional'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-2209071115385107683</id><published>2009-01-21T09:56:00.000-08:00</published><updated>2009-01-21T09:57:23.313-08:00</updated><title type='text'>Parameters in server behaviors</title><content type='html'>You can include parameters in a server behavior’s code, and let the page  designer supply the necessary parameter values before inserting the server  behavior’s code into the page. To let the page designer supply parameter values,  enter parameter markers within the code as shown:&lt;pre&gt;&lt;code&gt;&lt;i&gt;@@parameterName@@&lt;/i&gt;&lt;/code&gt; &lt;/pre&gt; &lt;p&gt;The example ASP server behavior below contains the parameter  &lt;code&gt;formParam&lt;/code&gt;, which requires the person inserting the behavior to  supply the name of a form object:&lt;/p&gt;&lt;pre&gt;&lt;% Session("lang_pref") = Request.Form("formParam"); %&gt;&lt;br /&gt;&lt;/pre&gt; &lt;h4&gt;&lt;a name="wp75810"&gt;&lt;/a&gt;To create a parameter that lets the user supply the  necessary value:&lt;/h4&gt; &lt;ol&gt;&lt;li&gt;Enclose the &lt;code&gt;formParam&lt;/code&gt; string in parameter markers: &lt;pre&gt;&lt;% Session("lang_pref") = Request.Form("@@formParam@@"); %&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/li&gt;&lt;li&gt;Create a dialog box that prompts the designer to supply the name of the form  object. For more information, see Creating a  dialog box for a custom server behavior. &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-2209071115385107683?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/2209071115385107683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/parameters-in-server-behaviors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2209071115385107683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/2209071115385107683'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/parameters-in-server-behaviors.html' title='Parameters in server behaviors'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-1530125796618535366</id><published>2009-01-21T09:55:00.000-08:00</published><updated>2009-01-21T09:56:48.188-08:00</updated><title type='text'>About code blocks</title><content type='html'>The code blocks you create in the Server Behavior Builder are encapsulated in  a server behavior that appears in the Server Behaviors panel. The code can be  any valid runtime code for the specified server model. For example, if you  choose ColdFusion as the document type for your custom server behavior, then the  code you write must be valid ColdFusion code that runs on a ColdFusion  application server.  &lt;h4&gt;&lt;a name="wp89075"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;a name="wp84855"&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;Code blocks&lt;/span&gt; &lt;p&gt;You can create the code blocks either directly within the Server Behavior  Builder, or you can copy and paste the code from other sources. Each code block  you create in the Server Behavior Builder must be a single tag or script block.  If you need to insert multiple tag blocks, split them into separate code blocks.  &lt;/p&gt; &lt;p&gt;For more information, see Using the Server  Behavior Builder&lt;/p&gt; &lt;h3&gt;&lt;a name="wp75772"&gt;&lt;/a&gt;Runtime Parameters&lt;/h3&gt; &lt;p&gt;You can include parameters in your runtime code and let the page designer  supply the parameter values. To do so, enter parameter markers in the code, as  follows:&lt;/p&gt;&lt;pre&gt;@@&lt;code&gt;&lt;i&gt;parameterName&lt;/i&gt;&lt;/code&gt;@@&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;For more information, see Using parameters in  server behaviors.&lt;/p&gt; &lt;h3&gt;&lt;a name="wp75779"&gt;&lt;/a&gt;Conditions and repeating elements in code blocks&lt;/h3&gt; &lt;p&gt;If you want the code block, or a portion of a code block, to be executed only  if a certain condition or conditions apply, use the following syntax:&lt;/p&gt;&lt;pre&gt;&lt;@ if (&lt;code&gt;&lt;i&gt;expression1&lt;/i&gt;&lt;/code&gt;) @&gt;&lt;br /&gt; &lt;code&gt;&lt;i&gt;code block1&lt;/i&gt;&lt;/code&gt;&lt;br /&gt;[&lt;@ elseif (&lt;code&gt;&lt;i&gt;expression2&lt;/i&gt;&lt;/code&gt;) @&gt;&lt;br /&gt; &lt;code&gt;&lt;i&gt;code block2&lt;/i&gt;&lt;/code&gt;]*&lt;br /&gt;[&lt;@ else @&gt;&lt;br /&gt; &lt;code&gt;&lt;i&gt;code block3&lt;/i&gt;&lt;/code&gt;]&lt;br /&gt;&lt;@ endif @&gt;&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;The square brackets ([ ]) denote optional code and the asterisk (*) denotes  zero or more instances. The condition expression is any valid JavaScript  condition expression, and may contain server behavior parameters.&lt;/p&gt; &lt;p&gt;If you want the code block, or a portion of a code block, to be repeated a  number of times, use the following syntax:&lt;/p&gt;&lt;pre&gt;&lt;@ loop (@@&lt;code&gt;&lt;i&gt;param1&lt;/i&gt;&lt;/code&gt;@@,@@&lt;code&gt;&lt;i&gt;param2&lt;/i&gt;&lt;/code&gt;@@) @&gt;&lt;br /&gt; &lt;code&gt;&lt;i&gt;code block&lt;/i&gt;&lt;/code&gt;&lt;br /&gt;&lt;@ endloop @&gt;&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;The loop directive takes a comma-separated list of parameter arrays as  arguments. The repeating text will be duplicated &lt;i&gt;n&lt;/i&gt; times, where &lt;i&gt;n&lt;/i&gt;  is the length of the parameter array arguments. If more than one parameter array  argument is specified, all the arrays must have the same length. On the  &lt;i&gt;i&lt;/i&gt;th evaluation of the loop, the &lt;i&gt;i&lt;/i&gt;th elements of the parameter  arrays replace the associated parameter instances in the code block. &lt;/p&gt; &lt;p&gt;For general information on coding, see Coding  guidelines.&lt;/p&gt; &lt;h4&gt;&lt;a name="wp90561"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;a name="wp90175"&gt;&lt;/a&gt;Code block positioning within web pages &lt;p&gt;When you create code blocks using the Server Behavior Builder (see Using the Server Behavior Builder for more  information), you must specify where to insert them in the page’s HTML code. You  do this using the Server Behavior Builder dialog box’s Insert Code and Relative  Position pop-up menus, which let you select where to insert the code block  within the document, and then specify a position relative to another tag in the  page.&lt;/p&gt; &lt;p&gt;For example, if you insert a code block above the opening  &lt;code&gt;&lt;/code&gt; tag, you must then specify the code blocks position  relative to other tags, scripts, and server behaviors in that section of the  page’s HTML code. Typical examples include positioning a behavior either before  or after any recordset queries that might also exist in the page code above the  opening &lt;code&gt;&lt;/code&gt; tag.&lt;/p&gt; &lt;p&gt;When you select a positioning option from the Insert Code pop-up menu, the  options available in the Relative Position pop-up menu change to provide  relevant options for that part of the page. For example, if you select Above the  &lt;code&gt;&lt;/code&gt; Tag in the Insert Code pop-up menu, then the  positioning options available in the Relative Position pop-up menu reflect  choices relevant for that part of the page. &lt;/p&gt; &lt;p&gt;The code block insert options, and the relative positioning options available  for each, are shown in the table below.&lt;/p&gt; &lt;table border="0" cellpadding="4" cellspacing="1" width="100%"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;th&gt; &lt;p&gt;Insert Code options&lt;/p&gt;&lt;/th&gt; &lt;th&gt; &lt;p&gt;Relative position options&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;Above the  Tag&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;ul&gt;&lt;li&gt;At the beginning of the file  &lt;/li&gt;&lt;li&gt;Just before the recordsets  &lt;/li&gt;&lt;li&gt;Just after the recordsets  &lt;/li&gt;&lt;li&gt;Just above the &lt;code&gt;&lt;/code&gt; tag  &lt;/li&gt;&lt;li&gt;Custom position &lt;/li&gt;&lt;/ul&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;Below the Tag&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;ul&gt;&lt;li&gt;Before the end of the file  &lt;/li&gt;&lt;li&gt;Before the recordset close  &lt;/li&gt;&lt;li&gt;After the recordset close  &lt;/li&gt;&lt;li&gt;After the&lt;code&gt; &lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt; &lt;/code&gt;tag  &lt;/li&gt;&lt;li&gt;Custom position &lt;/li&gt;&lt;/ul&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;Relative to a Specific Tag&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Select a tag from the Tag pop-up menu, and then choose from the tag  positioning options.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td&gt; &lt;p&gt;Relative to the Selection&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;Before the selection&lt;/p&gt; &lt;p&gt;After the selection&lt;/p&gt; &lt;p&gt;Replace the selection&lt;/p&gt; &lt;p&gt;Wrap the selection&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;If you want to specify a custom position, you must assign a &lt;i&gt;weight&lt;/i&gt; to  the code block. Use the Custom Position option when you need to insert more than  one code block in a particular order. For example, if you want to insert an  ordered series of three code blocks after the code blocks that open record sets,  you would enter a weight of 60 for the first block, 65 for the second, and 70  for the third.&lt;/p&gt; &lt;p&gt;By default, Dreamweaver assigns a weight of 50 to all recordset-opening code  blocks inserted above the &lt;code&gt;&lt;/code&gt; tag. If the weight of two or  more blocks match, Dreamweaver randomly sets the order among the blocks.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-1530125796618535366?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/1530125796618535366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-code-blocks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1530125796618535366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/1530125796618535366'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/about-code-blocks.html' title='About code blocks'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-4279922315220750075</id><published>2009-01-21T09:53:00.000-08:00</published><updated>2009-01-21T09:55:10.360-08:00</updated><title type='text'>Server behaviors</title><content type='html'>If you are a developer proficient in Macromedia ColdFusion, ASP.NET,  JavaScript, VBScript, PHP, or Java, you can write your own server behaviors. The  steps to create a server behavior include the following tasks: &lt;ul&gt;&lt;li&gt;Writing one or more code blocks that perform the required action.  &lt;p&gt;For information on creating server behaviors with the Dreamweaver Server  Behavior Builder see Using the Server Behavior  Builder. For information on the syntax supported by Dreamweaver server  behaviors, see Using parameters in server  behaviors.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Specifying where the code block should be inserted within the page’s HTML  code.  &lt;p&gt;For information on positioning code blocks within a page see Positioning code blocks.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;If the server behavior requires that a value be specified for a parameter,  creating a dialog box that prompts the web developer applying the behavior to  supply an appropriate value.  &lt;p&gt;For information on supplying parameter values to a server behavior using a  dialog box see Creating a dialog box for a custom  server behavior.&lt;/p&gt; &lt;/li&gt;&lt;li&gt;Testing the server behavior before making it available to others.  &lt;p&gt;For guidelines on testing server behaviors see Testing server behaviors.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-4279922315220750075?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/4279922315220750075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/server-behaviors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4279922315220750075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/4279922315220750075'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/server-behaviors.html' title='Server behaviors'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1109300632531253534.post-8077994153537072141</id><published>2009-01-21T09:50:00.002-08:00</published><updated>2009-01-21T09:53:00.961-08:00</updated><title type='text'>Creating Forms</title><content type='html'>You can use Macromedia Dreamweaver 8 to create forms with text fields, password fields, radio buttons, checkboxes, pop-up menus, clickable buttons, and other form objects. Dreamweaver can also write code that validates the information a visitor provides. For example, you can check that an e-mail address a user enters contains an "@" symbol, or that a required text field contains a value. &lt;p&gt;This chapter contains the following sections:&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/about-forms.html"&gt;About forms&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/creating-html-forms.html"&gt;Creating HTML forms&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/inserting-html-form-objects.html"&gt;Inserting HTML form objects&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/inserting-dynamic-html-form-objects.html"&gt;Inserting dynamic HTML form   objects&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/validating-html-form-data.html"&gt;Validating HTML form data&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/attaching-javascript-behaviors-to-html.html"&gt;Attaching JavaScript behaviors to HTML form   objects&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/attaching-custom-scripts-to-html-form.html"&gt;Attaching custom scripts to HTML form   buttons&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/creating-accessible-html-forms.html"&gt;Creating accessible HTML forms&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;a href="http://dreamweaver-help-guide.blogspot.com/2009/01/reference.html"&gt;Reference&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1109300632531253534-8077994153537072141?l=dreamweaver-help-guide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dreamweaver-help-guide.blogspot.com/feeds/8077994153537072141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-forms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8077994153537072141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1109300632531253534/posts/default/8077994153537072141'/><link rel='alternate' type='text/html' href='http://dreamweaver-help-guide.blogspot.com/2009/01/creating-forms.html' title='Creating Forms'/><author><name>Visuals India</name><uri>http://www.blogger.com/profile/16899761912357885086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
