## ## Document History ## ## Created (peeje01) ## 27-Apr-1999 (peeje01) ## Change include file name from -h.html to _h.html ## 02-Apr-2004 (fanra01) ## Bug 112091 ## Editorial changes from griel02. ## 13-Feb-2006 (fanra01) ## Bug 115751 ## Minor editorial change.
This page demonstrates the Web Deployment Option INCLUDE feature, which allows the page author to incorporate generic Web Deployment Option code on many pages. An example of its use would be to ensure that each page had a uniform style across the site. In our case, we use the INCLUDE file for another reason, that of including Web Deployment Option code to ensure any open transactions are closed. There is little else that is new other than a list of links to the various pages that demonstrate various HTML or Web Deployment Options features.
<html>
<head>
<title>Shakespeare's Plays Home Page</title>
</head>
<body>
<center>
<h1>Shakespeare's Plays Home Page</h1>
</center>
This is the home page for Shakespeare's plays hosted on the server <font+3>globe</font>
<h2>
View Shakespeare's Plays
</h2>
<!-- #ICE REPEAT INCLUDE=`plays[play_TxnCndCmt_h.html]` -->
<ol>
<li> <a href="/ice-bin/oiice.dll/playgroup/plays[play_all.html]">All</a>
<li> <a href="/ice-bin/oiice.dll/playgroup/plays[play_allWrap.html]">All (wrap to beginning)</a>
<li> <a href="/ice-bin/oiice.dll/playgroup/plays[play_typeList.html]">By type (selector)</a>
<li> <a href="/ice-bin/oiice.dll/playgroup/plays[play_typeLink.html]">By type (hyper-link)</a>
<li> <a href="/ice-bin/oiice.dll/playgroup/plays[play_typeGLink.html]">By type (Graphical hyper-link)</a>
<li> <a href="/ice-bin/oiice.dll/playgroup/plays[play_typeGSLink.html]">Switch by type (Graphical hyper-link)</a>
</ol>
<a href="/ice-bin/oiice.dll/playgroup/plays[play_shopHome.html]">Globe Shop</a>
<p>
<a href="/ice-bin/oiice.dll/playgroup/plays[play_Tutorial.html]">Tutorial</a>
<p>
Please
<A HREF="/ice-bin/oiice.dll/plays[play_login.html]?ii_action=disconnect">logout</A>,
don't time out!
</body>
</html>
The line that includes the extra code is:
<!-- #ICE REPEAT INCLUDE=`plays[play_TxnCndCmt_h.html]` -->
The syntax for specifing an include file is the same as for when one is linked to. Here the location is plays and the file name is play_TxnCndCmt_h.html. We need to specify the REPEAT keyword because there are Web Deployment Option macro statements to be evaluated in this file.
The next page is the new account page.