Body tags qns

hi, I have problems in body tags
<body ????="abc()"></body>
Can i know what body events to use so that before the form is loaded it can call the abc() method which is a javascript

<html>
<head>
<title>Height vs Age</title>
<style type="text/css">
<!--
body {
     background-color: #FFFFCC;
-->
</style>
<script language="javascript">
function generateGraph(ageEntered,heightEntered)
     alert('2');
     var age = ageEntered;
     var height = heightEntered;
     document.myApplet.inputAge=age;
     document.myApplet.inputHeight=height;
</script>
<script language="javascript">
function retrieve()
     alert('1');
     var ageEntered=opener.inputForm.ageTf.value;
     var heightEntered=opener.inputForm.heightTf.value;
     generateGraph(ageEntered,heightEntered);
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
<body onLoad="retrieve()">
<applet code="Height.class"
name="myApplet" width="500" height=500
mayscript
archive="jfreechart-0.9.21.jar,jcommon-0.9.7.jar,jcommon-0.9.7-junit.jar">
</applet>
</body>
</html>
The problem here is that i want to call the javascript and make changes in the applet before showing it

Similar Messages

  • Getting Body Tag Error When Updating Template In Dreamweaver

    I get an error message when I have tried to update the template, it says "unbalanced body tag" on line 138. Code is as follows:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <!-- #BeginEditable "doctitle" -->
    <title>Universal Valve Co.</title>
    <!-- #EndEditable -->
    <link rel="stylesheet" type="text/css" href="../style.css" />
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    </head>
    <!--#include file="../vsadmin/db_conn_open.asp"-->
    <!--#include file="../vsadmin/inc/languagefile.asp"-->
    <!--#include file="../vsadmin/includes.asp"-->
    <!--#include file="../vsadmin/inc/incfunctions.asp"-->
    <table width="900" border="0" align="center" cellpadding="0" cellspacing="4">
      <tr>
        <td rowspan="2"><img src="../images/UniversalLogo2011.jpg" width="294" height="123"></td>
        <td align="right"><a href="../search.asp">SEARCH</a> | <a href="../info.asp">INFORMATION</a>
          | <a href="../clientlogin.asp">DISTRIBUTOR LOGIN </a>| <a href="../orderstatus.asp">ORDER
          STATUS</a> | <a href="../contact.asp">CONTACT US</a></td>
      </tr>
      <tr>
        <td align="right"><form method="post" action="../search.asp">
        <input type="hidden" name="posted" value="1"/>
        <input type="text" name="stext" size="16" class="search" />
        <input name="Submit" type="submit" value="Search" class="sub" />
        </form></td>
      </tr>
      <tr>
        <td colspan="2" class="searchtd"><div id="topnav">
    <ul id="navlist">
    <li><a href="../default.asp">Home</a></li>
              <li><a href="../about.asp">About Us</a></li>
              <li><a href="../news.asp">News</a></li>
              <li><a href="../products.asp">Products</a></li>
              <li><a href="../info.asp">Information</a></li>
              <li><a href="../contact.asp">Contact Us</a></li>
              <li><a href="../products.asp">All Products</a></li><li><a href="../categories.asp">All Categories</a></li>
              <li><a href="../cart.asp">View PO</a></li>
            </ul></div></td>
      </tr>
    </table>
    <table width="900" border="0" align="center" cellpadding="0" cellspacing="4">
      <tr>
        <td colspan="5" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
      </tr>
      <tr>
        <td class="gray" width="1"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
         <td width="140" valign="top" class="leftSide">
    <ul>
            <li><a href="Accessories" _mce_href="http://www.universalvalve.com/categories.asp?cat=10">Accessories">http://www.u niversalvalve.com/categories.asp?cat=10">Accessories
              &amp; Tools</a></li>
            <li><a href="Air" _mce_href="http://www.universalvalve.com/products.asp?cat=12">Air">http://www.universalva lve.com/products.asp?cat=12">Air Towers</a></li>
            <li><a href="Air" _mce_href="http://www.universalvalve.com/products.asp?cat=16">Air">http://www.universalva lve.com/products.asp?cat=16">Air Tower
              Parts</a></li>
            <li><a href="E-85" _mce_href="http://www.universalvalve.com/products.asp?cat=15">E-85">http://www.universalv alve.com/products.asp?cat=15">E-85 Products</a></li>
            <li><a href="Environmental" _mce_href="http://www.universalvalve.com/products.asp?cat=9">Environmental">http://www.un iversalvalve.com/products.asp?cat=9">Environmental
              Products</a></li>
            <li><a href="Manholeshttp://www.universalvalve.com/products.asp?cat=14">Manholes</a></li>
            <li><a href="Pipe" _mce_href="http://www.universalvalve.com/products.asp?cat=2">Pipe">http://www.universalva lve.com/products.asp?cat=2">Pipe Guards
              & Bollards</a></li>
            <li><a href="Replacement" _mce_href="http://www.universalvalve.com/products.asp?cat=8">Replacement">http://www.univ ersalvalve.com/products.asp?cat=8">Replacement
              Parts</a></li>
            <li><a href="Signagehttp://www.universalvalve.com/products.asp?cat=11">Signage</a></li>
            <li><a href="Spill" _mce_href="http://www.universalvalve.com/categories.asp?cat=3">Spill">http://www.universa lvalve.com/categories.asp?cat=3">Spill
              Containment</a></li>
            <li><a href="Valves" _mce_href="http://www.universalvalve.com/categories.asp?cat=1">Valves">http://www.univers alvalve.com/categories.asp?cat=1">Valves
              & Fittings</a></li>
        <li><a href="../proddetail.asp?prod=pc001">Universal Curb Hose</a></li>
      </ul>
       <h1>Purchase Order</h1>
        <div align="center"><!--#include file="../vsadmin/inc/incminicart.asp"--></div>
    <h1><strong>Universal Valve</strong></h1>
    <ul><li><a href="../about.asp">About Us</a></li>
         <li><a href="../faq.asp">FAQ</a></li>
        <li></li>
        <li><a href="Bloghttp://universalvalve.wordpress.com/">Blog</a></li>
    <li><a href="Facebookhttps://www.facebook.com/pages/Universal-Valve-Co/180204745329542?v=info">Facebook</a></li>
    <li><a href="Twitterhttps://twitter.com/universalvalve">Twitter</a></li>
      <li><a href="../contact.asp">Contact Us</a></li>
      </ul>
       <p align="center"><br />
            <br />
       </p>
      </td>
        <td class="gray" width="1"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
        <td width="757" valign="top"><!-- #BeginEditable "body" -->     
    <h3>Page heading</h3>
    <p>Content goes here.</p>
            <!-- #EndEditable --></td>
        <td class="gray" width="1"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
      </tr>
      <tr>
       <td colspan="5" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
      </tr>
    </table>
    <table width="900px" border="0" align="center" cellpadding="0" cellspacing="6">
          <tr valign="top">
            <td width="224" align="right"><p><strong>Customer Services</strong></p>
              <p>Phone: (800) 223-0741<br />
              Fax: (800) 443-8258<br />
              Email: <a href="[email protected]
    mailto:[email protected]">[email protected]</a></p></td>
            <td width="1" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt =""/></td>
            <td width="224" align="right"><p><strong>More Information</strong></p>
              <p><a href="../station.asp">Price Lists<br />
              Installation Instructions<br />
              Station Drawing</a></p>
            <p> </p></td>
            <td width="1" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt =""/></td>
            <td width="224" align="right"><p><strong>Catalog</strong></p>
              <p>Universal Valve Co. Catalog</p>
            <p> </p></td>
            <td width="1" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt =""/></td>
            <td width="224" align="right"><p> </p></td>
          </tr>
          <tr valign="top">
        <td colspan="7" align="right">&copy; Copyright 2013</td>
          </tr>
    </table>
    </body>
    </html>

    Murray,
    That is exactly what I did and I am still getting the error. Here is how the code looks now:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <!-- #BeginEditable "doctitle" -->
    <title>Universal Valve Co.</title>
    <!-- #EndEditable -->
    <link rel="stylesheet" type="text/css" href="../style.css" />
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    </head>
    <body>
    <!--#include file="../vsadmin/db_conn_open.asp"-->
    <!--#include file="../vsadmin/inc/languagefile.asp"-->
    <!--#include file="../vsadmin/includes.asp"-->
    <!--#include file="../vsadmin/inc/incfunctions.asp"-->
    <table width="900" border="0" align="center" cellpadding="0" cellspacing="4">
      <tr>
        <td rowspan="2"><img src="../images/UniversalLogo2011.jpg" width="294" height="123"></td>
        <td align="right"><a href="../search.asp">SEARCH</a> | <a href="../info.asp">INFORMATION</a>
          | <a href="../clientlogin.asp">DISTRIBUTOR LOGIN </a>| <a href="../orderstatus.asp">ORDER
          STATUS</a> | <a href="../contact.asp">CONTACT US</a></td>
      </tr>
      <tr>
        <td align="right"><form method="post" action="../search.asp">
        <input type="hidden" name="posted" value="1"/>
        <input type="text" name="stext" size="16" class="search" />
        <input name="Submit" type="submit" value="Search" class="sub" />
        </form></td>
      </tr>
      <tr>
        <td colspan="2" class="searchtd"><div id="topnav">
    <ul id="navlist">
    <li><a href="../default.asp">Home</a></li>
              <li><a href="../about.asp">About Us</a></li>
              <li><a href="../news.asp">News</a></li>
              <li><a href="../products.asp">Products</a></li>
              <li><a href="../info.asp">Information</a></li>
              <li><a href="../contact.asp">Contact Us</a></li>
              <li><a href="../products.asp">All Products</a></li><li><a href="../categories.asp">All Categories</a></li>
              <li><a href="../cart.asp">View PO</a></li>
            </ul></div></td>
      </tr>
    </table>
    <table width="900" border="0" align="center" cellpadding="0" cellspacing="4">
      <tr>
        <td colspan="5" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
      </tr>
      <tr>
        <td class="gray" width="1"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
         <td width="140" valign="top" class="leftSide">
    <ul>
            <li><a href="Accessories" _mce_href="http://www.universalvalve.com/categories.asp?cat=10">Accessories">http://www.u niversalvalve.com/categories.asp?cat=10">Accessories
              &amp; Tools</a></li>
            <li><a href="Air" _mce_href="http://www.universalvalve.com/products.asp?cat=12">Air">http://www.universalva lve.com/products.asp?cat=12">Air Towers</a></li>
            <li><a href="Air" _mce_href="http://www.universalvalve.com/products.asp?cat=16">Air">http://www.universalva lve.com/products.asp?cat=16">Air Tower
              Parts</a></li>
            <li><a href="E-85" _mce_href="http://www.universalvalve.com/products.asp?cat=15">E-85">http://www.universalv alve.com/products.asp?cat=15">E-85 Products</a></li>
            <li><a href="Environmental" _mce_href="http://www.universalvalve.com/products.asp?cat=9">Environmental">http://www.un iversalvalve.com/products.asp?cat=9">Environmental
              Products</a></li>
            <li><a href="Manholeshttp://www.universalvalve.com/products.asp?cat=14">Manholes</a></li>
            <li><a href="Pipe" _mce_href="http://www.universalvalve.com/products.asp?cat=2">Pipe">http://www.universalva lve.com/products.asp?cat=2">Pipe Guards
              & Bollards</a></li>
            <li><a href="Replacement" _mce_href="http://www.universalvalve.com/products.asp?cat=8">Replacement">http://www.univ ersalvalve.com/products.asp?cat=8">Replacement
              Parts</a></li>
            <li><a href="Signagehttp://www.universalvalve.com/products.asp?cat=11">Signage</a></li>
            <li><a href="Spill" _mce_href="http://www.universalvalve.com/categories.asp?cat=3">Spill">http://www.universa lvalve.com/categories.asp?cat=3">Spill
              Containment</a></li>
            <li><a href="Valves" _mce_href="http://www.universalvalve.com/categories.asp?cat=1">Valves">http://www.univers alvalve.com/categories.asp?cat=1">Valves
              & Fittings</a></li>
        <li><a href="../proddetail.asp?prod=pc001">Universal Curb Hose</a></li>
      </ul>
       <h1>Purchase Order</h1>
        <div align="center"><!--#include file="../vsadmin/inc/incminicart.asp"--></div>
    <h1><strong>Universal Valve</strong></h1>
    <ul><li><a href="../about.asp">About Us</a></li>
         <li><a href="../faq.asp">FAQ</a></li>
        <li></li>
        <li><a href="Bloghttp://universalvalve.wordpress.com/">Blog</a></li>
    <li><a href="Facebookhttps://www.facebook.com/pages/Universal-Valve-Co/180204745329542?v=info">Facebook</a></li>
    <li><a href="Twitterhttps://twitter.com/universalvalve">Twitter</a></li>
      <li><a href="../contact.asp">Contact Us</a></li>
      </ul>
       <p align="center"><br />
            <br />
       </p>
      </td>
        <td class="gray" width="1"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
        <td width="757" valign="top"><!-- #BeginEditable "body" -->     
    <h3>Page heading</h3>
    <p>Content goes here.</p>
            <!-- #EndEditable --></td>
        <td class="gray" width="1"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
      </tr>
      <tr>
       <td colspan="5" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
      </tr>
    </table>
    <table width="900px" border="0" align="center" cellpadding="0" cellspacing="6">
          <tr valign="top">
            <td width="224" align="right"><p><strong>Customer Services</strong></p>
              <p>Phone: (800) 223-0741<br />
              Fax: (800) 443-8258<br />
              Email: <a href="[email protected]
    mailto:[email protected]">[email protected]</a></p></td>
            <td width="1" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt =""/></td>
            <td width="224" align="right"><p><strong>More Information</strong></p>
              <p><a href="../station.asp">Price Lists<br />
              Installation Instructions<br />
              Station Drawing</a></p>
            <p> </p></td>
            <td width="1" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt =""/></td>
            <td width="224" align="right"><p><strong>Catalog</strong></p>
              <p>Universal Valve Co. Catalog</p>
            <p> </p></td>
            <td width="1" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt =""/></td>
            <td width="224" align="right"><p> </p></td>
          </tr>
          <tr valign="top">
        <td colspan="7" align="right">&copy; Copyright 2013</td>
          </tr>
    </table>
    </body>
    </html>

  • Unbalanced body tag error

    I am trying to save a html document as a template but am receiving an unbalanced body tag message.
    I appear to have both an opening <body> and closing </body> tag and no further body tags.
    Could you please help?
    The code is below:
    <!DOCTYPE HTML>
    <html>
    <head>
    <link href="css/styles.css" rel="stylesheet" type="text/css" media="screen">
        <link href="css/print.css" rel="stylesheet" type="text/css" media="print>
        <title>Poetrynews.co.uk</title>
    </head>
    <body>
    <div id="outer-wrapper">
    <div id="central-container">
      <div id="logo"> <a href="index.html"><img src="images/furniture/poetry_news_logo.jpg" /></a>
        </div>
            <div id="social-media">
             <ul>
                 <li> <a href="http://www.facebook.com"><img src="images/icons/facebook-logo40.jpg" /></a></li>
                    <li> <a href="#"><img src="images/icons/rss_logo40.jpg" /></a></li>
                    <li> <a href="http://www.twitter.com"><img src="images/icons/Twitter_logo640.jpg" /></a></li>
                    <li> <a href="http://www.youtube.com"><img src="images/icons/youtube-logo40.jpg" /></a></li>
                </ul>
        </div>
       <div id="top-nav">
             <ul>
                 <li><a href="index.html">Home</a></li>
                 <li><a href="news.html">News</a></li>
                    <li><a href="interviews.html">Interviews</a></li>
                    <li><a href="features.html">Features</a></li>
                    <li><a href="reviews.html">Reviews</a></li>
                    <li><a href="videos-pictures.html">Videos/Pictures</a></li>
                    <li><a href="competitions.html">Competitions</a></li>
                    <li><a href="contact.html">Contact us</a></li>
                </ul>
        </div>
        <div id="main-content-home-box">
             <div id="top-story-home">
                 <h1>Seamus Heaney at Hay Festival</h1>
                    <img src="images/article_images/657seamus_heaney_test.jpg" width="658" height="380" alt="Seamus Heaney">
                  <p>Irish poet to speak about his poetry, life and lots of other jolly interesting things at Hay on Wye. Read more about this make believe stuff. </p>
            </div>
         <div id="latest-news-home">
             <h2><a href="news.html">Latest News</a></h2>
             <ul>
                 <li>
                   <h3>Government cuts are 'hitting poetry' say critics</h3></li>
                    <li>
                      <p>Calls for literature to be taken seriously.</p></li>
                    <li>
                      <h3>Caernarfon to hold three-day poetry festival</h3></li>
                    <li>
                      <p>Irish master just one of many to hit Wales.</p></li>
                    <li>
                      <h3>Review: Kathleen Jamie explores nature's spirit</h3></li>
                    <li>
                      <p>Another worthwhile journey into the wilderness.</p></li>
                    <li>
                      <h3>Picador signs up 15-year-old prodigy</h3></li>
                    <li>
                      <p>Cornish poet said to have a 'voice like thunder.'</p></li>
                    <li>
                      <h3>Picador signs up 15-year-old prodigy</h3></li>
                    <li>
                      <p>Cornish poet said to have a 'voice like thunder.'</p></li>
                </ul>
      </div>
        </div>
        <div id="second-level-content-box">
        <div id="story-two-home">
            <h3>Benjamin launches latest volume</h3>
            <img src="images/article_images/benjamin_zephaniah_test430.jpg" width="430" height="200" alt="Benjamin Zephaniah">
            <p>Rasta poet is delighted to be able to explore new ground.</p>
       </div>
       <div id="story-three-home">
             <h3>Review: The latest Carol Ann Duffy</h3>
          <img src="images/article_images/carol_ann_duffy_test430.jpg" width="430" height="200" alt="Carol Ann Duffy">
       <p>Another  triumph from the pen of the British poet laureate.</p>
          </div>
        </div>
      <div id="main-video-content-box">
            <div id="latest-video-home">
                    <h2><a href="news.html">Latest videos</a></h2>
                        <ul>
                        <li>
                          <h3>Government cuts are 'hitting poetry' say critics</h3></li>
                        <li>
                          <p>Calls for literature to be taken seriously.</p></li>
                        <li>
                          <h3>Caernarfon to hold three-day poetry festival</h3></li>
                        <li>
                          <p>Irish master just one of many to hit Wales.</p></li>
                        <li>
                          <h3>Review: Kathleen Jamie explores nature's spirit</h3></li>
                        <li>
                          <p>Another worthwhile journey into the wilderness.</p></li>
                        <li>
                          <h3>Picador signs up 15-year-old prodigy</h3></li>
                        <li>
                          <p>Cornish poet said to have a 'voice like thunder.'</p></li>
                        <li>
                          <h3>Picador signs up 15-year-old prodigy</h3></li>
                        <li>
                          <p>Cornish poet said to have a 'voice like thunder.'</p></li>
                        </ul>
             </div>
             <div id="main-video-home">
                <h1>Video interview: Jo Shapcott</h1>
                <img src="images/article_images/jo_shapscott_test657.jpg" width="658" height="380" alt="Jo Shapcott">
                <p>See our exclusive interview with Jo Shapcott. The poet discusses her own body of work and the creations of he contemporaries she  admires.</p>
             </div>
        </div>
       <div id="amazon-widget">
        </div>
       <div id="button-one-home">
        </div>
       <div id="button-two-home">
        </div>
       <div id="button-three-home">
        </div>
       <div id="button-four-home">
        </div>
       <div id="button-five-home">
        </div>
       <div id="button-six-home">
        </div>
       <div id="google-widget">
        </div>
        <div id="bottom-nav-puff-1">
             <h3>Poetry events</h3>
            <img src="images/furniture/hay215.jpg" width="216" height="100" alt="Hay Festival">
          <p>News from festivals and other events.</p>
            </div>
        <div id="bottom-nav-puff-2">
             <h3>Poetry prizes</h3>
            <img src="images/furniture/prize215.jpg" width="216" height="100" alt="Lecture hall">
          <p>The latest from all the top prizes.</p>
            </div>
        <div id="bottom-nav-puff-3">
             <h3>Where you live</h3>
            <img src="images/furniture/map215.jpg" width="216" height="100" alt="Map of British Isles">
          <p>News from around the UK and Ireland.</p>
            </div>
        <div id="bottom-nav-puff-4">
             <h3>Poem of the day</h3>
            <img src="images/furniture/poem215.jpg" width="216" height="100" alt="Manuscript">
          <p>A new clasic poem to read every day.</p>
            </div>
         <div id="bottom-nav">
             <ul>
                 <li><a href="index.html">Home</a></li>
                 <li><a href="news.html">News</a></li>
                    <li><a href="interviews.html">Interviews</a></li>
                    <li><a href="features.html">Features</a></li>
                    <li><a href="reviews.html">Reviews</a></li>
                    <li><a href="videos-pictures.html">Videos/Pictures</a></li>
                    <li><a href="profiles.html">Profiles</a></li>
                    <li><a href="competitions.html">Competitions</a></li>
                    <li><a href="blogs.html">Blogs</a></li>
                    <li><a href="complaints.html">Complaints</a></li>
                    <li><a href="advertise.html">Advertise with us</a></li>
                    <li><a href="contact.html">Contact us</a></li>
                </ul>
          </div>
      <div id="footer">
            <p>@2011 PT Scott Media. All rights reserved.  Dolwyn, Glynafon Terrace, Waunfawr, Gwynedd, UK, LL55 4YY.
       </div>
    </div>
        </div>
    </body>
    </html>

    Change this -
        <link href="css/print.css" rel="stylesheet" type="text/css" media="print>
    to this -
        <link href="css/print.css" rel="stylesheet" type="text/css" media="print">
    (note the last double quote)

  • Using body tags AND section tags in same RTF?

    I am trying to create a custom printed PO form in RTF. The requirement is to have certain info be on the header of each page. Due to the complexity of the header, I opted to not use the native Word support for headers/footers and instead used the <?start:body?> tag. The for-each grouping occurs before the "header" and well before the body tag. That worked great. However, when I try to use the form to print more than one PO at a time, it instead prints the header for however many POs there are in the file before printing the lines. Obviously not what I want. I tried adding the "@section" tag to the <?for-each?> tag, but for some reason that causes nothing whatsoever to print - I get blank pages.
    SO, can the body tags be used within the grouping section tags? Any thoughts on why this isn't working for me? Any help on how to accomplish this would be much appreciated!
    Thanks!
    K. Hale
    [email protected]

    Is this on Teaming 2.1? Have you also tried the same on Kablink site (Kablink Teaming) which is now running the Durango beta?
    -- Khurram

  • Error in body tag handling in WLS 7.0

              Hi,
              I've tried to port an Web Application to WLS 7.0. This app was originally developed
              under 5.1, and was later on ported to WLS 6.1. In all WLS versions the behaviour
              of our custom tags seems to be equal. But on WLS 7.0 I've found out, that tags, implemented
              as body tags (in my special case the bodycontent was declared as "tagdependent")
              are completely ignored when no body is given. For example if the tag is used in an
              JSP like
              <prefix:mytag>
              </prefix:mytag>
              the tag works. If the tag is used like
              <prefix:mytag/>
              It is completely ignored. The resulting HTML page still contains <prefix:mytag/>.
              Because the behaviour was different in releases pre 7.0 i assume this is a new bug
              in WLS 7.0.
              Regards,
              Christian
              

              I've found out, that BodyTags which are declared as "tagdependent" in the tld file
              are completely ignored if no body is given. You can see this if you take a look at
              the generated servlet class.
              BodyTags which are declared as "JSP" do work with empty body.
              Regards,
              Christian
              "Christian Lauer" <[email protected]> wrote:
              >
              >Hi,
              >
              >I've tried to port an Web Application to WLS 7.0. This app was originally
              >developed
              >under 5.1, and was later on ported to WLS 6.1. In all WLS versions the behaviour
              >of our custom tags seems to be equal. But on WLS 7.0 I've found out, that
              >tags, implemented
              >as body tags (in my special case the bodycontent was declared as "tagdependent")
              >are completely ignored when no body is given. For example if the tag is
              >used in an
              >JSP like
              >
              > <prefix:mytag>
              > ...
              > </prefix:mytag>
              >
              >the tag works. If the tag is used like
              >
              > <prefix:mytag/>
              >
              >It is completely ignored. The resulting HTML page still contains <prefix:mytag/>.
              >
              >Because the behaviour was different in releases pre 7.0 i assume this is
              >a new bug
              >in WLS 7.0.
              >
              >Regards,
              >Christian
              

  • Unbalanced Body Tag Error...I'm a Newbie...please help!

    Hey guys,
    I'm sure this question has been answered a thousand and one times but I am trying to make a template of a website but I am getting the following error message: "There is an Error at line 18 of ****: Unbalanced Body Tag"  I have tried to past all of the html below.  I don't know much of anything about html but I'm trying to learn.  Any help at all would be amazing.  Thanks in advance everyone!
    <style type="text/css">
    <!--
    body {
        background-color: #FFF;
    body,td,th {
        font-family: Times New Roman, Times, serif;
        font-size: 12pt;
        color: #000;
    h1 {
        font-size: 24pt;
    -->
    </style>
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <body bgcolor="#FFFFFF"><table width="924" border="0" cellspacing="0" cellpadding="0">
      <caption> 
      </caption>
      <tr>
        <td><img src="../Banner/Damon Duncan's Banner.jpg" width="924" height="200" alt="Damon Duncan's Banner" /></td>
      </tr>
    </table>
    <table width="924" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="center" valign="middle"><img src="../Banner/Buttons/Top-Navigation-Bar.jpg" width="924" height="35" alt="Banner Buttons" /></td>
      </tr>
    </table>
    <table width="924" border="0" cellspacing="0" cellpadding="10">
      <tr>
        <td width="2" rowspan="3" bgcolor="#000000"> </td>
        <td width="710" align="center" valign="middle"><h1><!-- TemplateBeginEditable name="Title" --><strong>Welcome to the Website of Damon Duncan</strong><!-- TemplateEndEditable --></h1></td>
        <td width="152" rowspan="2" bgcolor="#000000"><!-- TemplateBeginEditable name="Sub Menu" -->Sub Menu<!-- TemplateEndEditable --></td>
      </tr>
      <tr>
        <td rowspan="2" align="left" valign="top"><!-- TemplateBeginEditable name="Content" -->
          <p>Hello, my name is Damon Duncan <img src="../Pictures/Damon-and-Melissa-Duncan.jpg" alt="Damon and Melissa Duncan" width="289" height="127" hspace="5" vspace="5" border="0" align="right" />and this is my personal website.  Throughout his website you will get a glimpse into the things that are most important in my life.  That list starts with my family, especially my wife Melissa Duncan.  Currently I am a third year law student at Elon University School of Law.  Melissa is also a member of the charter class at the law school. </p>
          <p>After completing law school Melissa and I will open Duncan Law in Greensboro, North Carolina. Duncan Law will be a satellite office of my father's law office in Charlotte, North Carolina. Although this site will obviously be limited in the details of my life I can assure you one thing - I am blessed.  I have a great family, great friends and truly enjoy every day of life.  That is the only way to live right?  Enjoy the website and don't hesitate to contact me if you need to.</p>
        <!-- TemplateEndEditable --></td>
      </tr>
      <tr>
        <td width="152" align="right" valign="top" bgcolor="#000000"><p><img src="../Logos/Follow-Me.jpg" width="150" height="60" alt="Follow Me Here:" /></p>
          <p><img src="../Logos/Facebook-Logo-Button.jpg" width="150" height="56" alt="Facebook Logo Button" /><br>     
            <img src="../Logos/LinkedIn-Logo.png" width="150" height="53" alt="LinkedIn Logo Button" /><br>   
            <br>   
            <img src="../Logos/Twitter-Logo-Button.jpg" width="150" height="41" alt="Twitter Logo Button" /><br>
            <br>   
        <img src="../Logos/YouTube-Logo-Button.jpg" width="150" height="56" alt="YouTube Logo Button" /></p></td>
      </tr>
      <tr>
        <td bgcolor="#000000"> </td>
        <td align="center" valign="baseline">Home || About Me || My Blog || Favorite Sites || Contact Me<br />
          <br />
    Copyright by Damon Duncan, All Rights Reserved</td>
        <td bgcolor="#000000"> </td>
      </tr>
    </table>

    Disclaimer: I don't use Templates - you probably need to make these changes to your template file. Maybe some template experts will correct me, but here's my $.02.
    Then again
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    both look like they're out of place to me.
    Anyway:
    If that really is all of the code from your page, then you're missing at least the following:
    DOCTYPE
    <html>
    <head>
    <title>Your Title Goes Here</title>
    </head>
    </body>
    </html>
    Add the DOCTYPE by selecting File->Convert->HTML 4.01 Strict (Dreamweaver->Convert->... if on a Mac) from the menus.
    In Code View, just underneath the newly added DOCTYPE code, add:
    <html>
    <head>
    <title>Whatever you want</title>
    Now, just above your <body> tag, add:
    </head>
    And at the very bottom of the page, add:
    </body>
    </html>
    Sidenote: Since you're already defining the body's background color with CSS, you can change this:
    <body bgcolor="#FFFFFF">
    to this:
    <body>
    Mark "Cheers" Boyd
    Keep-On-Learnin' :-)

  • Missing closing body tag

    Hello,
    I'm seeing an issue that has been mentioned a couple of times in this forum, but hasn't been resolved -- at least no final resolution is posted.
    The behavior is that the closing body tag is missing from rendered pages which use the ui:body tag. This does not appear to be related to tiles of jsp fragments specifically.
    I am posting an identical question to the JSF forums since this is a component from the webui jar.
    Thanks so much for listening and please post if you know anything about this issue and its resolution.

    I am getting this too. My pages are all designed as flow-layout with embedded group panels. All my group panels have "block" set (making them divs).
    I have made the following observations.
    If a page is navigated to by typing the url into the browser address bar, or by clicking on a hyperlink (with no action defined) then the page is rendered without a closing body tag </body>
    If a page is navigated to by clicking on a link which has an action defined, then the resultant page is rendered with a closing body tag.
    In addition I have noticed that if you have group panels embedded in each other, some with block set (div), and others with block not set (span) then the closing tags sometimes do not match e.g. you may get two opening tags like <div><span> but the closing tags will be </div></div> which can cause no end of formatting issue. As a workaround I make all my group panels blocks so that this does not happen.

  • Multiple Body tags error when using library items

    Hi all,
    I have a navbar that I created in FW and exported as a DW
    library item. When I drag and drop the library item (navbar) into a
    site page, I get an error every time I try to save that page. The
    error states that the body tag was in the wrong place and has been
    moved to the right place. The problem is never fixed though and I
    keep being spammed by the error dialog.
    In reviewing the code, it appears that the library item has
    its own body and preload. So adding the library item to the page
    causes a duplication of the body tags and preload images code.
    Any thoughts as to how I can fix this or avoid it would be
    greatly appreciated.

    You are right, no <htm> <body> or css styles go
    into a library item.
    Nadia
    Adobe� Community Expert : Dreamweaver
    http://www.DreamweaverResources.com
    - CSS Templates|Tutorials
    http://www.csstemplates.com.au
    http://www.perrelink.com.au
    - Web Dev
    http://www.adobe.com/devnet/dreamweaver/css.html
    CSS Tutorials for Dreamweaver
    "Mabou2" <[email protected]> wrote in
    message
    news:e906ap$ed8$[email protected]..
    > Hi Osgood,
    >
    > I have a vague recollection of hearing or reading that
    library items are
    > not
    > supposed to have anything like a <body> tag or
    code that makes them act
    > like an
    > html page, but I can't remember clearly enough to take
    action.
    >
    > I would love to hear from someone who knows the library
    paradigm.
    >

  • Is it possible to make the body tag of a template editable?

    I'm having diffuculty with making the body tag an editable region in the template.
    I need to add some onload stuff to a body tag on a page derived from a template. I am not sure if this is possible.
    And if it isn't does anyone know a workaround?
    Thanks

    Never Mind I found this.

  • Need to have option to place html code in body tag

    right now one can place code in the head tag but not the body tag.  that is a needed feature.  for example, to use a counter, like with statcounter.com, you have to place the code in the body tag (at the end they say).  that is not an option with muse.  i am told you need to use an external editor to do that.  I don't want to do that. should be able to do it through muse.  any chance of this being added soon?
    thank you,
    Victoria

    But then won't I have to parse through the entire HTML document to find out where it is linking to?

  • Editable "onload" in body tag

    I have a template-based site, but would like to add my own
    Javascript function calls to the 'onload' attribute of the 'body'
    tag on certain pages. I know that this can be done by setting
    'onload' as an "editable attribute" in the template.
    However, I also have some 3rd-party extensions, such as
    PopMenuMagic from P7, that work by modifying 'onload' in the
    template body tag. I think by setting this attribute as editable, I
    will then be preventing changes made to the template by these
    extensions from propogating to the pages based on the template.
    Is there any way around this conundrum?

    Here's the link:
    http://www.projectseven.com/support/answers.asp?id=129
    Walt
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:g21eup$pkj$[email protected]..
    > There are tutorials on the PVII site about how to do
    this.
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    > ==================
    >
    >
    > "gordonwd" <[email protected]> wrote in
    message
    > news:g21d90$nqb$[email protected]..
    >>I have a template-based site, but would like to add
    my own Javascript
    >>function
    >> calls to the 'onload' attribute of the 'body' tag on
    certain pages. I
    >> know that
    >> this can be done by setting 'onload' as an "editable
    attribute" in the
    >> template.
    >>
    >> However, I also have some 3rd-party extensions, such
    as PopMenuMagic from
    >> P7,
    >> that work by modifying 'onload' in the template body
    tag. I think by
    >> setting
    >> this attribute as editable, I will then be
    preventing changes made to the
    >> template by these extensions from propogating to the
    pages based on the
    >> template.
    >>
    >> Is there any way around this conundrum?
    >>
    >

  • Several different body tags

    Dear Great Ones,
    Hi, and hope all is well...
    In the site, there are different sections of the site that have different colored backgrounds. That is some sections have blue, some yellow, some pink, for example.
    These are styled with the body tags, meaning the different sections have body tags assigned different colors.
    When using CSS does one have to have a different style sheet for each different color body tag background, or is there someway to assign, say 3 sections that each use a different color body tag a name so all the body tag colors can be on the same style sheet?
    For example: say section 1 is blue, section 2 is pink, sectioin 3 is yellow. Can there be 1 style sheet that lists all 3 body tags with their different colors?
    What do you think?
    Thanks ever so much,
    Sincerely,
    Hope

    hope1 wrote:
    Dear Snakeyez02,
    Thank you very much for your kind reply and caution..
    Ok, that is understandable.
    What about styling, say, all the html docs in 1 folder have blue assigned to the body tag, and all the html docs in another folder have pink assigned to the body tags. Is there some way to list those all on one CSS style sheet? Or does one have have 2 different style sheets?
    Thanks again so very much,
    Sincerely,
    Hope
    In this example you would need 2 style sheets if you are redefining the body tag.  Typically if your pages will be styled differently like with drastically different background colors you would probably want to load different colors for other elements on that page so that you are using complimentary colors and do not bother your visitors.
    There is nothing wrong with having different style sheets for this type of use.

  • Why would one put a percentage on the HTML and Body tags?

    http://cssremix.com/visit/handcrafted-css/
    On the above site there is a percentage placed on the HTML tag and body tag.
    Dose this control the scale of the page or just the type on the page?
    If so I would like to know how I may control are elements on the page using percentage.
    That is if all the elements on the page are scaled depending on how big the browser window is.

    This may help as well:
    http://www.smashingmagazine.com/2009/06/09/smart-fixes-for-fluid-layouts/
    Nadia
    Adobe® Community Expert : Dreamweaver
    http://www.perrelink.com.au
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    http://csstemplates.com.au/
    http://twitter.com/nadiap

  • OnLoad event on Body tag locked by template

    I have a behavior that needs to be called with an OnLoad event. The page I need it on is attached to a template, so the Body tag is not available for editing. What are my options? Thanks!

    If you are using DW>4 (that's DW4, not DWCS4), then investigate using Template Editable Attributes.
    Alternatively you could use some custom javascript in the editable region of the head of the page or even below the </html> tag to create an onload event, e.g.,
    <script type="text/javascript">window.onload=whatever();</script>

  • Why doesn't a body tag background image show up in a browser?

    I've set a gif image to repeat as a background in my body tag and I can't get it to preview in a browser. I see the background fine when doing a live view in DW. I've tryed other images and none will preview in a browser. I've tryed to trouble shoot everything I can think of why this is not working and at this point I'm dumb-founded. Any help here would be most appreciated, I'm swamped with work and I really need to get this file off for client approval. Thanks in advance for any response - Vanessa
    External CSS
    body {
    color: #000;
    text-align: center;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 100%;
    background: #DAD7C5 url(/_assets/bck.gif) repeat-x left top;
    Page's Source Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Forster Sales</title>
    <link href="_css/main.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    </style>
    <meta name="Keywords" content="construction toys, eco-friendly toys, eco-friendly crafts, European toys, European baby products, made in Canada, flat head in babies, canadian sales representatives, Love Nest, Sesame Street, Roary, Nascar, Ben 10, Tamagotchi, Harumika, Disney, kids cookbooks, K'NEX, Bandai, Eebee, PlayMais, Clics, Happy Cube, Babymoov, MOMMA, Bloco, Handstand Kids" />
    <script src="scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body>
    <div id="wrapper">
      <div id="container">
        <div id="logo"></div>
        <div id="header">
          <p><span class="blueBold">Forster Sales</span> provides Canadian retailers with

    THANK YOU! !!Yeah, that wasn't the entire code, but your tip to look at the path /assets/ steered me in the right direction.
    This is what I originally had:
    background: #FCFCFB url( /_assets/bck.gif) repeat-x left top;
    when I added the two decimals the problem was fixed
    background: #FCFCFB url(../_assets/bck.gif) repeat-x left top;
    Here's the page on my server http://www.forstersales.com/proofs/proof1/index.html
    Thanks again!
    Vanessa

Maybe you are looking for