Pages based on the template is displayed in the preview

Hi all. I am a newbie to Dreamweaver and I have a problem with a site that was NOT created by me, but asked me to make a few simple changes to various pages (ha!). I downloaded the previous files of designers (via ftp) and did not transfer anything from the original location. Whenever I open my .shtml files (all) and try to preview in a browser, nothing in the template files mode is displayed.

For example, this is what I see in Dreamweaver (design mode):

Picture 1.png

and when I saw the file in Firefox or Safari, that's what I see:

Picture 2.png

I made sure the Styles of rendering/display/display Style is checked indeed.

Any ideas why the model elements show not on the preview? I even created a new page based on the template with the same results. Just for fun, the code for the template file is below.

Thank you

Kim


------------------------------

< ! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict / / IN" "http://www.w3.org/TR/html4/strict.dtd" > ""
< html >
< head >
<!-TemplateBeginEditable name = "doctitle"-->
< title > Coastal insulation LLC < /title >
<! - TemplateEndEditable - >
< meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 ">"
<!-TemplateBeginEditable name = "head"->
< name meta = "keywords" content = "" >
< name meta = "description" content = "" >
<! - TemplateEndEditable - >
"< link href="/css/global.css "rel ="stylesheet"type =" text/css">
"< link href="/css/section.css "rel ="stylesheet"type =" text/css">
"< link href="/css/print.css "rel ="stylesheet"type =" text/css"media ="print">
"< link href="/css/handheld.css "rel ="stylesheet"type =" text/css"media ="Pocket">
"<!-[if lt IE 6] > < link rel ="stylesheet"type =" text/css"media ="screen"href="/css/ie6.css "/ > <! [endif]-->
<!-TemplateParam name = "under title" type = "boolean" = "true"-> value <!-TemplateParam name = 'optional-lfContent' type = 'boolean' = 'false'-> value <!-TemplateParam name = "captionPhoto" type = "boolean" value = "true"->
< / head >

< body leftmargin = "0" topmargin = "0" marginWidth = "0" marginheight = "0" >
"<!--virtual="/includes/masthead.ssi #include "-->
<! - START content - >
< div id = "content" >
<! - left column of DEPARTURE - >
< div id = "lfColumn" >
"<!--virtual="/includes/lfNav.ssi #include "-->
<! - left content optional START - >
< div id = "lfContent" >
<!-TemplateBeginIf cond = "_document ["option lfContent"]"--> <!-TemplateBeginEditable name = "optional-lfContent"-->
the optional content < p > < /p > here
<! - TemplateEndEditable - > <! - TemplateEndIf - > < / div >
<! - left content optional END - >
< / div >
<! - left column of END - >
<! - BEGIN right column - >
< div id = "rtColumn" >
<!-TemplateBeginEditable name = "title"--> < h1 > title < / h1 > <! - TemplateEndEditable - >
<!-TemplateBeginIf cond = "_document ["sub-headline"]"--> <!-TemplateBeginEditable name = "Sub headline"--> < h2 > under title < / h2 > <! - TemplateEndEditable - > <! - TemplateEndIf - >
<!-TemplateBeginIf cond = "captionPhoto"--> <!-TemplateBeginEditable name = "captionPhoto"->
< ul class = "captionPhoto" >
image
Photo < /li > < li > legend
< /ul >
<! - TemplateEndEditable - > <! - TemplateEndIf - >
<!-TemplateBeginEditable name = "bodyCopy"->
Insert here the contents of < p > < /p >
<! - TemplateEndEditable - > < / div >
<!--> END right column
< br class = 'clear' >
< / div >
<! - END content - >
"<!--virtual="/includes/footer.ssi #include "-->
< / body >
< / html >

Just a guess, but it seems that the site uses SSI (shtml extension and there is a ssi include in your model). You will probably need a testserver running (like XAMPP) on your local system for this preview in a browser.

Friend

Tags: Dreamweaver

