Dreamweaver creating mystery code at bottom of page after using BC module

I'm having an issue with the BC module in dreamweaver, I've talked to BC support and they have told me I need to talk to dreamweaver support. I talked to dreamweaver support and they said it's some kind of coding/scripting issue and it is not their problem (even though it is dreamweaver creating this code, not me). Every time I insert something from the BC module it creates lots of '>>>>' at the bottom of the page and sometimes puts the info there. Also, I can't remove these after. I've created this jing video to explain better.
http://screencast.com/t/b8XO3ynRGTF

Hey Tim,
I don't know what's actually causing your problem with adding the ">>>>>>>>" at the end of your html doc. Maybe your code isn't proper and some tags aren't close making DW behave weird but I do know that if you stop using DW's local Template functionality you will be able to edit those changes. What's going on when you try to move the module and erase those ">>>>>>" characters is that code is outside DW's Template and it looks like you applied a template to the page you are working on.
There are two ways to do templating with BC. One is to just use DW's local templating agent to control the content and templates.  The other way is to just use BC's templating engine which is different from DW.
BC lets you use sitewide templates that reside in your /Templates folder and render that template onto other pages in your site on the fly.  Here's what I'd do:
Edit your Site Properties in DW and find your Remote Site and Testing Site FTP properties.
If you setup your website in DW with the BC Site Setup Wizard, you'll notice in the FTP properties that the user login name is appended with "/dw".  This tells BC that you want to use DW's templating engines on your site and lets you upload/save .DWT files in the /Templates directory.  Remove the "/dw" part of the user login.
Now that you are using straight FTP, goto the File pane and goto the Remote Server file system. Open up the Templates directory and download your template again.  Note: You shoud notice your template now has a .html extension instead of .dwt.  That's ok, we're now going to use BC's templating instead of DW's local templating.
Make sure the template you downloaded has the {tag_pagecontent} in the source wherever you want the page content to appear from your pages dependant on this template.
Once you confirm {tag_pagecontent} is in place, re-upload your .html Template back to the server.
For each individual page that is tied locally to your Template follow these directions:
Open page in DW
Goto Modify > Templates > Detach from Template
Once detached from template, remove all the outer "template" code.  What you want to keep behind is just the content that is for that page only.
It's ok if you don't have proper html formatting on the page content... BC will insert this code into your template we made a few steps back.
Save the file.
Upload to BC.
Login to your Admin panel on BC and surf to the page you just edited/uploaded.
Find the template dropdown and choose your Template that you uploaded as the one to use for this page.
Click Update.
Now you are using BC's templating engine instead of DW's local templating which sometimes causes problems but also adds all this extra markup to control the templating.  Now, when you re-download your page to insert modules into DW shouldn't give you a problem about editing anything since it's not attached locally to a DW template.
I don't know why it's inserting those ">>>>>" but you should take this opportunity to start using BC's templating instead of the built-in DW templating. It's cleaner and more modular.
Also, not that your page content could just be a line of text. You don't need to have <html><head> or <body> tags in pages that use BC templates since that content gets rolled into the sitewide template on the fly. You can certainly have valid page content with <head> and <body> tags but you don't need them if you are using a BC sitewide template.
Also, note that if you need specific scripts or meta data at the page level, just include them in your page content and BC will use whatever is in the <head> element or any changes you make to the <body> tag to the sitewide template when your page is being served.

