[ADF BC/JSF] body tag: InitialFocusID

Hello!
i have some questions concerning the InitialFocusID Attribute of the body tag:
my jsf-jsp-page is pretty large so I must scroll to get to a specific faces-component.
so what would be the behavior of InitialFocusID if i set it to this component described? (does it automatically jump to the component? - this is the behavior i need at page-load)
hope some of you can provide me information.
cheers, stef

Thank you Gabrielle. At least now I have an excuse to tell my boss why I can't get it to work.
Any idea when it may be available? Would it be a better idea to implement the table in plain vanilla JSF, and when ADF Faces is ready for ADF BC then do the migration?
Are there any workarround to this problem?
Thank you for your time,
Pablo

Similar Messages

  • 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.

  • How to create a dynamic mapping of columnar at the Runtime using ADF or JSF

    How to create a dynamic GUI at the Runtime using ADF or JSF in JDeveloper 11g.
    What I am trying to build is to allow the user to map one column to another at the run time.
    Say the column A has rows 1 to 10, and column B has rows 1 to 15.
    1. Allow the user to map rows of the two tables
    2. An dhte rows of the two columns are dynamically generated at the run time.
    Any help wil be appreciated.....
    Thnaks

    Oracle supports feedback form metalink was; "What you exactly want to approach is not possible in Htmldb"
    I can guess that it is not
    exactly possible since I looked at the forums and documantation etc. but
    couldnt find anything similar than this link; "http://www.oracle.com/technology/products/database/htmldb/howtos/tabular_form.h
    t". But this is a very common need and I thought that there must be at least a workaround?
    How can I talk or write to Html Db development team about this since any ideas, this is very important item in a critial project?
    I will be able to satisfy the need in a functional way if I could make the
    select lists in the tabular form dynamic with the noz_id;
    SELECT vozellik "Özellik",
    htmldb_item.select_list_from_query(2, t2.nozellik_deger, 'select vdeger
    a,vdeger b from tozellik_deger where noz_id = 10') "Select List",
    htmldb_item.text(3, NULL, t2.vcihaz_oz_deger) "Free Text"
    FROM vcihaz_grup_ozellik t1, tcihaz_oz t2
    WHERE t1.noz_id = t2.noz_id
    AND t2.ncihaz_id = 191
    AND t1.ngrup_id = 5
    But what I exactly need i something like this dynamic query;
    SELECT
    vozellik "Özellik",
    CASE
    WHEN (t2.nozellik_deger IS NULL AND t2.vcihaz_oz_deger IS NOT NULL) THEN
    'HTMLDB_ITEM.freetext(' || rownum || ', NULL) ' || vozellik
    WHEN (t2.nozellik_deger IS NOT NULL AND t2.vcihaz_oz_deger IS NULL) THEN
    'HTMLDB_ITEM.select_list_from_query(' || rownum ||
    ', NULL, ''select vdeger a,vdeger b from tozellik_deger where noz_id = ' ||
    t1.noz_id || ''' ) ' || vozellik
    END AS "Değer"
    FROM vcihaz_grup_ozellik t1, tcihaz_oz t2
    WHERE t1.noz_id = t2.noz_id
    AND t2.ncihaz_id = 191
    AND t1.ngrup_id = 5
    Thank you very much,
    Best regards.
    H.Tonguc

  • Error While Deploying ADF BC JSF Application on Oracle WebLogic Server 10.3

    Hi All,
    I am Deploying ADF BC JSF Application on Oracle WebLogic Server 10.3
    My JDeveloper Version is - JDeveloper10.1.3.0.4
    I followed Following Links for Deployment
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11/demos/wls/wls.html
    http://blog.fekw.de/2008/08/23/howto-install-adf-10-runtime-and-deploy-adf-bc-app-to-oracle-weblogic-103-running-on-linux/
    I am Getting Following Error
    java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseException
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.<clinit>(ADFPhaseListener.java:463)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:711)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:400)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)
    [ServerConnectionImpl.close():334] : Closing DM connection
    [ServerConnectionImpl.close():354] : Unregistered all listeners
    Thanks
    Vijay Chavan

    My bc4j.conf file is like bellow and my datasource name is expertDS
    <BC4JConfig>
    <AppModuleConfigBag>
    <AppModuleConfig name="DeptAMLocal">
    <AppModuleJndiName>model.ent.DeptAM</AppModuleJndiName>
    <DeployPlatform>LOCAL</DeployPlatform>
    <JDBCName>expert</JDBCName>
    <ApplicationName>model.ent.DeptAM</ApplicationName>
    <jbo.project>Model</jbo.project>
    </AppModuleConfig>
    <AppModuleConfig name="DeptAMEmbeddedAS">
    <jbo.internal.embedded>true</jbo.internal.embedded>
    <JDBCDataSource>jdbc/expertDS</JDBCDataSource>
    <ApplicationPath>current-workspace-app</ApplicationPath>
    <ConnectionPort>23891</ConnectionPort>
    <AppModuleJndiName>DeptAMBean</AppModuleJndiName>
    <HostName>localhost</HostName>
    <java.naming.security.authentication>simple</java.naming.security.authentication>
    <java.naming.security.credentials>
    <![CDATA[{904}05DDD90D64C79A7BC508C94B403DD81551]]>
    </java.naming.security.credentials>
    <java.naming.security.principal>oc4jadmin</java.naming.security.principal>
    <DeployPlatform>EjbIas</DeployPlatform>
    <jbo.server.internal_connection>jdbc/expertCoreDS</jbo.server.internal_connection>
    <ApplicationName>model.ent.DeptAM</ApplicationName>
    </AppModuleConfig>
    <AppModuleConfig name="DeptAMAS">
    <jbo.ampool.maxinactiveage>300000</jbo.ampool.maxinactiveage>
    <AppServerConnectionName>weblogic</AppServerConnectionName>
    <AppModuleJndiName>DeptAMBean</AppModuleJndiName>
    <DeployPlatform>EjbIas</DeployPlatform>
    <jbo.ejb.txntimeout>86400</jbo.ejb.txntimeout>
    <DtMiddleTierDeploymentProfile>../ModelMiddleTier1.deploy</DtMiddleTierDeploymentProfile>
    <jbo.security.enforce>Test</jbo.security.enforce>
    <jbo.ampool.maxpoolsize>600</jbo.ampool.maxpoolsize>
    <ApplicationName>model.ent.DeptAM</ApplicationName>
    <DtDeploymentProfile>../ModelEJB1.deploy</DtDeploymentProfile>
    <jbo.ampool.doampooling>false</jbo.ampool.doampooling>
    <java.naming.security.authentication>simple</java.naming.security.authentication>
    <DtCommonDeploymentProfile>../ModelCommon1.deploy</DtCommonDeploymentProfile>
    <JDBCDataSource>jdbc/expertDS</JDBCDataSource>
    <jbo.server.internal_connection>jdbc/expertCoreDS</jbo.server.internal_connection>
    <jbo.ampool.minavailablesize>0</jbo.ampool.minavailablesize>
    <ApplicationPath>BackBoneEJB</ApplicationPath>
    <jbo.ampool.monitorsleepinterval>10000</jbo.ampool.monitorsleepinterval>
    </AppModuleConfig>
    </AppModuleConfigBag>

  • 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)

  • [SOLVED]ADF BC/JSF-how to execute a "ExecuteWithParams" from a b.-bean?

    Hello everyone. I am new to ADF BC/JSF web apps. and I have a situation where I have a form that inserts a record into the DB, the page has a backing bean attached to it and the "create" button on the form is attached to a method called "grabarButton_action()" on the backing bean... here I do some validation first and then I commit the changes.... until this moment everything works fine but the thing is that after the insert takes place I need to query and get the new row I just inserted in the DB to get a value from a column that gets inserted using a trigger on the DB.
    I have been trying to do this unsuccessfully, I created a ViewObject with bind variables to try to execute the query using the "executeWithParams" action but I dont know exactly how to send the values to the action and get the results from it...
    Can anybody point me in the right direction or give me some code examples here please???!!!
    Thanks.
    Message was edited by:
    dragonov7
    Message was edited by:
    dragonov7
    Message was edited by:
    dragonov7

    DragonV,
    Why not just mark the attribute in your EO as "refresh after insert" and/or "refresh after update?" These are there to support attributes that are populated by a trigger.
    Hope this helps,
    John

  • ADF-BC/JSF How to restrict the size of an ordImage

    Hi all
    I have a table containing two columns with type ordsys.OdImage. One is a small resolution icon and the other the image itself.
    Using Steve Muench s example mo 69, I was able to create a ADF-BC/JSF application that loads images to the database.
    Now my next step is to reject images whose size in pixels is other than the one defined for thumbnails, which is 100x100, I thought that I could do this by tampering with the getter methods of the ViewRowImpl Java class but it didn't work. It appears to me that the framework creates an empty image first and then loads the contents from a file.
    Can anybody give me a clue about how to accomplish this ?
    Thanks in advance
    Thanassis

    Just finished testing the validateEntity() approach and it failed.
    I think that I must be doing something wrong here.
    I use the OrdImageDomain.getHeight() and getWidth() functions and they both return 0 wheither invoked during attribute setter method or during the validateEntity().
    Anybody out there with a clue ....
    Thanassis

  • 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

  • Status of ADF BC / JSF Version of Developer Guide?

    Can anyone provide an update on when this will be available (Developer guide based on ADF BC and JSF vs. Toplink)? I'm EAGERLY awaiting - this will be very helpful.
    I was able to download the SRDemo app based on ADF BC / JSF - this is very helpful to see some real code examples. For example, I read topics related to programming View Objects and Application Modules, but viewing the actual code examples for how to call these methods was invaluable. Any other sources for ADF BC / JSF Technology scope code examples greatly appreciated.
    Thanks

    Hi,
    I think this information is what you can already get from the SRDemoBc application. I remember from an internal training i delivered that the login is performed by a ViewObject that is acting as the root VO for all application VO. In addition, to store global values, a VO is created that doesn't use queries.
    Note that I am not really a suppoter of applications that handle the login logic in itself. Its good for demos, but in praxis they should use either JAAS or J2EE authentication to fit into an overall enterprise security strategy.
    Frank

  • 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' :-)

  • ORACLE ADF 11g /JSF TO  serviet (Service method) not invoking

    Hi,
    ORACLE ADF 11g /JSF TO serviet (Service method) not invoking
    My project name is : ComplProject
    inside the project im having 1 jsp say x.jsp
    work environment : (oracleADF 11g) jdev11 and weblogic server 10.3
    in x.jsp im displaying 1 go link -> when ever we click on GO link it should go to ComplServlet.java
    i tried like,
    FacesContext.getCurrentInstance().getExternalContext().redirect("/servlet/ComplServlet");
    the "ComplServlet" is an URL pattern in web.xml which points to servlet.
    but not working
    i pointed to faces-config.xml also , not working
    i tried to forward like
    FacesContext context = FacesContext.getCurrentInstance();
    ServletContext sContext = (ServletContext)context.getExternalContext().getContext();
    ServletRequest request = (ServletRequest)context.getExternalContext().getRequest();
    System.out.println("third line...............");
    HttpServletResponse response = (HttpServletResponse)context.getExternalContext().getResponse();
    response.sendRedirect("/servlet/ViewDocument");
    sContext.getRequestDispatcher("/servlet/ViewDocument").include(request, response);
    brief
    (from jsf page) after clicking on GO LINK i need to redirect or control should go to servlet ->service method
    thanks in advance
    regards,
    sandeep

    Hi,
    i tried like,
    FacesContext.getCurrentInstance().getExternalContext().redirect("/servlet/ComplServlet");
    the "ComplServlet" is an URL pattern in web.xml which points to servlet.
    but not workingUse like following.
        public HttpServletRequest getServletRequest() {
            return (HttpServletRequest)facesContext.getExternalContext().getRequest();
        public redirect(String url){
           getServletRequest().sendRedirect(getServletRequest().getContextPath() + "/servlet/ComplServlet");
        }If you are using golink as frank suggested then use it like this.
    <af:goLink text="ComplServlet" destination="/servlet/ComplServlet"/>no need of using context when using goLink,
    Regards,
    Santosh.

  • 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.

Maybe you are looking for