Similar Questions

  • Links of the CBC in the new page based on a template are inheriting from the previous version of the page

    I have problems with the CBC links when I create a new page from a template DWT. I hope someone can help me. Here's what I did.

    1. I copied an HTML page to a new site that I have created (1 Site) to an existing (Site 2) as well as all the images needed site and the CSS files.
    2. I edited the CBC code so that page copied to Site 2 (New Page) referenced the correct local CSS and image files
    3. I created a template the Page new DWT file in Site 2 but noted that the CBC links were still referencing image and CSS of the Site 1 files, so I edited this new as shown above.
    4. I created a new page, based on the model of TPL, but strangely, the CBC links are again referencing Site 1.

    I don't understand what is happening. DW is clearly still remember the original links and ignores changes.

    Thank you very much in advance for your help.

    Gary

    When I need to come a file from another site, here's what I do.

    Go to Site 1.  Open the file in Design view or Code view.  Turn off Live View.

    Go to Site 2.  File > save as new_filename.html in the root directory of the Site 2.

    DW should invite you to update the links.  Press YES.

    Close the Site 1 file.

    Check the file links 2 Site to ensure that they document.

    Validate code & solve the errors reported.

    When you are completely satisfied with your document, click file > save as template.

    DW will ask you to insert editable regions for content that changes from one page to another.  To do this and save your template.

    Close the model.

    File > new > Site Template Page.

    Press the button create.

    SaveAs index.html (your home page).

    Repeat for other pages of the site.

    Nancy O.

  • Pages based on the recognized but not secondary model updated

    I have DW CC. I do minor changes to the names on the bars of subnavigation on templates.  When I record, change is recognized and asks me if I want to update pages based on this template, and lists all the.  I updated.  The next area is LOOK IN: [auto filled in the correct Sub model], MODELS of UPDATE is enabled, and this appears:

    Macintosh HD:Users:marilynsair:Public:Website MSullivan 2015:htdocs update:

    Fact.

    files: 7

    updated files: 0

    the files that could not be updated: 0

    total: (0: 00:01).

    I get this same result for all secondary models.  I tried other ways to update and did not work.

    Here is the code for the template above under:

    "< html > <!-InstanceBegin template="/Templates/toplevel.dwt ' codeOutsideHTMLIsLocked = 'false'->

    < head >

    <!-InstanceBeginEditable name = "doctitle"-->

    lease < title > equity sharing agreement contract option forms to sell home < / title >

    <! - InstanceEndEditable - >

    < meta http-equiv = "Content-Type" content = "text/html"; >

    <!-fireworks MX, Dreamweaver MX target.  Created Tuesday, may 27, 11:39:27 GMT - 0700 2003->

    < script language = "JavaScript" >

    <!--

    <!--

    function MM_findObj (n, d) {//v4.01

    var p, i, x;  if(!d) d = document; If ((p = n.IndexOf ("?")) > 0 & & parent.frames.length) {}

    d = parent.frames [n.Substring(p+1)] .document; n = n.Substring (0, p) ;}

    If (!) () x = d [n]) & & copyrights) x = d.all [n]; for (i = 0;! x & & i < d.forms.length; i ++) x = d.forms [i] [n];

    for (i = 0;! x & & d.layers & & I < d.layers.length; i ++) x = MM_findObj (n, d.layers [i] .document);

    If (! x & & d.getElementById) x = d.getElementById (n); Return x;

    }

    function MM_swapImage() {//v3.0

    var i, j = 0, x, a = MM_swapImage.arguments; document. MM_sr = new Array; for (i = 0; i <(a.length-2); I += 3).

    If ((x = MM_findObj (a [i]))! = null) {document. MM_sr [j ++] = x; if(!x.oSrc) x.oSrc = x.src; x.SRC = a [i + 2] ;}

    }

    function MM_swapImgRestore() //v3.0 {}

    var i, x = offline. MM_sr; for (i = 0; a & & I <.) Length & & (x = a [i]) & & x.oSrc; i ++) x.src = x.oSrc;

    }

    function MM_preloadImages() {//v3.0

    var d = document; If (d.images) {if(!d.MM_p) d.MM_p = new Array();

    var i, j is d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i <.) Length; i ++)

    If (a [i].indexOf("#")! = 0) {d.MM_p [j] = new Image; d.MM_p [j ++] .src = a [i] ;}}

    }

    ->

    < /script >

    "" < link href = "... / _includes/style.css" rel = "stylesheet" type = "text/css" >

    <!-InstanceBeginEditable name = "head"--> <!-TemplateBeginEditable name = "head"--> <! - TemplateEndEditable - >

    < style type = "text/css" >

    <!--

    . Style1 {make-size: 9px}

    . Style4 {color: #990000}

    ->

    < / style >

    <! - InstanceEndEditable - >

    < name meta = "description" content = "" >

    < name meta = "keywords" content = "" >

    < / head >

    < body bgcolor = "#ffffff" LEFTMARGIN = 0 RIGHTMARGIN = 0 TOPMARGIN = 0

    MARGINHEIGHT = 0 marginWidth = 0 onLoad = "MM_preloadImages('..)." "> < a name = top > < /a >

    < table border = "0" cellpadding = "0" cellspacing = "0" width = "750" >

    < b >

    < td valign = top width = 197 >

    "" < img src = "... / pictures/house.jpg ' width = height 197 = 116 ="Law Office of Marilyn Sullivan"alt > < table >

    "" < td valign = top width = 433 > < img src = "... / pictures/logotype.gif" 433 height = width = 116 = "Law Office of Marilyn Sullivan" alt > < table >

    "" < td valign = top width = 120 > < img src = "... / pictures/tiffany.jpg ' height = 116 ="Law Office of Marilyn Sullivan"alt > < table >

    < /tr >

    < b >

    "" < td colspan = 3 valign = top > < img src = "... / images/tagline.gif" width = 750 height = 22 = "Law Office of Marilyn Sullivan" alt > < table >

    < /tr >

    < /table >

    < br >

    < table LEFTMARGIN = 0 RIGHTMARGIN = 0 TOPMARGIN = 0 MARGINHEIGHT = 0 marginWidth don't is 0 border = "0" cellpadding is "0" cellspacing = "0" width = "740" >

    < b >

    < td width = 196 valign = top >

    < table border = "0" cellpadding = "0" cellspacing = "0" width = "196" >

    "<!-fwtable fwsrc ="navigation.png"fwbase =" homepage_final_1d.gif "fwstyle ="Dreamweaver"fwdocid ="742308039"fwnested ="0"->

    < b >

    "" < td > < a href = "... / shared_ownership/index.html" Mm_swapimgrestore; "onMouseOver =" MM_swapImage ('equity_sharing', ",'... /images-NAV/shared_f2.gif',1)" > < img name = "equity_sharing" src =""... /images-NAV/Shared.gif "width ="196"height ="25"border ="0"alt ="Equity sharing"> < /a > < table >"

    < /tr >

    < b >

    "" < td valign = top > <!-InstanceBeginEditable name = "Equity subNav"--> < a href = "... / rent_to_own/How_it_Works.html ' class ="style1 leftlink"> < img src =" images/spacer.gif"width = 1 height = 3 > < /a > <!-InstanceEndEditable--> < table >"

    < /tr >

    < b >

    "" "< td > < a href ="... / rent_to_own/index.html "Mm_swapimgrestore" onMouseOver = "MM_swapImage ('Lease_option ',", '... /images-NAV/rent-to-OWN_f2.gif',1) "> < img src =" "... /images-NAV/rent-to-Own.gif" alt = "Lease Option" name = "Lease_option" width = "196" height = "25" border = "0" > < /a > < table > "

    < /tr >

    < b >

    < td valign = top > <!-InstanceBeginEditable name = 'Hiring subNav'->

    < ul class = "ul-leftlink" >

    "" < a href = "... / rent_to_own/How_it_Works.html" class = "leftlink" >

    HOW IT WORKS < /a > < br >

    "" < a href = "... / rent_to_own/Sample_Transaction.html" class = "leftlink" > SAMPLE TRANSACTION < /a > < br >

    "" < a href = "... / rent_to_own/Do_it_Yourself.html" class = "leftlink" > < /a > < br > DO-IT-YOURSELF

    "" < a href = "... / rent_to_own/Finding_a_Partner.html" class = "leftlink" > FIND A PARTNER < /a > < br >

    "" < a href = "... / rent_to_own/FAQ.html" class = "leftlink" > FAQS < /a > < br >

    < Br > PRODUCTS

    "" < a href = "... / rent_to_own/fees.html" class = "leftlink" > < /a > < br / > FEES

    < br >

    < /ul >

    <!-InstanceEndEditable--> < table >

    < /tr >

    < b >

    "" "< td > < a href ="... / for_sale/index.html "Mm_swapimgrestore" onMouseOver = "MM_swapImage ('Sale by Owner',",'... /images-NAV/sale_by_owner_f2.gif',1) "> < img src =" "... /images-NAV/sale_by_owner.gif" alt = "Sale by owner" name = "Sale by Owner" width = "196" height = "25" border = "0" > < /a > < table > "

    < /tr >

    < b >

    < td valign = top > < img src = "images/spacer.gif" width = 1 height = 1 > < table > "

    < /tr >

    < b >

    < td valign = top > <!-InstanceBeginEditable name = "ForSale subNav"--> < img src = "images/spacer.gif" width = 1 height = 1 > <!-InstanceEndEditable--> < table > "

    < /tr >

    < b >

    "" "< td > < a href ="... / loan_workout/index.html "Mm_swapimgrestore" onMouseOver = "MM_swapImage ('short sale',",'... /images-NAV/Loan-WORKOUT_f2.gif',1) "> < img src =" "... /images-NAV/Loan-Workout.gif" alt = "short sale" name = "short sale" width = "196" height = "25" border = "0" > < /a > < table > "

    < /tr >

    < b >

    "" < td valign = top > <!-InstanceBeginEditable name = "short_sale subNav"--> < img src = "... / images/spacer.gif" width = 1 height = 3 > <!-InstanceEndEditable--> < table >

    < /tr >

    < b >

    "" "< td > < a href ="... / Testimonials/index.html "Mm_swapimgrestore" onMouseOver = "MM_swapImage ('Blog '", '... /images-NAV/blog_f2.gif',1) "> < img src =" '... /images-NAV/blog.gif ' alt = 'blog' name = 'Blog' width = "196" height = "25" border = '0' > < /a > < table > "

    < /tr >

    < b >

    "" < td valign = top > <!-InstanceBeginEditable name = 'blog subNav'-> < img src = "... / images/spacer.gif" width = 1 height = 3 > <!-InstanceEndEditable--> < table >

    < /tr >

    < b >

    "" < td > < a href = "... / products/index.html" Mm_swapimgrestore; "onMouseOver =" MM_swapImage ('products', ",'... /images-NAV/products_f2.gif',1)" > < img name = "products" src =""... /images-NAV/Products.gif "width ="196"height ="25"border = '0' alt = 'Products' > < /a > < table >"

    < /tr >

    < b >

    < td valign = top > <!-InstanceBeginEditable name = 'SubNav products' - > < img src = "images/spacer.gif" width = 1 height = 2 > <!-InstanceEndEditable--> < table > "

    < /tr >

    < b >

    < td valign = top > < img src = "images/spacer.gif" width = 1 height = 1 > < table > "

    < /tr >

    < b >

    "" < td > < a href = "... / contact/index.html" Mm_swapimgrestore; "onMouseOver =" MM_swapImage ('contact' ",'... /images-NAV/contact_f2.gif',1)" > < img name = "contact" src =""... /images-NAV/contact.gif "width ="196"height ="25"border ="0"alt ="Contact Us"> < /a > < table >"

    < /tr >

    < b >

    < td valign = top > <!-InstanceBeginEditable name = "Contact subNav"--> < img src = "images/spacer.gif" width = 1 height = 3 > <!-InstanceEndEditable--> < table > "

    < /tr >

    < b >

    "" < td > < a href = "... / index.html" Mm_swapimgrestore; "onMouseOver =" MM_swapImage ('home', ",'... /images-NAV/home_f2.gif',1)" > < img name = 'home' src =""... /images-NAV/Home.gif "width ="196"height ="25"border ="0"alt ="Homepage"> < /a > < table >"

    < /tr >

    < /table >

    < table >

    < td width = "544" valign = top >

    < table width = 96% cellpadding = 0 cellspacing = 0 border = 0 align = center >

    < b >

    < td valign = top class = "16" > <!-InstanceBeginEditable name = "content area"->

    < p >

    < table width = "150" border = "0" cellspacing = "0" cellpadding = "1" align = "right" bgcolor = "#660066" >

    < b >

    "" < td > < img src = "... / images/hdr_whats_new.gif" width = "150" height = "16" > < table >

    < /tr >

    < b >

    < td >

    < table width = "" 100% "border ="0"cellspacing ="0"cellpadding ="1"bgcolor ="#FFFFFF">"

    < b >

    < class = 'daily-padding' td valign = "top" >

    < p align = "center" > < b > Article in the Wall Street Journal < /b > < / p >

    < p align = "left" > Marilyn was interviewed for an article

    on equity sharing. "< a href ="... / shared_ownership/articles.html "> click on"

    here for the article. < /a > < /p >

    < p align = "center" > < b > can't sell? Rental option. < /b > < / p >

    < p align = "left" > Marilyn has created the Movated market

    Lease option as the answer to the real estate crisis.

    "< a href ="... / products/index.html "> click here for details." < /a > < /p > < table >

    < /tr >

    < / table > < table >

    < /tr >

    < /table >

    < p > Marilyn D. Sullivan is a lawyer and author, real estate developer

    Broker known nationally as the guru of sales creative and elected best

    Lawyer in his locale. Real estate is its lifeline and equity

    Sharing agreements and lease Option contracts are his specialties.

    She wrote 5 books of real estate and has travelled the country sharing

    his expertise on national television, including of Good Morning America, by

    radio and print. < /p >

    < p > since 25 years, Marilyn gave us the strategies to go

    beyond the conventional real transaction. She is a supporter of manufacturing

    the best of real estate, not only purchases and sales assets

    them, but relying on them for optimal operation. < /p >

    < p > first of all she gave us equity shares as a way to maximize profits and

    tax deductions through the sharing of property and obligations imposed.

    More recently, it has redefined the rental Option to respond to the

    real estate slump 2008, introducing the Option motivated rental market.            < /p >

    < p > in California, it facilitates the sale of real estate for sale by owner

    for a low fixed price. It also provides protection of assets by offering

    Training of the limited liability company to protect personal assets

    passive real estate related. < /p >

    < p > her collection of services provides the real estate owner

    a versatile to make the most of the property toolbox and

    to protect his personal real estate related responsibility. < /p >

    < p > not only no Marilyn believe in creative strategies, she believes

    in personal empowerment. She shares her own personal legal tools

    and forms with you so you can enter your own equity sharing

    Agreements and contracts of lease Option - in all the States of the union.

    It also gives you the tools to form your own California Limited

    SARL. "These tools are available by clicking on < a href ="... / products/index.html "> here < /a >."

    Check out the Blog of Marilyn, soon, to better understand and

    help of our real estate guru. < br >

    < br >

    < /p >

    < p align = "center" > < a href = ".. " http://www.msullivan.com/testimonials/index.html "> click here for reports < /a > < /p > .

    <! - InstanceEndEditable - >

    < hr noshade class = "top" > < div align = right class = "toplink" > < a href = "#top" > top of page < /a > < / div >

    < p > < /p > < table >

    < /tr >

    < /table >

    < table >

    < /tr >

    < /table >

    < script type = "text/javascript" >

    var (("https:" == document.location.protocol) = little? " ") https://SSL ." : " http://www .");

    document. Write (unescape ("% 3Cscript src ='" + little + "some google-analytics.com/ga.js type = ' text/javascript' %3E%3C/script%3E"));))

    < /script >

    < script type = "text/javascript" >

    var mouseover = _gat._getTracker("UA-5135880-1");

    pageTracker._trackPageview ();

    < /script >

    < / body >

    <! - InstanceEnd - > < / html >

    The page that you have demonstrated is linked to the toplevel.dwt' as can be checked on your first line of code, namely

    Template="/templates/toplevel.dwt".

    Any changes you want to make to your document are possible only in the said model.

    I've never used nested models and I would strongly encourage you to do the same, they are very difficult to maintain.

    Better to use server side includes (SSI) SSI as by SSI: the command Include or, if you are using PHP, PHP 5 include and require

    As a side note, it is advisable to provide a type of document at the beginning of the document. See here the HTML doctype declaration

  • How to navigate to the next page based on the value returned by the method call inside the action attribute of the command key.

    How to navigate to the next page based on the value returned by the method call inside the action attribute of the command key.

    I use JDeveloper 12.1.2.0.0

    < af:button id = "tt_b2".

    rendered = "#{attrs.nextRendered} '"

    partialSubmit = 'true '.

    action = "#{attrs.backingBean.nextAction} '"

    Text = "next".

    Disabled = "#{attrs.nextDisabled}" / >

    private static final String NEXT_NAVIGATION_ACTION = "controllerContext.currentViewPort.taskFlowContext.trainModel.getNext";

    public String nextAction() {}

    If (validate()) {}

    updateModel();

    Return NEXT_NAVIGATION_ACTION;

    }

    Returns a null value.

    }

    Use case is made for model train, which is being implemented based on this blog: http://javacollectibles.blogspot.co.UK/2014/10/ADF-train-template.html

    We define a generic action following in the model, but the action must be called under certain conditions, based on the question of whether all validation controls had been passed on no.

    You can do this in two ways:

    1 returnValue = (String) ADFUtils.invokeEL("#{controllerContext.currentViewPort.taskFlowContext.trainModel.getNext}");

    return returnValue;

    2.

    public String getNextTrainStop() {}

    String nextStopAction = null;

    ControllerContext controllerContext = ControllerContext.getInstance ();

    ViewPortContext currentViewPortCtx = controllerContext.getCurrentViewPort ();

    TaskFlowContext taskFlowCtx = currentViewPortCtx.getTaskFlowContext ();

    TaskFlowTrainModel taskFlowTrainModel = taskFlowCtx.getTaskFlowTrainModel ();

    TaskFlowTrainStopModel currentStop = taskFlowTrainModel.getCurrentStop ();

    Terminus of TaskFlowTrainStopModel = taskFlowTrainModel.getNextStop (currentStop);

    nextStopAction = nextStop.getOutcome ();

    _logger.fine ("train, next stop:"+ nextStopAction ");

    Return nextStopAction;

    }

  • How can I insert spry accordion in pages based on a template?

    I made a few pages based on a template. Then I wanted to put accordion spry on some of these pages based on a template.

    When I try to place an editable in spry Dreamveawer CS5 icon stops.

    It does not allow me to spry accordion in an editable region in model or saying that I should put in the locked region. When I try it stops. In fact, what I need, it is to use spry in only a few pages based on a template. I guess I need to do the head and waistcoat is editable. I tried this but I failed.

    How can I achieve this?

    Thanks in advance for any help

    Show me your code first, please.

  • Customize a page based on the SQL function

    Hello

    Please someone help me solve this problem.

    In a page I am Image. By clicking on the image, a page will open. The image is created using the code of the controller.

    The values are displayed in the second page based on the clicked image.

    While the page is being prepared a SQL function must obtain an entry and based on the input TextField should be changed to read-only or not.

    Thanks in advance,
    Roselyne

    There is no log file for OFA...

    Set the profile FND: Diagnostics to 'yes '.

    You can see the error on the screen.

    Prasanna-

  • Redirect to 3 different pages based on the value of the Auto complete field.

    Hi friends,

    I use a "Auto complete field" in a page for research (Apex version 4.0). But I need to get the values of the 3 tables and when you click on the redirection of the value to one of the 3 pages based on the value.

    For example, I have 3 tables. 1 customer 2 Sites 3.Employees. When I enter "c" in the search field, I need to get values of 3 tables in this area "AutoComplete". That is to say, if I have a customer with the name "cusotmer1", "customer2" and the location with the names of "cisc1", "cisc2" and employees with the name "cid1", "cid2"; When I enter "c" in the FQDN of the auto all 6 values must be given in the "AutoComplete" box and clicking on "customer1" / "customer2" need to redirect to the 'customer' page When you click on 'cisc1' / 'cisc2' redirect to 'site' when clicking on "cid1" / "cid2" redirect to the page of the employees. Is there a way to do this. Help, please.


    Kind regards
    NAV

    Net asset value,
    Here is a sample page that uses the code I proposed works fine for me with FF and IE (8.0).

    http://Apex.Oracle.com/pls/Apex/f?p=18:3

    Note: I've added a warning message before being submitted

    This page works by your side?

  • Redirecting to the page based on the domain name

    I have a domain main site it www.tesseract.co.uk with another domain www.tesseractusa.com pointing to it.
    I would like the '.com' to have specific pages we visitors. I'm looking for a way to redirect to a specific page based on the domain name.

    Hope you can give some advice.

    Thank you
    Richard

    Dave,
    Awesome, works perfectly!

    First post you was right! I've slightly modified your script:

    <%@LANGUAGE="VBSCRIPT"%>
    < %="">< br="">sname = Request.ServerVariables("SERVER_NAME")% < br=""> sname = ucase (sname) < br=""> if InStr (sname, "WWW.TESSERACTUSA.COM") <> 0 THEN< br="" >="">
    End If< br="" >="" %="">

    I really, really appreciate help you.
    Thank you
    Richard

  • Redirect to different pages based on the value of linked report table

    Hello

    I wanted to navigate to different pages of a report link based on a value from the table on which the report is based. I was able to link to a particular page without any problem.

    But I wanted to link to different pages depending on the value in the table. Please let me how can know I do this?

    Thank you

    Kaminey wrote:
    I use Apex 4.2 and my report is a classic.

    If I click on empID in a classic report, now it redirects to page 1. Now what I want to do, if I click empID, if his role as MANAGER he should redirect to page 2 and fill out the form on the page with the details of the employee. The role of the employee is ANALYST should redirect to page 3 and fill in the form on the page with its details

    This approach makes maximum use of the APEX has standard and minimizes the extra programming.

    1. If it is not already included as a displayed value, include the role column giving the value of MANAGER/ANALYST as a hidden column in the report.

    2. create the link in the column on the EmpID column, with the target of the link on the same page as the report and ask the role column value (for example #ROLE #).

    3. on the page of the report, create a On Load: front branch to page 2, with an request = Expression 1 condition with 1 Expression defined for the MANAGER.

    4. on the report page, create a On Load: front branch to page 3, with a Request = Expression 1 Expression 1 ANALYSTvalue condition.

  • How to set the landing page based on the login information?

    Hello

    I'm on 4.0.2 Apex and use the custom with application authentication table users (that is, the application itself that manages the connection).

    The application has a few tabs and based on the role of the logged in user, I show/hide the tabs using conditional display.

    Things are very well so far, but I don't know how to change the default landing page connecting based on the role.

    By default, page 1 appears when connecting, but not all roles have access to this page. How can I change the launch page, under certain conditions?

    For example,.
    If the role is Admin then go to page 1,
    If the role provider then go to page 310
    .
    .
    etc.

    I use the logon page out-of-the-box 101


    Thanks for the help.

    I quickly tested on an ApEx 3.2 above environment. It worked only once I've changed the URL of disconnection in the authentication scheme:

    wwv_flow_custom_auth_std.logout? p_this_flow = & APP_ID. & p_next_flow_page_sess = & APP_ID.: 101

    I changed the id app at the end of 1 to 101.

  • Resizing of the banner to an Apex page based on the size of the browser

    Hi all

    I've placed a banner in an application and must leave the banner automatically resize based on the om the size of the browser.
    I think I have to use java script on this one.
    I don't know much about Javascript, so please any help is welcome.

    Than that you guys said something? :
    (I want resize available for anyone with a wider than 930px browser)

    var body_check = {setInterval (function ()}
    If (document.body) {}
    clearTimeout() (body_check);

    If (document.body.clientWidth > 930)
    document.body.className += "large";
    }
    (}, 10);


    And maybe add to the theme_3_1.css (?):

    #body {width: 760px ;}}
    #main h1 {width: 560px ;}}
    hickiing #main {width: 444px ;}}

    Body.Wide #body {width: 910px ;}}
    Body.Wide #main h1 {width: 710px ;}}
    hickiing body. Wide #main {width: 594px ;}}


    Where in the Apex I put the javascript code?

    Thanks in advance.

    Sincere friendships Reena.

    Published by: Reena Mahepal on September 3, 2009 06:42

    Hello

    OK - on my page template, the value of the header is:

    <html lang="&BROWSER_LANGUAGE.">
    <head>
    <title>#TITLE#</title>
    #HEAD#
    <link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_10/theme_3_1.css" type="text/css" />
    <style type="text/css">
    #banner {height: 70px; background: transparent url(#WORKSPACE_IMAGES#fernandes.jpg) no-repeat;}
    </style>
    <script type="text/javascript">
    function updateBanner()
    {
     var b = document.getElementById("banner");
     if (document.body.clientWidth > 930)
     {
      b.style.background = "url(#WORKSPACE_IMAGES#fernandeswide.jpg)";
     }
     else
     {
      b.style.background = "url(#WORKSPACE_IMAGES#fernandes.jpg)";
     }
    }
    </script>
    </head>
    <body #ONLOAD# onresize="javascript:updateBanner();">#FORM_OPEN#
    

    As part of body, I added id = "banner" to the table you made

    I also updated the footer parameter, for example, to:

    #REGION_POSITION_05#
    #FORM_CLOSE#
    <script type="text/javascript">
    updateBanner();
    </script>
    </body>
    </html>
    

    This is how the banner can be set correctly when the page first loads

    Andy

  • Change the content of the page based change the selection box

    Hi all

    I want to create a page with 2 box selection and 1 table below

    • Selection box
      • Box1: 1-12 (months of the year)
      • Box2: 2010-2015 (year between 2010 and 2015)
    • Table
      • Get data from view GET_DATA_SALARY. This view having a 4 column: NAME, SALARY, FAC_MONTH, FAC_YEAR
      • This table will be based on the selected value of 2 boxes above change

    Please help me solve this problem.

    Thank you

    To put it simply, add a button that submits the page.

    Add a where clause clause to your report

    where FAC_MONTH = P_MONTH

    and FAC_YEAR = P_YEAR

    Gus

  • Article to the page based on the body of the function

    Hello

    Apex 4.1.1 11 GR 2 linux oc4j

    I have two elements on the page that should be in function.

    I tried to do this in two ways.

    1. process across the page on load the prior header.


    de Debugging


    0.065940.20116... Run the statement: start if CHECK_FLAG_FACILTY( ) EVENS = > :P216_DETAIL) then : :P216_FACILITY_CHK = 'Y '; (- dbms_output. put_line () P216_FACILITY_CHK); -dbms_output. put_line 'TRUE'()); ANOTHER :P216_FACILITY_CHK := 'n'; (- dbms_output. put_line () P216_FACILITY_CHK); end if; If CHECK_FLAG_F_officer (EVENS = > :P216_DETAIL) then ::P216_OFFICER_CHECK = 'Y '; (- dbms_output. put_line () P216_officer_check); -dbms_output. put_line 'TRUE'()); ANOTHER :P216_OFFICER_CHECK:= 'n'; (- dbms_output. put_line () P216_officer_check); end if; END; end;4

    53

    http://10.22.8.30:8888/apex/f? p = 4000:939:347925946711601:NO:939:P939_PAGE_VIEW_ID:1117881 http://10.22.8.30:8888/apex/f? p = 4000:939:347925946711601:NO:939:P939_PAGE_VIEW_ID:11178810.267190.00145... Session state: saved point new 'P216_FACILITY_CHK' value = 'Y '.4

    0

    http://10.22.8.30:8888/apex/f? p = 4000:939:347925946711601:NO:939:P939_PAGE_VIEW_ID:1117881 http://10.22.8.30:8888/apex/f? p = 4000:939:347925946711601:NO:939:P939_PAGE_VIEW_ID:11178810.268570,00063... Session state: saved point new value "P216_OFFICER_CHECK" = "N".

    Values are met in session, but they are not displayed on the page.

    2.), I have two elements on the page in the source element

    call this function

    Begin

    : P216_FACILITY_CHK := null;

    if CHECK_FLAG_FACILTY( ) EVENS = > :P216_DETAIL) then

    : P216_FACILITY_CHK := 'Y ';

    (- dbms_output. put_line () P216_FACILITY_CHK);

    -dbms_output. put_line 'TRUE'());

    ON THE OTHER

    : P216_FACILITY_CHK := 'n';

    (- dbms_output. put_line () P216_FACILITY_CHK);

    end if;

    END;

    Source

    Top

    current value
    source

    But still it would be empty all the time.

    I guess for this feature...

    For your APEX point, you have the SOURCE = "PL/SQL function.

    The SQL code in the "Source" for this element should have a "return" statement

    The SQL you provided (I suppose has the same value as 'Source') did not have a "return" statement

    interesting note: when I didn't have a 'return' for items with "function from PL/SQL ', I got a weird error.

    so, I wonder if Miss me just a few information...

  • Prevent the print page based on the value of the field

    Hello. Is it possible to prevent certain pages to print based on the value of a field in the form?

    Similarly, is it possible to prevent certain pages according to a field value?

    I'm not a JS coder accomplished.

    Windows XP

    LiveCycle Designer ES2

    Thanks in advance

    Gary, NJ

    Hello

    I doubt that your condition if works or not. You can try with the couple of things:

    (1) write the same code in the Textfield output event instead of the current enter event.

    (2) check if the if condition works for value "xyz" or not by means of simple alert.

    If (topmostSubform.Page1.TextField1.rawValue == "xyz") {}
    Page2.presence = 'hidden ';

    App.Alert ("State of the hidden page"); just for testing purposes... Remove it at a later time
    }
    else {}
    Page2.presence = "visible";

    App.Alert ("visible condition to page");
    }

    This will help you know whether or not this condition actually works.

    'Hidden' will do a page hidden as well as it will not print it.

    Hope it should work for you.

    KC

  • How to disable a page based on the value of another element on the Page element?

    Hello

    How can I turn a page element using javascript based on the value of another element on the page?

    Eg: P1_TEXT want to be disabled if the value in P1_LCOK = "LOCK".

    How can I do this using javascript. I want this implemt on loading the page.

    Kind regards
    Benz

    Put this function in the page header:

    
    

    and call it in the footer:

    f_disable_item;
    

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

Maybe you are looking for

  • Apple Watch astronomy in wrong place

    Recently my Apple Watch "became black." Still, he had the battery power but was totally insensitive and did not show a black screen. Restart the watch solved this issue. I don't know if it's related, but the face of Apple Watch astronomy used to have

  • Satellite A200-1UM video driver

    Hi I have a problem with my video driver isn't on my leptop available and I don't know anything as it means that I can download.I hope one of you can help? Ever grateful for your help.

  • Customized online device synchronization

    Hello In one of our projects, we must pay special attention to synchronization. There are several custom devices (CD) that need to work together in a deterministic way. The question is: is at - it a way to ensure that the order of execution of the pa

  • My Wave keeps sound turns off. Why this is happening and how it stop?

    As in the cursor lies down at the bottom, effectively turning the sound on my computer!

  • HELLLPPP - a Section of Installation of Service in this INF is invalid?

    HELLLPPP - a Section of Installation of Service in this INF is invalid... My sony mp3 is not recognized by XP SP3 2002 when connected via USB. I get this error after you follow the instructions recommended to update the driver through my control pane