Similar Messages

  • FSCM 9.0 - Customer: where to create "Team Code" for  "General Infor" page?

    Folks,
    Hello. I am creating a new Customer using "FSCM>Customers>Customer Information>General Information". On "General Infor" page, "Support Team - Team Code" is required field. I don't know where to create "Team Code" to be prompted on this page.
    Do any folks understand where to create "Team Code" for "General Infor" page ?

    Did you ever come up with a way to workaround this problem. This problem just bit me over the weekend.

  • How to create a Sales order with ref to Contract using Function Module

    How to create a Sales order with ref to Contract using Function Module BAPI_SALESDOCU_CREATEFROMDATA ?

    We have a unique situation where we like change the sold-to customer of the sales order
    once order has been created. These orders have been created using either by function module
    BAPI_SALESDOCUMENT_COPY or using BDC (VA01, Copy with reference).
    These two processes work abosolutely fine except someone might have change the sold-to
    customer of the ship-to customer of the original sales order. If this the case then the new
    sales order will be created with the old sold-to and with not the new sold-to.
    We tried using BAPI_SALESDOCUMENT_CHANGE and commit afterwards. We checked
    the returned parameteres of the BAPIs and they are all successful but sold-to remains the
    same old one.
    Any help would be much more appreciated.

  • Footer no longer stays at bottom of page after update!

    After updating to Muse 3.0, my footer no longer stays at the bottom ofthe page.  The 'footer checkbox' is checked.  After I discovered this, I unchecked the footer box and saved files,  then went back re-checked the footer checkbox, saved the files and uploaded to the site. I saved the site as a different site name, uploaded ALL the files. Checked to makesure the manifest files, css were uploaded.  Still have the same issue.

    To revert to Muse 2.3, remove any installed copies of Muse (using Remove Programs on Windows or the Uninstall Adobe Muse application from Applications/Utilities/Adobe Installers on the Mac). Then install Muse 2.3 from:
    http://labsdownload.adobe.com/pub/adobemuse/builds/muse_2-3_install_ma c.dmg
    http://labsdownload.adobe.com/pub/adobemuse/builds/muse_2-3_install_wi n.exe
    We're actively working to determine the cause of the issues and trying to fix them for our users.
    Regards,
    Sachin

  • Dreamweaver CS3 Form goes to bottom of page in IE6

    Can someone please help me get my contact form layout looking
    like it should in Internet Explorer 6. Its fine in IE7 and Firefox.
    This is my first attempt learning Dreamwever CS3 with no other
    Dreamweaver experience so any help will be greatly appreciated. My
    form is at www.sharlasweb.com/contact.html

    You are using a built-in Dreamweaver CSS layout. They are not
    very robust.
    Try adding this rule to the bottom of your style sheet:
    .thrColFixHdr #sidebar1, .thrColFixHdr #sidebar2 {
    overflow: hidden;
    Al Sparber - PVII
    http://www.projectseven.com
    Extending Dreamweaver - Nav Systems | Galleries | Widgets
    Authors: "42nd Street: Mastering the Art of CSS Design"
    "sharlene_c2008" <[email protected]> wrote
    in message
    news:fpaf12$m1e$[email protected]..
    > Can someone please help me get my contact form layout
    looking like it
    > should in
    > Internet Explorer 6. Its fine in IE7 and Firefox. This
    is my first
    > attempt
    > learning Dreamwever CS3 with no other Dreamweaver
    experience so any help
    > will
    > be greatly appreciated. My form is at
    www.sharlasweb.com/contact.html
    >
    >

  • Return to same record on previous page after using form

    Hi,
    I have an application that contains a table with tasks and subtasks (which are linked to a task), and for every task, there is a 'add subtask' link, which links to a form where I can create new subtasks for that task.
    My problem is that when I have created a new subtask, and return to the previous page (with the overview of tasks and their subtasks) automatically by clicking the 'create'-button, that the report starts again at line 1. I would like it to go back to the same task for which I just added a subtask.
    In my search for the answer, I came across these two discussions on this forum:
    Re: navigate to previous record
    after edit, return to the table where the record is at the same position
    I tried to implement the solution they came up with in those discussions, but it didn't work for me.
    The reason of this might be:
    - It are old discussions, maybe some things have changed
    - I use a standard report with custom template, they do not
    - My link is on a field that has the same value for all records, being just a text item 'Add subtask', in the other discussions they made the link on an actual DB-field, in my case this would be for example task_id.
    When I try to implement the solution on the second forum exactly (well, not exactly, I did of course adapt this to my situation), there is one step which doesn't work for me. It's the very last step:
    "With these values: #LINK_&P2_EMPNO."
    When I put the # in there, the button deletes all the information about the link when I click 'Apply changes'. When I don't use the # (just LINK_&P2_EMPNO.) he doesn't delete the information, but the link to the same record doesn't work.
    This is how I implemented it:
    Source page (overview of tasks and subtasks):
    Link attributes: LINK_#TASK_ID#
    Target: Page in this application     Page: 4 (form)
    Item 1: Name: P4_TASK_ID, Value: #TASK_ID#
    Item 2 (not important for returning to the source page): Name: P4_YEAR, Value: #YEAR#
    Item 3 (not important for returning to the source page): Name: P4_TEAM, Value: #TEAM#
    Target (form):
    Action when button clicked: Redirect to page in this application
    Page: 3 (source page)
    With these values: LINK_&P4_TASK_ID.
    It doesn't return to the correct record, but the task_id is included in the link as follows (when I tried to create a new subtask for task 02.01.08 and returned to the source page) f?p=37080:3:5503066190863::NO:::LINK_02.01.08 which is almost the same as they say in the discussion: f?p=&APP_ID.:1:&SESSION.::&DEBUG.:2::#LINK_&P2_EMPNO. (missing the '#'-sign and 1 less ':' before the link-item though).
    Why isn't it working for me? How can I solve the problem?
    Could I get some help with this please? It would be a very useful functionality in my application as there are a lot of records.
    Thank you.
    Kind regards,
    NDG

    I'm new on Jdev, I'm Pl/sql developer learning Jdev ....
    I need to do this on the Task Flow Right? can you give me some stesp to follow?
    thank you

  • Having issues with loading web pages after using migration assistant

    Last week my old macbook pro died and i purchased a new 13" mbp. I brought it home the first day i bought it and just turned it on and started playing with it and the internet was blazing fast, no issues at all. I then brought it back to the apple store where they peformed a migration from my old hdd to my new macbook pro. I then took it back to my dorm and connected to the same exact internet and now i am having problems loading web pages. Sometimes the page will load on the first try (click) and other times it will hang there loading but never fully load the page, and if it does load somewhat certain things are missing from the page. So i have to click the link again, and again, and sometimes again for it to finally load correctly. I dont know what is wrong but i have a feeling it is files from my old system conflicting with new ones when it comes to loading web pages. Everything is up to date the OS and firefox and i am having the same issues in safari. Also my ipad and blackberry have no problem connecting to the wifi so that is not the issue. I really hope someone can help me out because this is really starting to drive me crazy.

    If your still having problems, or anyone else......
    For future info, your in the wrong forum, your need the MBP area, this is the MacPRO area, no big deal, I can barely keep up with the M & B & P, etc...
    Sounds like when it migrated over your old settings it may have gotten corrupted? It has been known to work if you were to just make another "Location" and just re-enter the information again and sometimes that will help. You might take it back to the store and see if it does it on their connection also. The silly person should have tested it first before letting you go.
    Hope you got it fixed...

  • FF always goes back to top of page after using back button. can i disable this?

    is there a way to disable FFox going to the top of the site after i use the back button?
    If i am on a site and i click on a link then i use the back button, it always goes to the top of the screen or site, then i have to scroll all the way down again every time.

    I also have had the same problem for months now. The updates do not fix the problem. Is there anyone out there with an answer?
    Sometimes out of the blue I will click somewhere on the itunes store screen and it will stop doing it but, I can't repeat it the next time I open Itunes. It always just wants to stay scrolled all the way to the top on every itunes store page.

  • Creating the bussiness roles for the bussiness partner using Function modul

    Hi
             How to create the business roles using the function modules for the Business partner.

    You can also assign the role at the time of creation of the business partner itself. Use the function module BAPI_BUPA_FS_CREATE_FROM_DATA to achieve the same.
    If your business partner is already there then you can use the function module BAPI_BUPA_ROLE_ADD.
    <b>Reward points if it helps.</b>

  • Creating Multiple Lightbox Galleries on one Page

    Hey,
    I am trying to create 3 different galleries on one page by using lightbox for each gallery.
    Here's the site:
    http://kristycline.businesscatalyst.com/index.html
    When you roll over the 3 deer images, "Graphic Design", "Websites", and "Fabric Art" are the roll over images. I would like to make them each clickable so a lightbox gallery pops up with the said gallery.
    The issue I'm having is when I put the button for the lightbox over the first deer (on the left, for "graphic design"), for some reason the invisible button for the lightbox makes the image revert back to the original. Why?? Not sure! There is a small space between where the invisi-button is and the edge of the deer so the roll over image appears, but not when hovering on the button for the lightbox gallery.. Make sense??
    Please let me know how I go about achieving this technique. Cheers ~ LOVE the MUSE!

    NVM ~ figured it out:
    Just had to make the "trigger" for the lightbox the actual deer image with a rollover effect ~ DUH!
    www.KristyCline.com

  • Why is my flash content not working on my dreamweaver created html site?

    This is a problem that's happening on my website I'm creating.  I created a quick test website to show you the problem on the fourm.  It's the same problem, and if you can provide the solution to this test website I can apply it to my main website.
    Test website on server:
    test331754952.net23.net
    What I did:
    -launched flash
    -typed "test" and made it spin 360 degrees
    -published swf
    -launched dreamweaver
    -created a site
    -moved swf to site folder
    -saved a html file to the site folder
    -in dreamweaver, went to insert, media, swf, then selected the swf I made
    -it inserted the swf, creating a gray placeholder for it
    -re-saved the html document, at which point dreamweaver created a folder named script and 2 files, an swf, and a javascript file
    Site Directory:
    Scripts Sub-Directory:
    What happens:
    -when I launch the swf on my machine, it plays fine
    -when I open the swf directly on the test website on the server, it plays fine
    -when I open the html with the embended swf on the test website on the server, it shows a gray box, then goes white
    -In dreamweaver, when I go to preview in browser and choose internet explorer, it tells me I don't have new flashplayer(I do: flashplayer 11) 
    Ie also pokes up a box at the bottom that says its not allowing content.  When I click allow content, it creates a gray box
    -In dreamweaver, when I go to preview in borwser and choose google chrome, it tells me flash player has stopped a potentionally unsafe operation.  When I close this dialog box, it gives me a gray box where my swf should be embeded.
    -I've tried changing global flash secuirty setting and it does nothing
    -I've tried visiting the test website on multiple computers in my household to no avail
    -I've tried having friends visit the site on their computer at their house to no avail
    -I did't touch the code on this test website-the code is exactly what dreamweaver generated
    Html Document Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400" id="FlashID" title="test">
      <param name="movie" value="test.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="15.0.0.0" />
      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="test.swf" width="550" height="400">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="15.0.0.0" />
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
        <div>
          <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
          <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
    </script>
    </body>
    </html>
    Javascript file code(the one dreamweaver made when I inserted swf):
    /*! SWFObject v2.0 <http://code.google.com/p/swfobject/>
    Copyright (c) 2007 Geoff Stearns, Michael Williams, and Bobby van der Sluis
    This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
    var swfobject = function() {
    var UNDEF = "undefined",
      OBJECT = "object",
      SHOCKWAVE_FLASH = "Shockwave Flash",
      SHOCKWAVE_FLASH_AX = "ShockwaveFlash.ShockwaveFlash",
      FLASH_MIME_TYPE = "application/x-shockwave-flash",
      EXPRESS_INSTALL_ID = "SWFObjectExprInst",
      win = window,
      doc = document,
      nav = navigator,
      domLoadFnArr = [],
      regObjArr = [],
      timer = null,
      storedAltContent = null,
      storedAltContentId = null,
      isDomLoaded = false,
      isExpressInstallActive = false;
    /* Centralized function for browser feature detection
      - Proprietary feature detection (conditional compiling) is used to detect Internet Explorer's features
      - User agent string detection is only used when no alternative is possible
      - Is executed directly for optimal performance
    var ua = function() {
      var w3cdom = typeof doc.getElementById != UNDEF && typeof doc.getElementsByTagName != UNDEF && typeof doc.createElement != UNDEF && typeof doc.appendChild != UNDEF && typeof doc.replaceChild != UNDEF && typeof doc.removeChild != UNDEF && typeof doc.cloneNode != UNDEF,
       playerVersion = [0,0,0],
       d = null;
      if (typeof nav.plugins != UNDEF && typeof nav.plugins[SHOCKWAVE_FLASH] == OBJECT) {
       d = nav.plugins[SHOCKWAVE_FLASH].description;
       if (d) {
        d = d.replace(/^.*\s+(\S+\s+\S+$)/, "$1");
        playerVersion[0] = parseInt(d.replace(/^(.*)\..*$/, "$1"), 10);
        playerVersion[1] = parseInt(d.replace(/^.*\.(.*)\s.*$/, "$1"), 10);
        playerVersion[2] = /r/.test(d) ? parseInt(d.replace(/^.*r(.*)$/, "$1"), 10) : 0;
      else if (typeof win.ActiveXObject != UNDEF) {
       var a = null, fp6Crash = false;
       try {
        a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".7");
       catch(e) {
        try {
         a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".6");
         playerVersion = [6,0,21];
         a.AllowScriptAccess = "always";  // Introduced in fp6.0.47
        catch(e) {
         if (playerVersion[0] == 6) {
          fp6Crash = true;
        if (!fp6Crash) {
         try {
          a = new ActiveXObject(SHOCKWAVE_FLASH_AX);
         catch(e) {}
       if (!fp6Crash && a) { // a will return null when ActiveX is disabled
        try {
         d = a.GetVariable("$version");  // Will crash fp6.0.21/23/29
         if (d) {
          d = d.split(" ")[1].split(",");
          playerVersion = [parseInt(d[0], 10), parseInt(d[1], 10), parseInt(d[2], 10)];
        catch(e) {}
      var u = nav.userAgent.toLowerCase(),
       p = nav.platform.toLowerCase(),
       webkit = /webkit/.test(u) ? parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/, "$1")) : false, // returns either the webkit version or false if not webkit
       ie = false,
       windows = p ? /win/.test(p) : /win/.test(u),
       mac = p ? /mac/.test(p) : /mac/.test(u);
      /*@cc_on
       ie = true;
       @if (@_win32)
        windows = true;
       @elif (@_mac)
        mac = true;
       @end
      return { w3cdom:w3cdom, pv:playerVersion, webkit:webkit, ie:ie, win:windows, mac:mac };
    /* Cross-browser onDomLoad
      - Based on Dean Edwards' solution: http://dean.edwards.name/weblog/2006/06/again/
      - Will fire an event as soon as the DOM of a page is loaded (supported by Gecko based browsers - like Firefox -, IE, Opera9+, Safari)
    var onDomLoad = function() {
      if (!ua.w3cdom) {
       return;
      addDomLoadEvent(main);
      if (ua.ie && ua.win) {
       try {  // Avoid a possible Operation Aborted error
        doc.write("<scr" + "ipt id=__ie_ondomload defer=true src=//:></scr" + "ipt>"); // String is split into pieces to avoid Norton AV to add code that can cause errors
        var s = getElementById("__ie_ondomload");
        if (s) {
         s.onreadystatechange = function() {
          if (this.readyState == "complete") {
           this.parentNode.removeChild(this);
           callDomLoadFunctions();
       catch(e) {}
      if (ua.webkit && typeof doc.readyState != UNDEF) {
       timer = setInterval(function() { if (/loaded|complete/.test(doc.readyState)) { callDomLoadFunctions(); }}, 10);
      if (typeof doc.addEventListener != UNDEF) {
       doc.addEventListener("DOMContentLoaded", callDomLoadFunctions, null);
      addLoadEvent(callDomLoadFunctions);
    function callDomLoadFunctions() {
      if (isDomLoaded) {
       return;
      if (ua.ie && ua.win) { // Test if we can really add elements to the DOM; we don't want to fire it too early
       var s = createElement("span");
       try { // Avoid a possible Operation Aborted error
        var t = doc.getElementsByTagName("body")[0].appendChild(s);
        t.parentNode.removeChild(t);
       catch (e) {
        return;
      isDomLoaded = true;
      if (timer) {
       clearInterval(timer);
       timer = null;
      var dl = domLoadFnArr.length;
      for (var i = 0; i < dl; i++) {
       domLoadFnArr[i]();
    function addDomLoadEvent(fn) {
      if (isDomLoaded) {
       fn();
      else {
       domLoadFnArr[domLoadFnArr.length] = fn; // Array.push() is only available in IE5.5+
    /* Cross-browser onload
      - Based on James Edwards' solution: http://brothercake.com/site/resources/scripts/onload/
      - Will fire an event as soon as a web page including all of its assets are loaded
    function addLoadEvent(fn) {
      if (typeof win.addEventListener != UNDEF) {
       win.addEventListener("load", fn, false);
      else if (typeof doc.addEventListener != UNDEF) {
       doc.addEventListener("load", fn, false);
      else if (typeof win.attachEvent != UNDEF) {
       win.attachEvent("onload", fn);
      else if (typeof win.onload == "function") {
       var fnOld = win.onload;
       win.onload = function() {
        fnOld();
        fn();
      else {
       win.onload = fn;
    /* Main function
      - Will preferably execute onDomLoad, otherwise onload (as a fallback)
    function main() { // Static publishing only
      var rl = regObjArr.length;
      for (var i = 0; i < rl; i++) { // For each registered object element
       var id = regObjArr[i].id;
       if (ua.pv[0] > 0) {
        var obj = getElementById(id);
        if (obj) {
         regObjArr[i].width = obj.getAttribute("width") ? obj.getAttribute("width") : "0";
         regObjArr[i].height = obj.getAttribute("height") ? obj.getAttribute("height") : "0";
         if (hasPlayerVersion(regObjArr[i].swfVersion)) { // Flash plug-in version >= Flash content version: Houston, we have a match!
          if (ua.webkit && ua.webkit < 312) { // Older webkit engines ignore the object element's nested param elements
           fixParams(obj);
          setVisibility(id, true);
         else if (regObjArr[i].expressInstall && !isExpressInstallActive && hasPlayerVersion("6.0.65") && (ua.win || ua.mac)) { // Show the Adobe Express Install dialog if set by the web page author and if supported (fp6.0.65+ on Win/Mac OS only)
          showExpressInstall(regObjArr[i]);
         else { // Flash plug-in and Flash content version mismatch: display alternative content instead of Flash content
          displayAltContent(obj);
       else {  // If no fp is installed, we let the object element do its job (show alternative content)
        setVisibility(id, true);
    /* Fix nested param elements, which are ignored by older webkit engines
      - This includes Safari up to and including version 1.2.2 on Mac OS 10.3
      - Fall back to the proprietary embed element
    function fixParams(obj) {
      var nestedObj = obj.getElementsByTagName(OBJECT)[0];
      if (nestedObj) {
       var e = createElement("embed"), a = nestedObj.attributes;
       if (a) {
        var al = a.length;
        for (var i = 0; i < al; i++) {
         if (a[i].nodeName.toLowerCase() == "data") {
          e.setAttribute("src", a[i].nodeValue);
         else {
          e.setAttribute(a[i].nodeName, a[i].nodeValue);
       var c = nestedObj.childNodes;
       if (c) {
        var cl = c.length;
        for (var j = 0; j < cl; j++) {
         if (c[j].nodeType == 1 && c[j].nodeName.toLowerCase() == "param") {
          e.setAttribute(c[j].getAttribute("name"), c[j].getAttribute("value"));
       obj.parentNode.replaceChild(e, obj);
    /* Fix hanging audio/video threads and force open sockets and NetConnections to disconnect
      - Occurs when unloading a web page in IE using fp8+ and innerHTML/outerHTML
      - Dynamic publishing only
    function fixObjectLeaks(id) {
      if (ua.ie && ua.win && hasPlayerVersion("8.0.0")) {
       win.attachEvent("onunload", function () {
        var obj = getElementById(id);
        if (obj) {
         for (var i in obj) {
          if (typeof obj[i] == "function") {
           obj[i] = function() {};
         obj.parentNode.removeChild(obj);
    /* Show the Adobe Express Install dialog
      - Reference: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6a253b75
    function showExpressInstall(regObj) {
      isExpressInstallActive = true;
      var obj = getElementById(regObj.id);
      if (obj) {
       if (regObj.altContentId) {
        var ac = getElementById(regObj.altContentId);
        if (ac) {
         storedAltContent = ac;
         storedAltContentId = regObj.altContentId;
       else {
        storedAltContent = abstractAltContent(obj);
       if (!(/%$/.test(regObj.width)) && parseInt(regObj.width, 10) < 310) {
        regObj.width = "310";
       if (!(/%$/.test(regObj.height)) && parseInt(regObj.height, 10) < 137) {
        regObj.height = "137";
       doc.title = doc.title.slice(0, 47) + " - Flash Player Installation";
       var pt = ua.ie && ua.win ? "ActiveX" : "PlugIn",
        dt = doc.title,
        fv = "MMredirectURL=" + win.location + "&MMplayerType=" + pt + "&MMdoctitle=" + dt,
        replaceId = regObj.id;
       // For IE when a SWF is loading (AND: not available in cache) wait for the onload event to fire to remove the original object element
       // In IE you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work
       if (ua.ie && ua.win && obj.readyState != 4) {
        var newObj = createElement("div");
        replaceId += "SWFObjectNew";
        newObj.setAttribute("id", replaceId);
        obj.parentNode.insertBefore(newObj, obj); // Insert placeholder div that will be replaced by the object element that loads expressinstall.swf
        obj.style.display = "none";
        win.attachEvent("onload", function() { obj.parentNode.removeChild(obj); });
       createSWF({ data:regObj.expressInstall, id:EXPRESS_INSTALL_ID, width:regObj.width, height:regObj.height }, { flashvars:fv }, replaceId);
    /* Functions to abstract and display alternative content
    function displayAltContent(obj) {
      if (ua.ie && ua.win && obj.readyState != 4) {
       // For IE when a SWF is loading (AND: not available in cache) wait for the onload event to fire to remove the original object element
       // In IE you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work
       var el = createElement("div");
       obj.parentNode.insertBefore(el, obj); // Insert placeholder div that will be replaced by the alternative content
       el.parentNode.replaceChild(abstractAltContent(obj), el);
       obj.style.display = "none";
       win.attachEvent("onload", function() { obj.parentNode.removeChild(obj); });
      else {
       obj.parentNode.replaceChild(abstractAltContent(obj), obj);
    function abstractAltContent(obj) {
      var ac = createElement("div");
      if (ua.win && ua.ie) {
       ac.innerHTML = obj.innerHTML;
      else {
       var nestedObj = obj.getElementsByTagName(OBJECT)[0];
       if (nestedObj) {
        var c = nestedObj.childNodes;
        if (c) {
         var cl = c.length;
         for (var i = 0; i < cl; i++) {
          if (!(c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param") && !(c[i].nodeType == 8)) {
           ac.appendChild(c[i].cloneNode(true));
      return ac;
    /* Cross-browser dynamic SWF creation
    function createSWF(attObj, parObj, id) {
      var r, el = getElementById(id);
      if (typeof attObj.id == UNDEF) { // if no 'id' is defined for the object element, it will inherit the 'id' from the alternative content
       attObj.id = id;
      if (ua.ie && ua.win) { // IE, the object element and W3C DOM methods do not combine: fall back to outerHTML
       var att = "";
       for (var i in attObj) {
        if (attObj[i] != Object.prototype[i]) { // Filter out prototype additions from other potential libraries, like Object.prototype.toJSONString = function() {}
         if (i == "data") {
          parObj.movie = attObj[i];
         else if (i.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
          att += ' class=" + attObj[i] + "';
         else if (i != "classid") {
          att += ' ' + i + '="' + attObj[i] + '"';
       var par = "";
       for (var j in parObj) {
        if (parObj[j] != Object.prototype[j]) { // Filter out prototype additions from other potential libraries
         par += '<param name="' + j + '" value="' + parObj[j] + '" />';
       el.outerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + att + '>' + par + '</object>';
       fixObjectLeaks(attObj.id); // This bug affects dynamic publishing only
       r = getElementById(attObj.id);
      else if (ua.webkit && ua.webkit < 312) { // Older webkit engines ignore the object element's nested param elements: fall back to the proprietary embed element
       var e = createElement("embed");
       e.setAttribute("type", FLASH_MIME_TYPE);
       for (var k in attObj) {
        if (attObj[k] != Object.prototype[k]) { // Filter out prototype additions from other potential libraries
         if (k == "data") {
          e.setAttribute("src", attObj[k]);
         else if (k.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
          e.setAttribute("class", attObj[k]);
         else if (k != "classid") { // Filter out IE specific attribute
          e.setAttribute(k, attObj[k]);
       for (var l in parObj) {
        if (parObj[l] != Object.prototype[l]) { // Filter out prototype additions from other potential libraries
         if (l != "movie") { // Filter out IE specific param element
          e.setAttribute(l, parObj[l]);
       el.parentNode.replaceChild(e, el);
       r = e;
      else { // Well-behaving browsers
       var o = createElement(OBJECT);
       o.setAttribute("type", FLASH_MIME_TYPE);
       for (var m in attObj) {
        if (attObj[m] != Object.prototype[m]) { // Filter out prototype additions from other potential libraries
         if (m.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
          o.setAttribute("class", attObj[m]);
         else if (m != "classid") { // Filter out IE specific attribute
          o.setAttribute(m, attObj[m]);
       for (var n in parObj) {
        if (parObj[n] != Object.prototype[n] && n != "movie") { // Filter out prototype additions from other potential libraries and IE specific param element
         createObjParam(o, n, parObj[n]);
       el.parentNode.replaceChild(o, el);
       r = o;
      return r;
    function createObjParam(el, pName, pValue) {
      var p = createElement("param");
      p.setAttribute("name", pName);
      p.setAttribute("value", pValue);
      el.appendChild(p);
    function getElementById(id) {
      return doc.getElementById(id);
    function createElement(el) {
      return doc.createElement(el);
    function hasPlayerVersion(rv) {
      var pv = ua.pv, v = rv.split(".");
      v[0] = parseInt(v[0], 10);
      v[1] = parseInt(v[1], 10);
      v[2] = parseInt(v[2], 10);
      return (pv[0] > v[0] || (pv[0] == v[0] && pv[1] > v[1]) || (pv[0] == v[0] && pv[1] == v[1] && pv[2] >= v[2])) ? true : false;
    /* Cross-browser dynamic CSS creation
      - Based on Bobby van der Sluis' solution: http://www.bobbyvandersluis.com/articles/dynamicCSS.php
    function createCSS(sel, decl) {
      if (ua.ie && ua.mac) {
       return;
      var h = doc.getElementsByTagName("head")[0], s = createElement("style");
      s.setAttribute("type", "text/css");
      s.setAttribute("media", "screen");
      if (!(ua.ie && ua.win) && typeof doc.createTextNode != UNDEF) {
       s.appendChild(doc.createTextNode(sel + " {" + decl + "}"));
      h.appendChild(s);
      if (ua.ie && ua.win && typeof doc.styleSheets != UNDEF && doc.styleSheets.length > 0) {
       var ls = doc.styleSheets[doc.styleSheets.length - 1];
       if (typeof ls.addRule == OBJECT) {
        ls.addRule(sel, decl);
    function setVisibility(id, isVisible) {
      var v = isVisible ? "inherit" : "hidden";
      if (isDomLoaded) {
       getElementById(id).style.visibility = v;
      else {
       createCSS("#" + id, "visibility:" + v);
    function getTargetVersion(obj) {
         if (!obj)
             return 0;
      var c = obj.childNodes;
      var cl = c.length;
      for (var i = 0; i < cl; i++) {
       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "object") {
           c = c[i].childNodes;
           cl = c.length;
           i = 0;
       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param" && c[i].getAttribute("name") == "swfversion") {
          return c[i].getAttribute("value");
      return 0;
    function getExpressInstall(obj) {
         if (!obj)
             return "";
      var c = obj.childNodes;
      var cl = c.length;
      for (var i = 0; i < cl; i++) {
       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "object") {
           c = c[i].childNodes;
           cl = c.length;
           i = 0;
       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param" && c[i].getAttribute("name") == "expressinstall") {
           return c[i].getAttribute("value");
      return "";
    return {
      /* Public API
       - Reference: http://code.google.com/p/swfobject/wiki/SWFObject_2_0_documentation
      registerObject: function(objectIdStr, swfVersionStr, xiSwfUrlStr) {
       if (!ua.w3cdom || !objectIdStr) {
        return;
       var obj = document.getElementById(objectIdStr);
       var xi = getExpressInstall(obj);
       var regObj = {};
       regObj.id = objectIdStr;
       regObj.swfVersion = swfVersionStr ? swfVersionStr : getTargetVersion(obj);
       regObj.expressInstall = xiSwfUrlStr ? xiSwfUrlStr : ((xi != "") ? xi : false);
       regObjArr[regObjArr.length] = regObj;
       setVisibility(objectIdStr, false);
      getObjectById: function(objectIdStr) {
       var r = null;
       if (ua.w3cdom && isDomLoaded) {
        var o = getElementById(objectIdStr);
        if (o) {
         var n = o.getElementsByTagName(OBJECT)[0];
         if (!n || (n && typeof o.SetVariable != UNDEF)) {
             r = o;
         else if (typeof n.SetVariable != UNDEF) {
          r = n;
       return r;
      embedSWF: function(swfUrlStr, replaceElemIdStr, widthStr, heightStr, swfVersionStr, xiSwfUrlStr, flashvarsObj, parObj, attObj) {
       if (!ua.w3cdom || !swfUrlStr || !replaceElemIdStr || !widthStr || !heightStr || !swfVersionStr) {
        return;
       widthStr += ""; // Auto-convert to string to make it idiot proof
       heightStr += "";
       if (hasPlayerVersion(swfVersionStr)) {
        setVisibility(replaceElemIdStr, false);
        var att = (typeof attObj == OBJECT) ? attObj : {};
        att.data = swfUrlStr;
        att.width = widthStr;
        att.height = heightStr;
        var par = (typeof parObj == OBJECT) ? parObj : {};
        if (typeof flashvarsObj == OBJECT) {
         for (var i in flashvarsObj) {
          if (flashvarsObj[i] != Object.prototype[i]) { // Filter out prototype additions from other potential libraries
           if (typeof par.flashvars != UNDEF) {
            par.flashvars += "&" + i + "=" + flashvarsObj[i];
           else {
            par.flashvars = i + "=" + flashvarsObj[i];
        addDomLoadEvent(function() {
         createSWF(att, par, replaceElemIdStr);
         if (att.id == replaceElemIdStr) {
          setVisibility(replaceElemIdStr, true);
       else if (xiSwfUrlStr && !isExpressInstallActive && hasPlayerVersion("6.0.65") && (ua.win || ua.mac)) {
        setVisibility(replaceElemIdStr, false);
        addDomLoadEvent(function() {
         var regObj = {};
         regObj.id = regObj.altContentId = replaceElemIdStr;
         regObj.width = widthStr;
         regObj.height = heightStr;
         regObj.expressInstall = xiSwfUrlStr;
         showExpressInstall(regObj);
      getFlashPlayerVersion: function() {
       return { major:ua.pv[0], minor:ua.pv[1], release:ua.pv[2] };
      hasFlashPlayerVersion:hasPlayerVersion,
      createSWF: function(attObj, parObj, replaceElemIdStr) {
       if (ua.w3cdom && isDomLoaded) {
        return createSWF(attObj, parObj, replaceElemIdStr);
       else {
        return undefined;
      createCSS: function(sel, decl) {
       if (ua.w3cdom) {
        createCSS(sel, decl);
      addDomLoadEvent:addDomLoadEvent,
      addLoadEvent:addLoadEvent,
      getQueryParamValue: function(param) {
       var q = doc.location.search || doc.location.hash;
       if (param == null) {
        return q;
        if(q) {
        var pairs = q.substring(1).split("&");
        for (var i = 0; i < pairs.length; i++) {
         if (pairs[i].substring(0, pairs[i].indexOf("=")) == param) {
          return pairs[i].substring((pairs[i].indexOf("=") + 1));
       return "";
      // For internal usage only
      expressInstallCallback: function() {
       if (isExpressInstallActive && storedAltContent) {
        var obj = getElementById(EXPRESS_INSTALL_ID);
        if (obj) {
         obj.parentNode.replaceChild(storedAltContent, obj);
         if (storedAltContentId) {
          setVisibility(storedAltContentId, true);
          if (ua.ie && ua.win) {
           storedAltContent.style.display = "block";
         storedAltContent = null;
         storedAltContentId = null;
         isExpressInstallActive = false;
    Can someone please help!  I've looked and tried prety much everything.  If you can provide a solution I would GREATLY apreciate it!

    There is no Flash player version 15... as in your code:
    <param name="swfversion" value="15.0.0.0" />
    For some reason Adobe thought it would be a good idea to target a Flash player version (15) as default.....which may be out a couple years in the future. Go figure!!!
    If you don't like player version 9, change to 10 or 11.... just not 15 (yet).
    Best wishes,
    Adninjastrator

  • How to create SEO friendly, responsive "Coming Soon" page? [was:Help please! I am very new!]

    Hi Guys,
    First off, this is my first post, and will be one of many, as the Dreamweaver bug his bitten, and bitten hard!
    I am new to web design, and am learning Dreamweaver and want to become a web designed after hours as a second job/hobby.
    I am currently (unsuccessfully) working on getting a "coming soon" page up and running.
    I would like the image to be scalable - however then all my text goes everywhere. I cant have it as a image as then Google doesn't index it, as well as i need to have a hyperlink in the body of the text.
    If someone could point me into the right direction, I would be forever thankful!
    I have attached the code:
    <html>
    <head>
    <title>coming soon page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <style type="text/css">
    body {
              background-image: url(background.jpg);
              background-repeat: no-repeat;
    #content {
              position: absolute;
              left: 70px;
              top: 468px;
              width: 912px;
              height: 120px;
              z-index: 1;
              font-family: calibri;
              font-size: 30px;
              color: rgba(255,255,255,1);
    a:link {
              color: rgba(255,255,255,1);
              text-decoration: none;
    a:visited {
              text-decoration: none;
              color: rgba(255,255,255,1);
    a:hover {
              text-decoration: none;
              color: rgba(255,255,255,1);
    a:active {
              text-decoration: none;
              color: rgba(255,255,255,1);
    </style>
    </head>
    <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <!-- Save for Web Slices (coming soon page.psd) -->
    <div id="content">The webstie for Hurstar Investments is currently under construction and will be live shortly. If you have any enquiries in the interim, please email us at <a href="mailto: [email protected]">[email protected]</a>. We look forward to hearing from you.</div>
    <table id="Table_01" width="1025" height="768" border="0" cellpadding="0" cellspacing="0">
              <tr>
                        <td width="1024" height="29" colspan="5">
                                  <img src="images/spacer.gif" width="1024" height="29" alt=""></td>
                        <td>
                                  <img src="images/spacer.gif" width="1" height="29" alt=""></td>
              </tr>
              <tr>
                        <td width="708" height="339" colspan="3" rowspan="2">
                                  <img src="images/spacer.gif" width="708" height="339" alt=""></td>
                        <td>
                                  <img src="images/logo.jpg" width="274" height="229" alt=""></td>
                        <td width="42" height="739" rowspan="8">
                                  <img src="images/spacer.gif" width="42" height="739" alt=""></td>
                        <td>
                                  <img src="images/spacer.gif" width="1" height="229" alt=""></td>
              </tr>
              <tr>
                        <td width="274" height="211" rowspan="3">
                                  <img src="images/spacer.gif" width="274" height="211" alt=""></td>
                        <td>
                                  <img src="images/spacer.gif" width="1" height="110" alt=""></td>
              </tr>
              <tr>
                        <td width="70" height="400" rowspan="6">
                                  <img src="images/spacer.gif" width="70" height="400" alt=""></td>
                        <td>
                                  <img src="images/header.jpg" width="414" height="79" alt=""></td>
                        <td width="224" height="101" rowspan="2">
                                  <img src="images/spacer.gif" width="224" height="101" alt=""></td>
                        <td>
                                  <img src="images/spacer.gif" width="1" height="79" alt=""></td>
              </tr>
              <tr>
                        <td width="414" height="22">
                                  <img src="images/spacer.gif" width="414" height="22" alt=""></td>
                        <td>
                                  <img src="images/spacer.gif" width="1" height="22" alt=""></td>
              </tr>
              <tr>
                        <td colspan="3"> </td>
                        <td>
                                  <img src="images/spacer.gif" width="1" height="121" alt=""></td>
              </tr>
              <tr>
                        <td width="912" height="35" colspan="3">
                                  <img src="images/spacer.gif" width="912" height="35" alt=""></td>
                        <td>
                                  <img src="images/spacer.gif" width="1" height="35" alt=""></td>
              </tr>
              <tr>
                        <td colspan="3">
                                  <img src="images/footer.jpg" width="912" height="59" alt=""></td>
                        <td>
                                  <img src="images/spacer.gif" width="1" height="59" alt=""></td>
              </tr>
              <tr>
                        <td width="912" height="84" colspan="3">
                                  <img src="images/spacer.gif" width="912" height="84" alt=""></td>
                        <td>
                                  <img src="images/spacer.gif" width="1" height="84" alt=""></td>
              </tr>
    </table>
    <!-- End Save for Web Slices -->
    </body>
    </html>
    PS: Using Dreamweaver CS6 if that makes any difference.
    Again, thank you sooo much!
    SiD24

    I would like the website to ajust automatically to different brower sizes without having white on the sides, and the text moving all over the place.
    Try this % width layout.  Copy & paste code into a new, blank document in DW.  SaveAs test.html.  Preview in browsers at various viewport widths and text sizes.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 Document, 1-Col</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    <style>
        padding: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    img {
        max-width: 100%;
        vertical-align: baseline
    body {
        padding: 0;
        width: 90%; /**adjust width in px or % as required**/
        margin: 0 auto; /**this is centered**/
        background: #F5DD83;
        color: #505050;
        font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
        font-size: 100%;
        box-shadow: 2px 2px 4px #333;
    header {
        margin: 0;
        padding: 0 1%;
        width: 100%;
        background: #B00202;
        color: #FFF;
    header h1, header h2 {
        display: inline;
        color: #F5DD83;
        padding: 0 1%;
    /**top menu**/
    nav {
        background: #69C;
        font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 14px;
        font-weight: bold
    nav ul {
        margin: 0;
        padding: 0;
    nav li {
        list-style: none;
        display: inline-block;
        margin: 0 1%
    /**menu link styles**/
    nav li a {
        color: #FFF;
        text-decoration: none;
        line-height: 2.5em;
        padding: 6px;
        border: 1px solid #CCC;
    /**on select or mouseover**/
    nav li a:hover, nav li a:active, nav li a:focus {
        background: #CCC;
        color: #505050;
    /**main content**/
    article {
        padding: 2%;
        background: #FFF;
    article h3 {
        color: #2294AE;
        margin-bottom: 0
    article p { margin: 0 0 1em 0 }
    figure {
        text-align:center;
    figcaption {
        text-align: center;
        font-style: oblique;
        font-size: small
    footer {
        background: #B00202;
        color: #FFF;
        text-align: center;
        margin: 0;
    </style>
    </head>
    <body>
    <!--begin header-->
    <header> <h1>Sitename</h1>
    <h2>Some pithy slogan...</h2>
    </header>
    <!--begin navigation-->
    <nav>
    <ul>
    <li><a href="#">Menu Item1</a></li>
    <li><a href="#">Menu Item1</a></li>
    <li><a href="#">Menu Item1</a></li>
    <li><a href="#">Menu Item1</a></li>
    <li><a href="#">Menu Item1</a></li>
    </ul>
    </nav>
    <!--begin main content-->
    <article> <h3>Heading 3</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    <figure> <img src="http://placehold.it/500x325" alt="placeholder">
    <figcaption>Figure 1 Caption</figcaption>
    </figure>
    <h3>Heading 3</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    </article>
    <!--begin footer-->
    <footer> <small>© 2014 Your Site Name. All rights reserved</small> </footer>
    </body>
    </html>
    Within the body of the contect, there needs to be a email link - so I assume that would be a div section.
    Publishing your e-mail address is an open invitation to spammers and e-mail harvesters who will flood your inbox with junk.  If you want people to contact you, use a contact form and a form-to-email processing script that hides your e-mail address from robots.
    Nancy O.

  • How to create a link to a home page?

    Hi,
    I would like to create a link to a home page, some thing similar to what APEX logon screen has at the bottom. Could some one please help me with this? I do not find any item to do this. Do I have to make a separate HTML region and put my HTML code into "source"?
    TIA.
    Regards,
    Tamas

    Have you tried to do that? Create a html region and simply put you code in it:
    &lt;a href="http://www.google.com">Google&lt;/a>
    If you want more, you need to study the template layout of ApEx and eventually create your own templates.
    Denes Kubicek

  • How To create a message Choice for a page?

    Hi,
    I need to create a message choice for a page and on selection of that it should navigate me to next page..like
    ex:
    If iam havng 10 locations like Delhi,Hyderabad,Chennai....
    I need to select one of them and it should be navigated to next page based on the above selection...These values are to be retrieved from database...
    Can u gimme any idea..how to proceed?

    Maybe something like this will help.
    On your <af:selectOneChoice/> component configure a valueChangeListener and set autosubmit to true.
    In your valueChangeListener change the current view like :
    public void handleValueChanged(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    if (!PhaseId.INVOKE_APPLICATION.equals(valueChangeEvent.getPhaseId())) {
    valueChangeEvent.setPhaseId(PhaseId.INVOKE_APPLICATION);
    valueChangeEvent.queue();
    } else {
    // add additiional app functionality here
    ControllerContext controllerContext = ControllerContext.getInstance();
    ViewPortContext viewPortContext = controllerContext.getCurrentViewPort();
    viewPortContext.setViewId("test");
    Regards,
    Kenneth
    The deferred execution of ValueChangeEvent is necessary as the ViewID can only be changed in INVOKE_APPLICATION phase.

  • How to create t-code for a table and how to create transaction variant???

    Hi,
    I have created a custom table zsark.
    Now my requirement is : I have to create a transaction variant zsark_var for sm30 and table zsark. I have to disable the output of the first screen. I have to assign the transaction variant to the transaction code of table zsark.
    Now,
    1.     how to create transaction code to a table. Can any one give me the 
                    staps??
    2.     how to create transaction variant for the above requirement???
    Thanks & Regards,
    Sarkar

    Hi
    1 Goto SE93 transaction
    2 Choose 5th option Transaction with parameters
    3 Give transaction : SM30, Check Skip Initial Screen Press Enter
    4 Goto Bottom left corner, click F4 select viewname, on right hand side give table name
    5 Press one more time F4, choose update , mark it X on right side.
    6 save the transaction.
    Thanks
    sandeep
    reward if helpful

Maybe you are looking for