Table will not center

Hi All
I am having a problem with centering this table. It looks good in dreamweaver design view along with the second table below it which you can see the start of. When I goto show in browser it shows the first table to the left and the second table in the center. As you can see the first table is for flash the second table is html.
any ideas?
<table width="766" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
<noscript>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="766" height="350" id="3868-1" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="3868-1.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#ffffff" />   
    <embed src="3868-1.swf" quality="high" bgcolor="#ffffff" width="766" height="350" name="3868-1" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
    </object>
</noscript>
    </td>
  </tr>
</table>
<table width="766" border="0" align="center" cellpadding="0" cellspacing="0">

I wish I could but it does not work yet so I have not uploaded it. Here is the page, it has mostly to do with flash stuff and at this point in the day it is a pain.
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>3868-1</title>
<link href="style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/javascript">
<!--
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2008 Adobe Systems Incorporated.  All rights reserved.
var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
function ControlVersion()
    var version;
    var axo;
    var e;
    // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry
    try {
        // version will be set for 7.X or greater players
        axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
        version = axo.GetVariable("$version");
    } catch (e) {
    if (!version)
        try {
            // version will be set for 6.X players only
            axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
            // installed player is some revision of 6.0
            // GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
            // so we have to be careful.
            // default to the first public version
            version = "WIN 6,0,21,0";
            // throws if AllowScripAccess does not exist (introduced in 6.0r47)       
            axo.AllowScriptAccess = "always";
            // safe to call for 6.0r47 or greater
            version = axo.GetVariable("$version");
        } catch (e) {
    if (!version)
        try {
            // version will be set for 4.X or 5.X player
            axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
            version = axo.GetVariable("$version");
        } catch (e) {
    if (!version)
        try {
            // version will be set for 3.X player
            axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
            version = "WIN 3,0,18,0";
        } catch (e) {
    if (!version)
        try {
            // version will be set for 2.X player
            axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
            version = "WIN 2,0,0,11";
        } catch (e) {
            version = -1;
    return version;
// JavaScript helper required to detect Flash Player PlugIn version information
function GetSwfVer(){
    // NS/Opera version >= 3 check for Flash plugin in plugin array
    var flashVer = -1;
    if (navigator.plugins != null && navigator.plugins.length > 0) {
        if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
            var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
            var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
            var descArray = flashDescription.split(" ");
            var tempArrayMajor = descArray[2].split(".");           
            var versionMajor = tempArrayMajor[0];
            var versionMinor = tempArrayMajor[1];
            var versionRevision = descArray[3];
            if (versionRevision == "") {
                versionRevision = descArray[4];
            if (versionRevision[0] == "d") {
                versionRevision = versionRevision.substring(1);
            } else if (versionRevision[0] == "r") {
                versionRevision = versionRevision.substring(1);
                if (versionRevision.indexOf("d") > 0) {
                    versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
            var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
    // MSN/WebTV 2.6 supports Flash 4
    else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
    // WebTV 2.5 supports Flash 3
    else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
    // older WebTV supports Flash 2
    else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
    else if ( isIE && isWin && !isOpera ) {
        flashVer = ControlVersion();
    return flashVer;
// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
    versionStr = GetSwfVer();
    if (versionStr == -1 ) {
        return false;
    } else if (versionStr != 0) {
        if(isIE && isWin && !isOpera) {
            // Given "WIN 2,0,0,11"
            tempArray         = versionStr.split(" ");     // ["WIN", "2,0,0,11"]
            tempString        = tempArray[1];            // "2,0,0,11"
            versionArray      = tempString.split(",");    // ['2', '0', '0', '11']
        } else {
            versionArray      = versionStr.split(".");
        var versionMajor      = versionArray[0];
        var versionMinor      = versionArray[1];
        var versionRevision   = versionArray[2];
            // is the major.revision >= requested major.revision AND the minor version >= requested minor
        if (versionMajor > parseFloat(reqMajorVer)) {
            return true;
        } else if (versionMajor == parseFloat(reqMajorVer)) {
            if (versionMinor > parseFloat(reqMinorVer))
                return true;
            else if (versionMinor == parseFloat(reqMinorVer)) {
                if (versionRevision >= parseFloat(reqRevision))
                    return true;
        return false;
function AC_AddExtension(src, ext)
  if (src.indexOf('?') != -1)
    return src.replace(/\?/, ext+'?');
  else
    return src + ext;
function AC_Generateobj(objAttrs, params, embedAttrs)
  var str = '';
  if (isIE && isWin && !isOpera)
    str += '<object ';
    for (var i in objAttrs)
      str += i + '="' + objAttrs[i] + '" ';
    str += '>';
    for (var i in params)
      str += '<param name="' + i + '" value="' + params[i] + '" /> ';
    str += '</object>';
  else
    str += '<embed ';
    for (var i in embedAttrs)
      str += i + '="' + embedAttrs[i] + '" ';
    str += '> </embed>';
  document.write(str);
function AC_FL_RunContent(){
  var ret =
    AC_GetArgs
    (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
     , "application/x-shockwave-flash"
  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
function AC_SW_RunContent(){
  var ret =
    AC_GetArgs
    (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
     , null
  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
  var ret = new Object();
  ret.embedAttrs = new Object();
  ret.params = new Object();
  ret.objAttrs = new Object();
  for (var i=0; i < args.length; i=i+2){
    var currArg = args[i].toLowerCase();   
    switch (currArg){   
      case "classid":
        break;
      case "pluginspage":
        ret.embedAttrs[args[i]] = args[i+1];
        break;
      case "src":
      case "movie":   
        args[i+1] = AC_AddExtension(args[i+1], ext);
        ret.embedAttrs["src"] = args[i+1];
        ret.params[srcParamName] = args[i+1];
        break;
      case "onafterupdate":
      case "onbeforeupdate":
      case "onblur":
      case "oncellchange":
      case "onclick":
      case "ondblclick":
      case "ondrag":
      case "ondragend":
      case "ondragenter":
      case "ondragleave":
      case "ondragover":
      case "ondrop":
      case "onfinish":
      case "onfocus":
      case "onhelp":
      case "onmousedown":
      case "onmouseup":
      case "onmouseover":
      case "onmousemove":
      case "onmouseout":
      case "onkeypress":
      case "onkeydown":
      case "onkeyup":
      case "onload":
      case "onlosecapture":
      case "onpropertychange":
      case "onreadystatechange":
      case "onrowsdelete":
      case "onrowenter":
      case "onrowexit":
      case "onrowsinserted":
      case "onstart":
      case "onscroll":
      case "onbeforeeditfocus":
      case "onactivate":
      case "onbeforedeactivate":
      case "ondeactivate":
      case "type":
      case "codebase":
      case "id":
        ret.objAttrs[args[i]] = args[i+1];
        break;
      case "width":
      case "height":
      case "align":
      case "vspace":
      case "hspace":
      case "class":
      case "title":
      case "accesskey":
      case "name":
      case "tabindex":
        ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
        break;
      default:
        ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
  ret.objAttrs["classid"] = classid;
  if (mimeType) ret.embedAttrs["type"] = mimeType;
  return ret;
// -->
</script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!--
99
-->
<!-- saved from url=(0013)about:internet -->
<script language="JavaScript" type="text/javascript">
    AC_FL_RunContent(
        'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0',
        'width', '766',
        'height', '350',
        'src', '3868-1',
        'quality', 'high',
        'pluginspage', 'http://www.adobe.com/go/getflashplayer',
        'align', 'middle',
        'play', 'true',
        'loop', 'true',
        'scale', 'showall',
        'wmode', 'window',
        'devicefont', 'false',
        'id', '3868-1',
        'bgcolor', '#ffffff',
        'name', '3868-1',
        'menu', 'true',
        'allowFullScreen', 'false',
        'allowScriptAccess','sameDomain',
        'movie', '3868-1',
        'salign', ''
        ); //end AC code
</script>
<DIV class="sections" id="section3" align="center">
<table width="766" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
<noscript>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="766" height="350" id="3868-1" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="3868-1.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#ffffff" />   
    <embed src="3868-1.swf" quality="high" bgcolor="#ffffff" width="766" height="350" name="3868-1" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
    </object>
</noscript>
    </td>
  </tr>
</table>
</DIV>
<table width="766" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="100%" border="0" cellspacing="10" cellpadding="0">
      <tr>
        <td width="31%" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="10">
          <tr>
            <td width="250" class="px16"><h2 class="gray-text-regular">What We Do</h2></td>
          </tr>
          <tr>
            <td><table width="100%" border="0" cellpadding="5" cellspacing="0">
                <tr>
                  <td align="center"><img src="../image/1456_small.jpg" width="240" height="160">  </td>
                </tr>
              </table>
                <p><span class="body_text"><b>when an unknown printer</b> took a galley of type and scrambled it to make a type specimen book. It has survived not only five cent</span>
                <hr>
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td colspan="3"><h2 class="blye2">Archives</h2></td>
                  </tr>
                  <tr>
                    <td colspan="3"><br>
                      &bull; June 2007<br>
                      &bull; May 2007<br>
                      <br></td>
                  </tr>
                </table>
              <strong>when an unknown printer took a galley</strong> of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. <br>
                <br>
              It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). <br>
              <br>
              There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on</td>
          </tr>
        </table></td>
        <td width="69%" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="10">
          <tr>
            <td colspan="2" class="px16"><h2 class="grey"><span class="gray-text-regular">Few Words Abou</span>t Us </h2></td>
          </tr>
          <tr>
            <td align="center"><IMG SRC="../image/1457_small.jpg" WIDTH=240 HEIGHT=161 ALT=""></td>
            <td valign="top"><p><b>Lorem ipsum dolor sit amet, consectetuer <br>
                </b>nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.<br>
                <br>
              • Utwisi enim ad minim <br>
              • quis nostrud exerci tati<br>
              • consequat. <br>
              <br>
              Duis autem vel eum iriure dolor in hendrerit <br>
              <br>
              &bull; <a href="#" class="black2">Read More</a></p></td>
          </tr>
          <tr>
            <td colspan="2"><p><strong>Lorem Ipsum is simply dummy text of the printing </strong>and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since<br>
                <hr>
                <strong>when an unknown printer took a galley of type</strong> and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
              </p>
                <br>
                <table width="100%" border="0" cellpadding="5" cellspacing="0">
                  <tr>
                    <td colspan="3" class="px16"><h2 class="redLL"><b>Support</b></h2></td>
                  </tr>
                  <tr>
                    <td width="32%"><a href="#" class="black2">&bull; Demo Request</a></td>
                    <td width="34%"><a href="#" class="black2">&bull; Downloads</a></td>
                    <td width="32%"><a href="#" class="black2">&bull; Demo Request</a></td>
                  </tr>
                  <tr>
                    <td width="32%"><a href="#" class="black2">&bull; Help Desk</a></td>
                    <td><a href="#" class="black2">&bull; Feedback</a></td>
                    <td width="32%"><a href="#" class="black2">&bull; Help Desk</a></td>
                  </tr>
                  <tr>
                    <td><a href="#" class="black2">&bull; Order Tracking</a></td>
                    <td><a href="#" class="black2">&bull; Support Forums</a></td>
                    <td><a href="#" class="black2">&bull; Order Tracking</a></td>
                  </tr>
                </table>
              <br>
                <p><strong>It is a long established fact that a reader</strong> will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>
              <p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. </p></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  </table>
<table width="766" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="100%" border="0" cellspacing="10" cellpadding="0">
      <tr>
        <td width="31%" align="center">Globe.Co © 2008  |  <a href="#" class="blye-text-underline">Privacy policy</a></td>
        <td width="69%"> </td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>

Similar Messages

  • Adobe Reader will not center the printable area on the page

    Hi there,
    I have posted a few times about this issue already but have still not gotten an answer so I'm trying again. Adobe Reader will not center PDF files on the page if the printable area is less than 8.5" X 11". I make sewing patterns for a living and have always drafted them on 7.5" X 10" artboards (printable areas)....the art boards are centered on the page when they are drafted. Up until a few months ago there has never been an issue for me or my customers to print the patterns in either landscape, portrait (depending on the particuar PDF's orientation) or autoportrait/landscape orientation. Then about 2 or so months ago I started getting complaints about the top left hand side of the page getting cut off. When I tried printing one of the PDF's myself that was drafted in landscape orientation, and I printed it in "landscape" orientation, the top left side of the pdf did indeed get cut off. When I printed in autoportrait/landscape orientation the pdf printed fine, and for many of my customers this seems to fix the problem. But for many of them it doesn't fix the problem and the pdf still prints with part of it getting cut off regardless of which box is checked for orientation. I've found that if I go to the "pages to print" box and click "other options" then select "current view" this often solves the problem...but then the user does not seem to be able to select which pages to print. This is becoming a major problem for my business (lots of complaints) and would really like to know if anyone has looked at this issue and if the problem will be solved anytime soon. It is not just me but many of my colleagues and 100's of customers. Help! Thank you:)

    iMac G4, Mac OS X (10.4.9)
    Make sure you have the latest Adobe Reader installed for your OS.
    http://www.adobe.com/support/downloads/product.jsp?platform=macintosh&product=10
    Did you try using Preview. If you control click on the PDF on your desktop you can use the "open with" option.

  • My numbers tables will not open correctly on screen, the preview shows but when I open the table it only shows blank. When I print a copy it prints ok any solutions?

    my numbers tables will not open correctly on screen, the preview shows but when I open the table it only shows blank. When I print a copy it prints ok any solutions?

    Rebooted computer works now ok

  • Cascading LOV in af:table will not refresh correctly

    Jdeveloper version 11.1.1.5.0
    I have spent quite a bit of time trying to understand why 2-level cascading LOV won't work in a particular situaion. I still haven't been able to fix it and so I turn to the ADF gurus on this forum.
    Here's the scenario:
    1. I have a ViewObject called AdjustDeltaValuesView. This VO contains attributes from its entity. It also has transient attributes called CategoryId and CodeId.
    2. There is LOV defined for CategoryId for VO CodeCategoryMasterView
    3. There is LOV defined for CodeId for LimitedCodeMasterView.
    3. View Criteria is created for LimitedCodeMasterView which sets a bind variable value from CodeCategoryMasterView.CodeCategoryId.
    4. I have wired all the LOVs correctly and it is working properly in ADF BC tester.
    5. In the UI, I have dropped AdjustDeltaValuesView data control as ADF Table where CategoryId and CodeId are displaying as af:selectOneChoice.
    6. CategoryId has autoSubmit=true and CodeId has partialTrigger set to component ID of CategoryId.
    7. The LOV inside editable af:table is working fine except one scenario that when user selects same categoryId from the category LOV in the second row, the CodeId LOV will not populate.
    Here's the code snippet of jspx:
            <af:table value="#{bindings.AdjustDeltaValuesView1.collectionModel}"
                      var="row" rows="#{bindings.AdjustDeltaValuesView1.rangeSize}"
                      emptyText="#{bindings.AdjustDeltaValuesView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                      fetchSize="#{bindings.AdjustDeltaValuesView1.rangeSize}"
                      rowBandingInterval="0"
                      selectedRowKeys="#{bindings.AdjustDeltaValuesView1.collectionModel.selectedRow}"
                      selectionListener="#{bindings.AdjustDeltaValuesView1.collectionModel.makeCurrent}"
                      rowSelection="single" id="t1" editingMode="editAll"
                      rendered="false">
              <af:column sortProperty="CategoryId" sortable="false"
                         headerText="#{bindings.AdjustDeltaValuesView11.hints.CategoryId.label}"
                         id="c25">
                <af:selectOneChoice value="#{row.bindings.CategoryId.inputValue}"
                                    label="#{row.bindings.CategoryId.label}"
                                    required="#{bindings.AdjustDeltaValuesView11.hints.CategoryId.mandatory}"
                                    shortDesc="#{bindings.AdjustDeltaValuesView11.hints.CategoryId.tooltip}"
                                    id="soc3" autoSubmit="true">
                  <f:selectItems value="#{row.bindings.CategoryId.items}" id="si3"/>
                </af:selectOneChoice>
              </af:column>
              <af:column sortProperty="CodeId" sortable="false"
                         headerText="#{bindings.AdjustDeltaValuesView11.hints.CodeId.label}"
                         id="c27">
                <af:selectOneChoice value="#{row.bindings.CodeId.inputValue}"
                                    label="#{row.bindings.CodeId.label}"
                                    required="#{bindings.AdjustDeltaValuesView11.hints.CodeId.mandatory}"
                                    shortDesc="#{bindings.AdjustDeltaValuesView11.hints.CodeId.tooltip}"
                                    id="soc4" partialTriggers="soc3">
                  <f:selectItems value="#{row.bindings.CodeId.items}" id="si4"/>
                </af:selectOneChoice>
              </af:column>For example, where it DOES NOT Work
    1. User selects Category A from dropdown from the first row.
    2. code Id dropdown populates with corresponding values in the list based on CategoryId user selected.
    3. user selects Code X from the dropdown.
    4. User selects Category A from the dropdown from the second row.
    5. PROBLEM: In the second row, Code Id dropdown does not populate. Code dropdown is empty.
    Where it works:
    1. User selects Category A from dropdown from the first row.
    2. code Id dropdown populates with corresponding values in the list based on CategoryId user selected.
    3. User selects Category A from the dropdown from the second row.
    4. In the second row, Code Id dropdown populates correctly.
    Where it works:
    1. User selects Category A from dropdown from the first row.
    2. code Id dropdown populates with corresponding values in the list based on CategoryId user selected.
    3. user selects Code X from the dropdown.
    4. User selects Category B from the dropdown from the second row.
    5. In the second row, Code Id dropdown populates correctly.
    Has anyone come across this scenario? It's a very weird problem.
    I hope I have explained this well. If it's not clear please let me know.
    Edited by: Shah23 on Jan 14, 2013 6:42 PM
    Edited by: Shah23 on Jan 15, 2013 9:09 AM

    Hi,
    Always mention your JDev version.
    Try modifying your VOs as explained in this blog and see if it works fine : https://blogs.oracle.com/aramamoo/entry/how_to_create_multi_level
    -Arun

  • Help Req'd! - Table will not flow onto next page!

    Hello!
    I am currently doing some form design for a large SAP project in the UK and am having problems with getting a table on a remiitance advice form ive created to flow onto a new page.
    currently my form is configured as follows:
    - saved as a dynamic pdf.
    - 2 master pages: the first containing text fields for form title, company logo, addresses, and a disclaimer at the bottom, page numbering, as well as a border created with rectangles. The second contains all of the above except the addresses.
    - 1 body page: contains a subform set to flowed (top to bottom) which contains a table with header/data/footer rows. The data row is set to repeat data so as to expand when there is more than 1 dataset.
    i have tried playing with content areas but they will not stay at the size to which i draw them and then cannot be manipulated afterwards, also i only have pagination settings available to me on the body page itself in the hierachy. the subform inside it, and the table inside that, have greyed out pagination settings.
    finally the body page is set to positioned at present as setting it to flowed causes the subform containing the table to shoot to the top of the page!
    The problem I am getting is that the table when containing lots of data just runs off the end of the page!!
    Any ideas much appreciated!
    Thanks!!
    Edited by: Ryan Harris on Jul 3, 2008 1:05 PM

    Basically you can tell the bodypage to overflow to the second masterpage when it runs out of space.
    On the bodypage properties that's done within the pagination tab.
    Make sure that you enable the "Allow page breaks in contents" tickbox.
    By the way, just wondering, how did you save the form as dynamic, since dynamic is only enabled in the SAP world by setting a dynamic/enabled flag.
    If you are testing outside of sap in the LiveCycle designer you might want to close the file and then reopen it, after you saved it as dynamic. There's a nifty setting in the LiveCycle designer properties which enables you to create dynamic pages by default. It's in the LiveCycle Designer Options.

  • N800 Internet Table will not download additional a...

    Can anyone please assist with a solution to the following problem.
    I have a new N800 Internet Tablet which was updated with os2008 on the day it was received. The Tablet and os2008 appear to all be working perfectly with the preinstalled sofware however I am unable to download any of the additional software such as Skype, Canola 2, Gmail tracker etc. I can log into any website ok and all appears to work correctly however when a download is attempted it sticks on the Applications Manager Screen with the download 1kb message and will not download any more. The applications manager log shows 'Couldn't stat source package list' (repeated for catalogue, repository and openbossa depending on the site attempted). I have followed all download instructions to the letter and even restored original settings once as I thought I may have done something wrong.
    Is there a problem on the sites or do I need to alter something on the N800 tablet ? Is this a problem with the os2008 version currently being released ?

    Hi,
    please refer to this link:
    https://social.technet.microsoft.com/Forums/en-US/c48b9ee8-c43b-41e9-8695-ac4f75d1c366/internet-explorer-will-not-download?forum=itprovistaapps
    Alex Zhao
    TechNet Community Support

  • Photoshop CS4 Printer Controls will not center images

    I have two Epson Printers-The Stylus Pro 4000 and the Stylus Photo 1280, both several years old.  I have downloaded and installed the most recent drivers for each.  When printing from CS4 to either printer, and using the "center image" choice, I cannot get the print to be centered with equal margins on opposing sides.  I have read various articles on how to do this, but nothing seems to work.  Any suggestions?

    Thank you Jeff for your response.  I have tried the approach of the 
    custom paper size, but it does not seem to work right on my 
    configuration.  I will keep trying.  Do any of your books deal with 
    another problem which i am having relative to my switch from PC 
    Windows XP to OSX relative to a concurrent switch from CS3 to CS4.  
    The color ICC printer profiles for my Epson 4000 have not been 
    recognized by CS4 printer dialog box, though Lightroom 2 does find 
    them.  They still exist in a file in the Library.  I am not sure 
    whether the OSX operating system and CS4 require a different format 
    for the profiles  (ie. some connection with the Colorsync utiltity?)  
    In any event, I note your new book on CS4 is out.  Would that deal 
    with this issue?
    Dick Davidson
    [email protected]
    1140 Brantley Estates Drive
    Altamonte Springs, Florida 32714

  • Adding a slideshow using apDivs - Will not center / clashes with images.

    Hey guys,
    I'll be as quick and to the point as possible. I'm new to Dreamweaver and am having some problems in my attempts to create a simple portfolio website.
    I'm trying to add in a basic image slide-show while making use of apDivs. I've had a look online and found some fantastic JQuery slide-shows, and I ended up adapting this one for use on my website;
    http://www.queness.com/post/923/create-a-simple-infinite-carousel-with-jquery
    I have images as the base of my website and I wanted to add the slide-show on top of them (and the same goes for a couple of embeded YouTube videos too.) I added in an apDiv and placed the code for the slide-show inside it. This created a layer that goes on top of the image, and I am able to put the code for the slide-show inside it with no problems (providing the position of the apDiv is set to absolute.)
    #apDiv1 {
        position:absolute;
        top:419px;
        left:400px;
        width:555px;
        height:480px;
        z-index:1;
    The problem I'm having is aligning the cursed thing. Obviously, setting the apDiv's positioning to absolute is a bad idea, as while it looked fine in one resolution, it doesn't in another. I've tried changing the position of the apDiv to relative, and then adding in some changes to my code;
    #apDiv1 {
        position:relative;
        width:555px;
        height:480px;
        margin-left: auto;
         margin-right:auto;
        z-index:1;
    This centers my slideshow (which is wonderful), however it is no longer layered on-top of the image (since this seems to only work when the position is set to absolute.) Instead, the slideshow appears underneath the image rather than on top.
    Is there any possible way I can keep the apDiv (which contains the slide-show) centered whilst remaining on-top of the image? Like I say, it'll layer on top of it fine when set to absolute, but wont center. When set to relative, it'll center but not layer on top. It's one or the other and I'm pulling my hair out over it at the moment.
    If anyone can give any help at all, please please let me know. I've included a notepad document including the whole of my code for the page (including my goofy comments) at the address below if it helps in any way;
    http://www.box.net/shared/5nufqc78jbg0mfkb00n5

    Of course mate. Like I mentioned before, I still don't have any of my web-pages online (since I've been trying to get it all fixed and working first.) I'm hoping to host with 1-2-3 Reg, so I'm waiting for pay day before I buy a years worth from them.
    The folder at the link below though contains the HTML document for the page along with all its images and CSS scripts;
    http://www.box.net/shared/lgqltz3i90ya8k3nyui9
    Despite them being in the folder, if you'd rather, I'll paste the main bodies HTML code below (and also the accoumpanying CSS document. If there's any problems, please let me know. Thanks again!
    <!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" />
    <!--Below is the title of the web page. This is what the user sees in the top of their web browser.-->
    <title>Info || Lee Sparkes BSc Games Design Graduate</title>
    <link href="styles/website_main.css" rel="stylesheet" type="text/css" />
    <!--Here is the code that loads the scripts- the two in this document being the Menu Bar and the JQuery for the slide show.-->
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script type="text/javascript" src="js/jquery.js"></script>
    <!--Below is the script for the image gallery. This script tells the image gallery how to work. So for example, if a user clicks clicks on the 'next' button, switch to the next image.-->
    <script>
    $(document).ready(function() {
        //rotation speed and timer
        var speed = 5000;
        var run = setInterval('rotate()', speed);   
        //grab the width and calculate left value
        var item_width = $('#slides li').outerWidth();
        var left_value = item_width * (-1);
        //move the last item before first item, just in case user click prev button
        $('#slides li:first').before($('#slides li:last'));
        //set the default item to the correct position
        $('#slides ul').css({'left' : left_value});
        //if user clicked on prev button
        $('#prev').click(function() {
            //get the right position           
            var left_indent = parseInt($('#slides ul').css('left')) + item_width;
            //slide the item           
            $('#slides ul:not(:animated)').animate({'left' : left_indent}, 200,function(){   
                //move the last item and put it as first item               
                $('#slides li:first').before($('#slides li:last'));          
                //set the default item to correct position
                $('#slides ul').css({'left' : left_value});
            //cancel the link behavior           
            return false;
        //if user clicked on next button
        $('#next').click(function() {
            //get the right position
            var left_indent = parseInt($('#slides ul').css('left')) - item_width;
            //slide the item
            $('#slides ul:not(:animated)').animate({'left' : left_indent}, 200, function () {
                //move the first item and put it as last item
                $('#slides li:last').after($('#slides li:first'));                    
                //set the default item to correct position
                $('#slides ul').css({'left' : left_value});
            //cancel the link behavior
            return false;
        //if mouse hover, pause the auto rotation, otherwise rotate it
        $('#slides').hover(
            function() {
                clearInterval(run);
            function() {
                run = setInterval('rotate()', speed);   
    //a simple function to click next link
    //a timer will call this function, and the rotation will begin.
    function rotate() {
        $('#next').click();
    </script>
    <!--The code below contains the CSS code for the slideshow and the background colour of the page.-->
    <link href="styles/website_menu.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    body {
        background-color: #003d6a;
    #carousel {
        width:555px;
        height:480px; 
        margin:0 auto;
    #slides {
        overflow:hidden;
        position:relative;
        width:550px;
        height:440px;
        border:1px solid #ccc;
    #slides ul {
        position:relative;
        left:0;
        top:0;
        list-style:none;
        margin:0;
        padding:0;
        width:2200px;          
    #slides li {
        width:550px;
        height:440px; 
        float:left;
    #slides li img {
        padding:0px;
    #buttons {
        padding:0 0 5px 0;
        float:right;
    #buttons a {
        display:block;
        width:31px;
        height:32px;
        text-indent:-999em;
        float:left;
        outline:0;
    a#prev {
        background:url(arrow.gif) 0 -31px no-repeat;
    a#prev:hover {
        background:url(arrow.gif) 0 0 no-repeat;
    a#next {
        background:url(arrow.gif) -32px -31px no-repeat;
    a#next:hover {
        background:url(arrow.gif) -32px 0 no-repeat;
    .clear {clear:both}
    #apDiv1 {
        position:relative;
        width:555px;
        height:480px;
        margin-left: auto;
        margin-right:auto;
        z-index:100;
    </style>
    </head>
    <!--Below is the main bulk of the code for this page. Everything below here is what can be seen on the page, a container including several images, hotspots / links, a menu bar and an image slide show. The code begins by placing the banner at the top of the page...-->
    <body>
    <div id="container">
      <div id="banner"><img src="images/banner.gif" width="1163" height="109" alt="Lee Sparkes || BSc Games Design Graduate" />
        <ul id="website_menu" class="MenuBarHorizontal">
          <li><a href="index.html">Home</a>      </li>
          <li><a href="info.html">Info</a></li>
          <li><a href="portfolio.html">Portfolio</a>      </li>
          <li><a href="downloads.html">Downloads</a></li>
        </ul>
      </div>
    <!--... and next is the start of the pages main images (along with the hopspot links for the three icons at the top...-->
    <img src="images/info01.jpg" alt="" width="1163" height="270" border="0" usemap="#Map" />
    <map name="Map" id="Map">
      <area shape="rect" coords="778,18,877,115" href="http://uk.linkedin.com/in/leesparkes" alt="Linkedin Profile" />
      <area shape="rect" coords="903,15,998,113" href="http://checkeredknight.tumblr.com/" alt="Tumblr Profile" />
      <area shape="rect" coords="1022,16,1121,113" href="http://www.youtube.com/lightning89" alt="YouTube Profile" />
    </map>
    <img src="images/info02.jpg" alt="" width="1163" height="522" border="0"/>
    <!--... and underneath the second image (althouth placed on top of) is the AP Div that contains the image slide show. This refers to the ID tag at the top of the page and is where the images are named, resized and linked. If an image size was to change here, the information at the top of the page under #container would also need changing.-->
    <div id="apDiv1"><div id="carousel">
        <div id="buttons">
            <a href="#" id="prev">prev</a>
            <a href="#" id="next">next</a>
            <div class="clear"></div>
        </div>
        <div class="clear"></div>
        <div id="slides">
            <ul>
                <li><img src="infoslide1.jpg" width="550" height="440" alt="Slide 1"/></li>
                <li><img src="infoslide2.jpg" width="550" height="440" alt="Slide 2"/></li>
                <li><img src="infoslide3.jpg" width="550" height="440" alt="Slide 3"/></li>
                <li><img src="infoslide4.jpg" width="550" height="440" alt="Slide 4"/></li>
            </ul>
            <div class="clear"></div>
        </div>
    </div></div>
    <!--Now that the AP Div and the slide show have been placed, we can continue on with the main page images and hotspots...-->
    <img src="images/info03.jpg" alt="" width="1163" height="416" /><img src="images/info04.jpg" alt="" width="1163" height="380" border="0" usemap="#Map4" />
    <map name="Map4" id="Map4">
      <area shape="rect" coords="374,122,561,149" href="mailto:[email protected]" alt="" />
      <area shape="rect" coords="374,152,572,181" href="mailto:[email protected]" alt="" />
    </map>
    <img src="images/info05.jpg" alt="" width="1163" height="282" /><img src="images/info06.jpg" alt="" width="1163" height="418" border="0" usemap="#Map2" />
    <map name="Map2" id="Map2">
      <area shape="rect" coords="736,202,940,228" href="http://www.iplay.com/" alt="iplay Website" />
    </map>
    <img src="images/info07.jpg" alt="" width="1163" height="362" border="0" usemap="#Map3" />
    <map name="Map3" id="Map3">
      <area shape="rect" coords="234,12,548,45" href="http://dyingfordaylight.com/" alt="Dying for Daylight Website" />
      <area shape="rect" coords="733,272,941,304" href="http://www.iplay.com/" alt="iplay Website" />
    </map>
    <img src="images/info08.jpg" alt="" width="1163" height="234" /><img src="images/info09.jpg" alt="" width="1163" height="56" /></div>
    <!--Last but not least is the script for the menu bar. Not sure if this is supposed to go at the bottom, but it works. Don't question this!-->
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("website_menu", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>
    CSS:
    @charset "utf-8";
    /* CSS Document */
    #container {
        width: 1163px;
        background: #001524;
        margin: 0 auto;
        padding-left: 10px;
        padding-right: 10px;
        overflow: hidden;
    }#banner {
        position: relative;
    #website_menu {
        position: absolute;
        top: 65px;
        right: 0px;
    #main_image {
        background-color: #001524;

  • Data Table will not bind to Dropdown List selection

    I get the following error when I try to use my own database tables (As in the "Using Databound Components to Access Databases" tutorial). It is a Oracle9i database. The Table (Vehicle)I use to populate the Dropdown List has around 450 000 rows, and the ComponentRowset returns 362 000 rows when run without a parameter.
    Exception Details: javax.faces.el.EvaluationException
    java.lang.NullPointerException
    Possible Source of Error:
    Class Name: com.sun.faces.el.ValueBindingImpl
    File Name: ValueBindingImpl.java
    Method Name: getValue
    Line Number: 206
    Please help! What am I doing wrong? As far as I can see the code is identical to the "Using Databound Components to Access Databases" tutorial.
    Here is the code:
    * Page1.java
    * Created on 12 October 2004, 05:56
    * Copyright jgenis
    package ucodapp;
    import javax.faces.*;
    import com.sun.jsfcl.app.*;
    import javax.faces.component.html.*;
    import com.sun.jsfcl.data.*;
    import javax.faces.component.*;
    import com.sun.sql.rowset.*;
    import javax.faces.event.*;
    import javax.faces.convert.*;
    public class Page1 extends AbstractPageBean {
        // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Definition">
        private int __placeholder;
        private HtmlForm form1 = new HtmlForm();
        public HtmlForm getForm1() {
            return form1;
        public void setForm1(HtmlForm hf) {
            this.form1 = hf;
        private HtmlDataTable dataTable1 = new HtmlDataTable();
        public HtmlDataTable getDataTable1() {
            return dataTable1;
        public void setDataTable1(HtmlDataTable hdt) {
            this.dataTable1 = hdt;
        private JdbcRowSetXImpl componentRowSet = new JdbcRowSetXImpl();
        public JdbcRowSetXImpl getComponentRowSet() {
            return componentRowSet;
        public void setComponentRowSet(JdbcRowSetXImpl jrsxi) {
            this.componentRowSet = jrsxi;
        private HtmlOutputLabel componentLabel1 = new HtmlOutputLabel();
        public HtmlOutputLabel getComponentLabel1() {
            return componentLabel1;
        public void setComponentLabel1(HtmlOutputLabel hol) {
            this.componentLabel1 = hol;
        private HtmlOutputText componentLabel1Text = new HtmlOutputText();
        public HtmlOutputText getComponentLabel1Text() {
            return componentLabel1Text;
        public void setComponentLabel1Text(HtmlOutputText hot) {
            this.componentLabel1Text = hot;
        private UIColumn column1 = new UIColumn();
        public UIColumn getColumn1() {
            return column1;
        public void setColumn1(UIColumn uic) {
            this.column1 = uic;
        private HtmlOutputText outputText1 = new HtmlOutputText();
        public HtmlOutputText getOutputText1() {
            return outputText1;
        public void setOutputText1(HtmlOutputText hot) {
            this.outputText1 = hot;
        private HtmlOutputText outputText2 = new HtmlOutputText();
        public HtmlOutputText getOutputText2() {
            return outputText2;
        public void setOutputText2(HtmlOutputText hot) {
            this.outputText2 = hot;
        private UIColumn column2 = new UIColumn();
        public UIColumn getColumn2() {
            return column2;
        public void setColumn2(UIColumn uic) {
            this.column2 = uic;
        private HtmlOutputText outputText3 = new HtmlOutputText();
        public HtmlOutputText getOutputText3() {
            return outputText3;
        public void setOutputText3(HtmlOutputText hot) {
            this.outputText3 = hot;
        private HtmlOutputText outputText4 = new HtmlOutputText();
        public HtmlOutputText getOutputText4() {
            return outputText4;
        public void setOutputText4(HtmlOutputText hot) {
            this.outputText4 = hot;
        private UIColumn column3 = new UIColumn();
        public UIColumn getColumn3() {
            return column3;
        public void setColumn3(UIColumn uic) {
            this.column3 = uic;
        private HtmlOutputText outputText5 = new HtmlOutputText();
        public HtmlOutputText getOutputText5() {
            return outputText5;
        public void setOutputText5(HtmlOutputText hot) {
            this.outputText5 = hot;
        private HtmlOutputText outputText6 = new HtmlOutputText();
        public HtmlOutputText getOutputText6() {
            return outputText6;
        public void setOutputText6(HtmlOutputText hot) {
            this.outputText6 = hot;
        private UIColumn column4 = new UIColumn();
        public UIColumn getColumn4() {
            return column4;
        public void setColumn4(UIColumn uic) {
            this.column4 = uic;
        private HtmlOutputText outputText7 = new HtmlOutputText();
        public HtmlOutputText getOutputText7() {
            return outputText7;
        public void setOutputText7(HtmlOutputText hot) {
            this.outputText7 = hot;
        private HtmlOutputText outputText8 = new HtmlOutputText();
        public HtmlOutputText getOutputText8() {
            return outputText8;
        public void setOutputText8(HtmlOutputText hot) {
            this.outputText8 = hot;
        private UIColumn column5 = new UIColumn();
        public UIColumn getColumn5() {
            return column5;
        public void setColumn5(UIColumn uic) {
            this.column5 = uic;
        private HtmlOutputText outputText9 = new HtmlOutputText();
        public HtmlOutputText getOutputText9() {
            return outputText9;
        public void setOutputText9(HtmlOutputText hot) {
            this.outputText9 = hot;
        private HtmlOutputText outputText10 = new HtmlOutputText();
        public HtmlOutputText getOutputText10() {
            return outputText10;
        public void setOutputText10(HtmlOutputText hot) {
            this.outputText10 = hot;
        private UIColumn column6 = new UIColumn();
        public UIColumn getColumn6() {
            return column6;
        public void setColumn6(UIColumn uic) {
            this.column6 = uic;
        private HtmlOutputText outputText11 = new HtmlOutputText();
        public HtmlOutputText getOutputText11() {
            return outputText11;
        public void setOutputText11(HtmlOutputText hot) {
            this.outputText11 = hot;
        private HtmlOutputText outputText12 = new HtmlOutputText();
        public HtmlOutputText getOutputText12() {
            return outputText12;
        public void setOutputText12(HtmlOutputText hot) {
            this.outputText12 = hot;
        private UIColumn column7 = new UIColumn();
        public UIColumn getColumn7() {
            return column7;
        public void setColumn7(UIColumn uic) {
            this.column7 = uic;
        private HtmlOutputText outputText13 = new HtmlOutputText();
        public HtmlOutputText getOutputText13() {
            return outputText13;
        public void setOutputText13(HtmlOutputText hot) {
            this.outputText13 = hot;
        private HtmlOutputText outputText14 = new HtmlOutputText();
        public HtmlOutputText getOutputText14() {
            return outputText14;
        public void setOutputText14(HtmlOutputText hot) {
            this.outputText14 = hot;
        private RowSetDataModel dataTable1Model = new RowSetDataModel();
        public RowSetDataModel getDataTable1Model() {
            return dataTable1Model;
        public void setDataTable1Model(RowSetDataModel rsdm) {
            this.dataTable1Model = rsdm;
        private HtmlSelectOneMenu dropdown1 = new HtmlSelectOneMenu();
        public HtmlSelectOneMenu getDropdown1() {
            return dropdown1;
        public void setDropdown1(HtmlSelectOneMenu hsom) {
            this.dropdown1 = hsom;
        private UISelectItems dropdown1SelectItems = new UISelectItems();
        public UISelectItems getDropdown1SelectItems() {
            return dropdown1SelectItems;
        public void setDropdown1SelectItems(UISelectItems uisi) {
            this.dropdown1SelectItems = uisi;
        private JdbcRowSetXImpl vehicleRowSet = new JdbcRowSetXImpl();
        public JdbcRowSetXImpl getVehicleRowSet() {
            return vehicleRowSet;
        public void setVehicleRowSet(JdbcRowSetXImpl jrsxi) {
            this.vehicleRowSet = jrsxi;
        private BigDecimalConverter dropdown1Converter = new BigDecimalConverter();
        public BigDecimalConverter getDropdown1Converter() {
            return dropdown1Converter;
        public void setDropdown1Converter(BigDecimalConverter bdc) {
            this.dropdown1Converter = bdc;
        // </editor-fold>
        public Page1() {
            // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Initialization">
            try {
                componentRowSet.setDataSourceName("java:comp/env/jdbc/CDS");
                componentRowSet.setCommand("SELECT ALL TRACKER.COMPONENT.PINNO, TRACKER.COMPONENT.UNITCODE, TRACKER.COMPONENT.INSTALLEDDATE, TRACKER.COMPONENT.INSTALLREPORTNO, TRACKER.COMPONENT.TNUSERIALNO, TRACKER.VEHICLE.REGNO, TRACKER.VEHICLE.VINNO, TRACKER.VEHICLE.VEHICLEID, TRACKER.TRACKERAGREEMENT.TAID, TRACKER.TAPRODUCT.TAPRODUCTID, TRACKER.COMPONENT.COMPONENTID, TRACKER.COMPONENT.TAPRODUCTID, TRACKER.COMPONENT.COMPONENTTYPEID, TRACKER.COMPONENT.INSTALLERID, TRACKER.TAPRODUCT.TAID, TRACKER.TAPRODUCT.PRODUCTTYPEID, TRACKER.TAPRODUCT.TAPRODUCTSTATUSID, TRACKER.TAPRODUCT.PRORATANRDAYS, TRACKER.TAPRODUCT.CONTRACTPERIOD, TRACKER.TAPRODUCT.BILLINGFREQUENCYID, TRACKER.TAPRODUCT.CANCELLATIONDATE, TRACKER.TAPRODUCT.STARTDATE, TRACKER.TAPRODUCT.SOURCEID, TRACKER.TAPRODUCT.PRICINGDATE, TRACKER.TAPRODUCT.DEALTYPEID, TRACKER.TAPRODUCT.ACTIONTYPEID, TRACKER.TAPRODUCT.ISSTANDARDBATTERY, TRACKER.TAPRODUCT.AUDITUSERID, TRACKER.TAPRODUCT.AUDITSRID, TRACKER.COMPONENT.SERIALNUMBER, TRACKER.COMPONENT.RECEIVEDDATE, TRACKER.COMPONENT.RESPONSECODE, TRACKER.COMPONENT.REPLYCODE, TRACKER.COMPONENT.ACTIVATIONCODE, TRACKER.COMPONENT.ALERT, TRACKER.COMPONENT.ALTDEACTIVATIONCODE, TRACKER.COMPONENT.INSTALLEDLOCATION, TRACKER.COMPONENT.VERSION, TRACKER.COMPONENT.SOFTWAREVERSION, TRACKER.COMPONENT.CANACTIVATE, TRACKER.COMPONENT.COMPONENTSTATUSID, TRACKER.COMPONENT.SIMNO, TRACKER.COMPONENT.LOCATECELLNO, TRACKER.COMPONENT.AUDITDT, TRACKER.COMPONENT.THEFTNO, TRACKER.TAPRODUCT.STATUSBEFORECANCELLATION, TRACKER.TAPRODUCT.AUDITDT, TRACKER.TRACKERAGREEMENT.VEHICLEID, TRACKER.TRACKERAGREEMENT.CUSTOMERID, TRACKER.TRACKERAGREEMENT.TASTATUSDATE, TRACKER.TRACKERAGREEMENT.TASTATUSID, TRACKER.TRACKERAGREEMENT.AUDITUSERID, TRACKER.TRACKERAGREEMENT.AUDITSRID, TRACKER.TRACKERAGREEMENT.AUDITDT, TRACKER.VEHICLE.MAKEMODELID, TRACKER.VEHICLE.VEHICLECOLOURID, TRACKER.VEHICLE.COLOURSHADEID, TRACKER.VEHICLE.BATTERYID, TRACKER.VEHICLE.INSURERID, TRACKER.VEHICLE.ENGINENO, TRACKER.VEHICLE.CHASSISNO, TRACKER.VEHICLE.POLICYNO, TRACKER.VEHICLE.YEARMODEL, TRACKER.VEHICLE.JOINDATE, TRACKER.VEHICLE.POLICYCOMMENCEDATE, TRACKER.VEHICLE.DESCRIPTION, TRACKER.VEHICLE.ACTIVE, TRACKER.VEHICLE.METALLICIND, TRACKER.VEHICLE.TEMPREGNO, TRACKER.VEHICLE.ORDERNUMBER, TRACKER.VEHICLE.POLICYSEQUENCENO, TRACKER.VEHICLE.AUDITUSERID, TRACKER.VEHICLE.AUDITSRID, TRACKER.VEHICLE.AUDITDT, TRACKER.VEHICLE.THEFTNO  FROM TRACKER.COMPONENT INNER JOIN TRACKER.TAPRODUCT ON TRACKER.COMPONENT.TAPRODUCTID=TRACKER.TAPRODUCT.TAPRODUCTID INNER JOIN TRACKER.TRACKERAGREEMENT ON TRACKER.TAPRODUCT.TAID=TRACKER.TRACKERAGREEMENT.TAID INNER JOIN TRACKER.VEHICLE ON TRACKER.TRACKERAGREEMENT.VEHICLEID=TRACKER.VEHICLE.VEHICLEID WHERE TRACKER.VEHICLE.VEHICLEID=?");
                dataTable1Model.setDataCacheKey("com.sun.datacache.Page1.componentRowSet");
                dataTable1Model.setRowSet(componentRowSet);
                dataTable1Model.setSchemaName("");
                dataTable1Model.setTableName("");
                vehicleRowSet.setDataSourceName("java:comp/env/jdbc/CDS");
                vehicleRowSet.setCommand("SELECT ALL TRACKER.VEHICLE.VEHICLEID, TRACKER.VEHICLE.REGNO  FROM TRACKER.VEHICLE");
                vehicleRowSet.setFetchSize(1000);
            } catch (Exception e) {
                log("Page1 Initialization Failure", e);
                throw e instanceof javax.faces.FacesException ? (FacesException) e : new FacesException(e);
            // </editor-fold>
            // Additional user provided initialization code
            // Initialization Code
            // Part of the Using Databound Components to Access Databases Tutorial
            // You can find this tutorial on the web -- use the link on the Welcome page
            try {
                vehicleRowSet.execute();
                vehicleRowSet.next();
                dataTable1Model.setObject(1, vehicleRowSet.getObject("VEHICLEID"));
            } catch (Exception ex) {
                throw new FacesException(ex);
            } // end try catch
        protected ucodapp.ApplicationBean1 getApplicationBean1() {
            return (ucodapp.ApplicationBean1)getBean("ApplicationBean1");
        protected ucodapp.SessionBean1 getSessionBean1() {
            return (ucodapp.SessionBean1)getBean("SessionBean1");
         * Bean cleanup.
        protected void afterRenderResponse() {
            vehicleRowSet.close();
            vehicleRowSet.close();
            componentRowSet.close();
        public void dropdown1_processValueChange(ValueChangeEvent vce) {
            // Dropdown List Event Code
            // Part of the Using Databound Components to Access Databases Tutorial
            // You can find this tutorial on the web -- use the link on the Welcome page
            try {
                dataTable1Model.setObject(1, dropdown1.getValue());
                dataTable1Model.execute();
            } catch (Exception e) {
                log("vehicle id change exception", e);
                error("Exception changing Vehicle Id: " + e);
            } // end try catch
            // User event code here...

    Take a look at the Page1 constructor.
    It appears that you're trying to bind the datatable to 2
    different rowsets. I suggest to clean up this
    constructor to make sure you're using the right
    rowset.
    Your value binding expressions on each column
    of the datatable may not be set to the right column.
    John
    JSC QA

  • Site will not center in Explorer but does in Firefox

    Hi,
    I just made this site http://www.theartisticreation.com
    It looks perfect (to me) in firefox, but in explorer it does not site relative center in the window?
    Can anyone help me figure this out?
    I have everything inside a container div which is styled like this
    #container {
    position:relative;
    margin-right:auto;
    margin-left:auto;
    width:1024px;
    height:800px;
    background-color:#000000;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #FFFFFF;
    font-size: 12px;

    For Explorer you need to set text to centre as well, then set it back when inside the container. I think it's just some versions of Explorer don't do auto-margins properly.

  • I am trying to center my content, but the Divs (which contain my spry menu and logo) will not center

    I have two Divs (there will be more in the future) that I am trying to center together on my page, but when I use the #wrapper code I have seen and a div tag, nothing changes.
    This is my HTML code
    <body>
    <div id="wrapper">
      <div id="Logo"><img src="Backgrounds/Color-War-Logowhite.png" width="250" height="250" alt="The Color War"></div>
      <div id="MenuBarDiv">
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="#">Home</a>    </li>
          <li><a href="#">About</a></li>
          <li><a href="#">FAQ</a>    </li>
          <li><a href="#">Registration</a></li>
          <li><a href="#">Contact</a></li>
        </ul>
      </div>
      <div id="Home-Splat"></div>
      <div id="About-splat"></div>
      <div id="FAQ-splat"></div>
      <div id="Registration-splat"></div>
      <div id="Contact-splat"></div>
      <p> </p>
    </div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    and this is my CSS
    #wrapper {
              width: 960px;
              margin-right: auto;
              margin-left: auto;
    I am new to dreamweaver and webdesign and can't figure this out.
    Can anyone help me with this?

    You're welcome
    Find any hosting you can
    http://www.w3schools.com/css/

  • Dynamic Tables will not push rest of form down

    Hi,
    I have created a dynamic form with the following layout
    SubForm1
    button(addrow)
    Table1
    Table Header
    Table Row (grows when new button is added)
    SubForm2
    button(addrow)
    Table2
    Table Header
    Table Row (grows when new button is added)
    SubForm3
    button(addrow)
    Table3
    Table Header
    Table Row (grows when new button is added)
    All three as seen above are created identically but subform2 is the only one that pushes the form down when another row is added. The other two tables (subform1 and 3) simply generate the row over top of whatever is there (ie. rows from table 1 would overlap table2 if you keep clicking add).
    Thanks in advance for the help

    Wrap all the parts of the form that you want positioned into subforms and make sure the subform content is set to positioned. After that set your Page1 as content as flowed.

  • Print will not center

    Lightroom 1.2
    (because this was the last version that everything more or less worked)
    OS X 10.4.11
    (because this was the last version that everything more or less worked)
    Epson photo R280
    (because after spending a bunch on computers and software that don't really work all that well, this is the only printer I could afford)
    Hello, I have had a good search around and can't find the solution to my troubles.
    It seems that no matter what I do I can't get the print to center on a sheet.
    It shows as centered on the preview.
    I have the paper set to sheet feeder - borderless. (and I've tried it regular)
    I have the cell size set to the dimensions I want.
    The margins are set to equal measurements for the top/bottom.
    And for the sides.
    Anybody have any ideas?
    Thanks a lot.
    -Keith

    That's likely the printer. try some trial runs moving the image cell to compensate until it is centered (try it in draft mode to save time and ink) and then save a preset.
    Don
    Don Ricklin, MacBook 2Ghz Duo 2 Core running 10.5.1 & Win XP, Pentax K-10D & *ist D
    See LR Links list at http://donricklin.blogspot.com for related sites.

  • Table will not show mutiple price values

    I am unable to go beyond 152 for my property price. I want it to say 152000. This is what I put into Oracle:
    SELECT *
    FROM Property;
    PROPERTY_NUM PROPERTY_ADDRESS PROPERTY_CITY PROPERTY_STATE PROPERTY_ZIP PROPERTY_PRICE PROPERTY_TYPE
    0001 245 Benner St Philadelphia PA 19111 152 Townhome
    0002 327 Silver Ave Willow Grove PA 19090 260 Duplex
    0003 9243 Treaty Rd Philadelphia PA 19114 190 Single Family
    0004 225 Chestnut St Philadelphia PA 19103 245 Condo
    0005 511 Franklin Ave Cherry Hill NJ 08002 225 Single Family
    This is my tables:
    CREATE TABLE Property
    (Property_Num CHAR (4) PRIMARY KEY,
    Property_Address CHAR (25),
    Property_City CHAR (15),
    Property_State CHAR (2),
    Property_Zip CHAR (5),
    Property_Price DECIMAL (10,2),
    Property_Type CHAR (15) );
    CREATE TABLE Owner
    (Owner_Num CHAR (3) PRIMARY KEY,
    Property_Num CHAR (4),
    Owner_Name CHAR (15),
    Owner_Telephone CHAR (15) );
    CREATE TABLE Inspection
    (Inspection_Code CHAR (4) PRIMARY KEY,
    Inspection_Type CHAR (20),
    Inspection_Description CHAR (40),
    Owner_Num CHAR (3),
    Inspection_Date DATE );
    CREATE TABLE Realtor
    (Realtor_Num CHAR (2) PRIMARY KEY,
    Inspection_Code CHAR (4),
    Realtor_Name CHAR (30),
    Realtor_Telephone CHAR (15) );
    INSERT INTO Property
    VALUES ('0001', '245 Benner St', 'Philadelphia', 'PA', '19111', 152000.99, 'Townhome');
    INSERT INTO Property
    VALUES ('0002', '327 Silver Ave', 'Willow Grove', 'PA', '19090', 260000.99, 'Duplex');
    INSERT INTO Property
    VALUES ('0003', '9243 Treaty Rd', 'Philadelphia', 'PA', '19114', 190000.99, 'Single Family');
    INSERT INTO Property
    VALUES ('0004', '225 Chestnut St', 'Philadelphia', 'PA', '19103', 245000.99, 'Condo');
    INSERT INTO Property
    VALUES ('0005', '511 Franklin Ave', 'Cherry Hill', 'NJ', '08002', 225000.99, 'Single Family');
    INSERT INTO Owner
    VALUES ('101', '0001', 'John Smith', '267-333-4667');
    INSERT INTO Owner
    VALUES ('102', '0002', 'Joe Taylor', '215-657-2200');
    INSERT INTO Owner
    VALUES ('103', '0003', 'Debra Jones', '215-745-9087');
    INSERT INTO Owner
    VALUES ('104', '0004', 'Frank Martin', '267-457-9300');
    INSERT INTO Owner
    VALUES ('105', '0005', 'Drew Hunt', '856-908-3200');
    INSERT INTO Inspection
    VALUES ('1001', 'Pre-Listing Check', 'Passed all eight tests', '101', to_Date('2/16/10','mm/dd/yyyy'));
    INSERT INTO Inspection
    VALUES ('1002', 'Walk-In', 'Property up to date on requirements', '102', to_Date('3/11/10','mm/dd/yyyy'));
    INSERT INTO Inspection
    VALUES ('1003', 'Appointment', 'All checks up to date', '103', to_Date('1/15/10','mm/dd/yyyy'));
    INSERT INTO Inspection
    VALUES ('1004', 'General Check', 'Property is in good shape to sell', '104', to_date('3/14/10','mm/dd/yyyy'));
    INSERT INTO Inspection
    VALUES ('1005', 'Request', 'Everything requested is up to date', '105', to_date('2/22/10','mm/dd/yyyy'));
    INSERT INTO Realtor
    VALUES ('01', '1001', 'Tim Simpson', '267-543-2267');
    INSERT INTO Realtor
    VALUES ('02', '1002', 'Bill Bradley', '215-754-2330');
    INSERT INTO Realtor
    VALUES ('03', '1003', 'Phil Harris', '215-742-6687');
    INSERT INTO Realtor
    VALUES ('04', '1004', 'Sam Brown', '267-277-5500');
    INSERT INTO Realtor
    VALUES ('05', '1005', 'April Young', '856-228-3550');
    Can someone help me with this problem. Thank You.

    Probably more to do with how you inserted the records. Please run the following commands and share with us the results.
    DELETE FROM property
    WHERE property_num IN ('0001', '0002', '0003', '0004', '0005');
    INSERT INTO Property
    VALUES ('0001', '245 Benner St', 'Philadelphia', 'PA', '19111', 152000.99, 'Townhome');
    INSERT INTO Property
    VALUES ('0002', '327 Silver Ave', 'Willow Grove', 'PA', '19090', 260000.99, 'Duplex');
    INSERT INTO Property
    VALUES ('0003', '9243 Treaty Rd', 'Philadelphia', 'PA', '19114', 190000.99, 'Single Family');
    INSERT INTO Property
    VALUES ('0004', '225 Chestnut St', 'Philadelphia', 'PA', '19103', 245000.99, 'Condo');
    INSERT INTO Property
    VALUES ('0005', '511 Franklin Ave', 'Cherry Hill', 'NJ', '08002', 225000.99, 'Single Family');
    SELECT *
    FROM Property;Regards,
    Phiri

  • Excel 2010 Pivot Table VBA Not Refreshing Table

    My company recently upgraded from Excel 2003 to 2010. I had VBA written to take source data and convert it into a number of Pivot Tables on a number of worksheets. It has been working fine for years. After upgrading to 2010 the VBA crashed. I tracked it
    down to the fact that when my code was making changes to the Pivot Tables (changing fields, filters, etc...) the pivot table on the worksheet had no data, but the fields were there. I can manually go to the pivot table and manually refresh and all the data
    comes in.
    So I tried adding the VBA code to refresh the pivot table, but the pivot tables will not refresh with data.
    I tried:
    ActiveSheet.PivotTables("WO Pivot").RefreshTable
    and
    ActiveWorkbook.RefreshAll
    And these did not work.
    I also tried recording a macro for the manual steps to refresh and got:
     ActiveSheet.PivotTables("WO Pivot").PivotCache.Refresh
    This does not work either.
    The PivotTable name is correct, but I tried using the number as well, and the name works for other code manipulating the the pivot table.
    e.g.:
    With ActiveSheet.PivotTables("WOPivot").PivotFields("Task Title")
          .Orientation = xlRowField .Position = 2
          .Subtotals = Array(False, False, False, False, False, False, False, False, False, False, _False, False)
    End
    With Why isn't this working? Is there another way to refresh pivot table data in 2010?
    Thanks. P.S. I've tried formating this so it is readable, but it comes out garbled. Hope this looks better.

    The solution above didn't work for me, but the following did the trick:
    ActiveSheet.PivotTables("WOPivot").PivotCache.Refresh
    By the way, I identified it by recording a macro, then going on the Pivot Table that needed refreshing and pressing F9 to refresh it. The line of VBA code above was the result.
    Cheers,
    Marco.

Maybe you are looking for