Name of editable instance inserted on page based on template

I use a template that has an editable area named "scripts."
The code, when I open the template in Dreamweaver, looks like this:
<!-- TemplateBeginEditable name="scripts" --><!--
TemplateEndEditable -->
However, when I use a browser to go to a page based on that
template, the word "scripts" appears at the upper left corner of
the page. You can see an example here:
http://www.ellenfinkelstein.com/powerpoint_tip_link_and_return.html
When I view the source in my browser, the code reads like
this:
<!-- InstanceBeginEditable name="scripts"
-->scripts<!-- InstanceEndEditable -->
Why does the name of the area appear between the tags and
therefore on my page, when it's not in the original code? I've just
modified the template and uploaded all the changed pages, so I know
that they reflect the current template.
Thanks for any help!
Ellen
www.ellenfinkelstein.com
Thanks,
Ellen

Change this -
<!-- InstanceBeginEditable name="scripts"
-->scripts<!--
InstanceEndEditable -->
to this -
<!-- InstanceBeginEditable name="scripts" --><!--
InstanceEndEditable -->
in the child page.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"ellenfinkl" <[email protected]> wrote in
message
news:gla783$chl$[email protected]..
>I use a template that has an editable area named
"scripts." The code, when
>I
> open the template in Dreamweaver, looks like this:
> <!-- TemplateBeginEditable name="scripts"
--><!-- TemplateEndEditable -->
>
> However, when I use a browser to go to a page based on
that template, the
> word
> "scripts" appears at the upper left corner of the page.
You can see an
> example
> here:
http://www.ellenfinkelstein.com/powerpoint_tip_link_and_return.html
>
> When I view the source in my browser, the code reads
like this:
> <!-- InstanceBeginEditable name="scripts"
-->scripts<!--
> InstanceEndEditable
> -->
> Why does the name of the area appear between the tags
and therefore on my
> page, when it's not in the original code? I've just
modified the template
> and
> uploaded all the changed pages, so I know that they
reflect the current
> template.
> Thanks for any help!
> Ellen
> www.ellenfinkelstein.com
> Thanks,
> Ellen
>
>

Similar Messages

  • Need help with create page based on template

    I created a template on my class computer and i created few
    pages based on it.
    Today i moved all the file&folders to my private
    computer, and when i tried to create a new page based on the
    template I got a messege:
    Error accessing file: "c:\sigal\....\template_site.dwt"
    sharing violation (error code 32)
    What is wrong? What do I have to do?
    Can anybody help me please???
    10x

    Please respond to your reply on the DW forum.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "michal2401" <[email protected]> wrote in
    message
    news:eds23r$nhp$[email protected]..
    >I created a template on my class computer and i created
    few pages based on
    >it.
    >
    > Today i moved all the file&folders to my private
    computer, and when i
    > tried to
    > create a new page based on the template I got a messege:
    > Error accessing file: "c:\sigal\....\template_site.dwt"
    sharing violation
    > (error code 32)
    >
    > What is wrong? What do I have to do?
    >
    > Can anybody help me please???
    >
    > 10x
    >
    >
    >

  • Page based on template don't update image path

    When I create a new page beased on a template in the
    templates folder some of the image paths don't update.
    A div in the template has the following style code
    "background-image: url(../images/leftframe.png);
    background-repeat:repeat-y".
    When the new page is created, and before it is saved in the
    correct folder the code turns to: "background-image:
    url(file:///MYDISK/CLIENTFOLDER/client_webpages/images/leftframe.png);
    background-repeat:repeat-y".
    This is perfect, because the new page still don't know its
    correct path. But in CS3, and earlier versions of Deamweaver the
    path was updated when the new page was saved. That does not happen
    in CS4.
    Linked css files and other image and file paths are updated
    as it should, but this div style is not.
    I know the work arounds; move the div style code to the css
    file, open the html page in an other html editor correct it and
    paste it back...
    I don't want to spend time changing my templates or perform
    work arounds when it is obvious that there is a bug in CS4.
    Others with the same experience or a way to solve the
    problem? Or should I send Adobe a bug report?
    Stavanger

    > I know the work arounds; move the div style code to the
    css file, open the
    > html page in an other html editor correct it and paste
    it back...
    Here's a better one - make the link root relative rather than
    document
    relative.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Mr. Stavanger" <[email protected]> wrote in
    message
    news:gmu4dv$i4q$[email protected]..
    > When I create a new page beased on a template in the
    templates folder some
    > of
    > the image paths don't update.
    > A div in the template has the following style code
    "background-image:
    > url(../images/leftframe.png);
    background-repeat:repeat-y".
    >
    > When the new page is created, and before it is saved in
    the correct folder
    > the
    > code turns to: "background-image:
    >
    url(file:///MYDISK/CLIENTFOLDER/client_webpages/images/leftframe.png);
    > background-repeat:repeat-y".
    >
    > This is perfect, because the new page still don't know
    its correct path.
    > But
    > in CS3, and earlier versions of Deamweaver the path was
    updated when the
    > new
    > page was saved. That does not happen in CS4.
    >
    > Linked css files and other image and file paths are
    updated as it should,
    > but
    > this div style is not.
    >
    > I know the work arounds; move the div style code to the
    css file, open the
    > html page in an other html editor correct it and paste
    it back...
    >
    > I don't want to spend time changing my templates or
    perform work arounds
    > when
    > it is obvious that there is a bug in CS4.
    >
    > Others with the same experience or a way to solve the
    problem? Or should I
    > send Adobe a bug report?
    >
    > Stavanger
    >

  • Updating pages that use templates takes forever!

    All I often have to update pages based upon template changes,
    and I have a huge site 10,000 pages, it take dw forever to look
    through evryhting, to find the corect pages. Is there anyway I can
    specify what folder to find the pages rather then it looking
    through the whole site?
    thanks!

    The maximum practical site size for which a *Templates ONLY*
    approach makes
    sense is about 100 files. You are 100 times greater than
    that.
    Unfortunately, you are now stuck. The best thing you can do
    is to slowly
    work your way out of Templates and into server side includes
    instead.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "missymonolo" <[email protected]> wrote in
    message
    news:gd82j2$cgb$[email protected]..
    > All I often have to update pages based upon template
    changes, and I have a
    > huge
    > site 10,000 pages, it take dw forever to look through
    evryhting, to find
    > the
    > corect pages. Is there anyway I can specify what folder
    to find the pages
    > rather then it looking through the whole site?
    > thanks!
    >

  • Browse-edit pages based on procedures : how to refresh browse page ?

    Hi,
    i have i browse page based on procedure
    to edit record's data i use a separate edit page based on procedure.
    how can i refresh data on browse page when back from edit page?

    yes, no argue , this is a straightforward decision...
    i've created VOs on both procedures, then connected them via VL: master for browse , detail for edit, both are single record views
    does it change anything? any auto-requery, or something without explicit java call?

  • How can I insert multiple page contents in the page layout properly?

    I wanted to create 4 columns on the page layout. These 4 columns are of page contents.
    After creating new web page based on that page layout, I attempted to enter 4 different inputs on all 4 columns.
    Then, the result (from all columns) becomes the same.
    Image - edit the web page based on 4 columns page layout:
    Image - after edit & save:
    How can I insert multiple page contents in the page layout properly?

    First, I copied the HTML snippet for the Page Content on Sharepoint's Design Manger. The code of Page Content HTML snippet is shown below:
    <div data-name="Page Field: Page Content">
    <!--CS: Start Page Field: Page Content Snippet-->
    <!--SPM:<%@Register Tagprefix="PageFieldRichHtmlField"
    Namespace="Microsoft.SharePoint.Publishing.WebControls"
    Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0,
    Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--MS:<PageFieldRichHtmlField:RichHtmlField
    FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server">-->
    <!--PS: Start of READ-ONLY PREVIEW (do not modify)-->
    <div id="ctl02_label" style="display:none">Page Content</div>
    <div id="ctl02__ControlWrapper_RichHtmlField" class="ms-rtestate-field"
    style="display:inline" aria-labelledby="ctl02_label"><div align="left"
    class="ms-formfieldcontainer"><div class="ms-formfieldlabelcontainer"
    nowrap="nowrap"><span class="ms-formfieldlabel"
    nowrap="nowrap">Page Content</span></div>
    <div class="ms-formfieldvaluecontainer"><div class="ms-rtestate-field">
    Page Content field value. Lorem ipsum dolor sit incididuntet dolore.</div>
    </div></div></div><!--PE: End of READ-ONLY PREVIEW-->
    <!--ME:</PageFieldRichHtmlField:RichHtmlField>-->
    <!--CE: End Page Field: Page Content Snippet-->
    </div>
    After I published the page layout, I found the code for Page Content from its ASPX page. The code is shown below:
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/></div>
    So, I attempted to create 4 columns by using 4 HTML snippets of Page Content on the same page layout. The page layout is generated from HTML file to ASPX file.
    Then I edited some parts in ASPX page layout:
    <asp:Content runat="server" ContentPlaceHolderID="PlaceHolderMain">
    <table>
    <tr>
    <td style="width:70px;">&nbsp;</td>
    <td style="width:250px; text-align:right;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:40px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:25px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:25px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:175px;">&nbsp;</td>
    </tr>
    </table>
    </asp:Content>
    The 4 columns for Page Contents appeared on the web page when I created new page using that page layout. But the problem is that all 4 columns displayed the same result from 4th column.

  • Help! Using "Create" action in insert jsp page vs in submission page.

    This is regarding creating a new record using data TAGS:
    I'm in a dilemma as to whether I should use the data source tag <jbo:Row id="myrow" datasource="iss_vo1" action="Create">
    in my first jsp page ( which accepts input from a user) or in the 2nd jsp page (which does the actual commit).
    If I actually create the view record n the first page itself then I get into all kinds of problems if the user decides against saving the record and backs out.[because there is a null hanging record out there]
    But if I don't use it, then I am unable to use my LOVs in the html form.
    Can anyone help me resolve this issue?
    Currently I have used the data source tag
    <jbo:Row id="myrow" datasource="iss_vo1" action="Create">
    in my first JSP page.
    Below is my complete source code for both the JSP pages:
    Source Code for iss_add.jsp:
    ======================
    Please note that in this JSP , it creates a new record and then the user has to click on the "SAVE" button (which calls another jsp "iss_add_post.jsp") to save the changes. But what if the user does not click on the save BUTTON and instead click on the "back" tab. This is where all the problem occurs. How do I get rid of this problem?
    If I try to just use an HTML form without creating a record in this page then how will I use the LOVs?
    <%@ page contentType="text/html;charset=WINDOWS-1252"%>
    <HTML>
    <base target="contentsframe">
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1252">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    </TITLE>
    </HEAD>
    <BODY>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule id="NewBC4J.NewBC4JModule" configname="NewBC4J.NewBC4JModule.NewBC4JModuleLocal" />
    <jbo:DataSource id="pri_vo" appid="NewBC4J.NewBC4JModule" viewobject="PrioritiesView" />
    <jbo:DataSource id="app_vo" appid="NewBC4J.NewBC4JModule" viewobject="ApplicationsView" />
    <jbo:DataSource id="per_vo" appid="NewBC4J.NewBC4JModule" viewobject="PersonView" >
    <jbo:DataSource id="iss_vo1" appid="NewBC4J.NewBC4JModule" viewobject="IssuesView5" /></jbo:DataSource>
    <jbo:Row id="myrow" datasource="iss_vo1" action="Create">
    </jbo:Row>
    <table width="100%" bgcolor="skyblue" border="0" align="center">
    <tr>
    <td>
    <table width="100%" bgcolor="tan" border="0" align="center" cellpadding="3" cellspacing="0">
    <form NAME="iForm" action="iss_add_post.jsp">
    <tr>
    <th colspan="2">
    "Add New Issues"
    </th>
    </tr>
    <jsp:include page="Message.jsp" flush="true">
    <jsp:param name="colspan" value="2"/>
    </jsp:include>
    <tr>
    <td align="Right"><b><font color="red">Priority:</font></b></td>
    <td> <jbo:InputSelect datasource="iss_vo1" dataitem="PriCd"
    displaydatasource="pri_vo" displaydataitem="Descr" displayvaluedataitem="Cd" />
    </td>
    </tr>
    <tr>
    <td align="right"><b><font color="red"> Description:</font></b></td>
    <td> <jbo:InputTextArea datasource="iss_vo1" dataitem="IssDesc" rows="3" cols="50" />
    </td>
    </tr>
    <tr>
    <td align="right"><b><font color="red"> Application:</font></b></td>
    <td> <jbo:InputSelect datasource="iss_vo1" dataitem="AppCode"
    displaydatasource="app_vo" displaydataitem="Name" displayvaluedataitem="Code" />
    </td>
    </tr>
    <tr>
    <td align="right"><b><font color="red"> Assigned To: </font></b></td>
    <td> <jbo:InputSelect datasource="iss_vo1" dataitem="AssignedToPerId"
    displaydatasource="per_vo" displaydataitem="FirstName" displayvaluedataitem="PerId" />
    </td>
    </tr>
    <tr>
    <td align="right"><b><font color="red"> Raised By: </font></b></td>
    <td> <jbo:InputSelect dataso urce="iss_vo1" dataitem="RaisedByPerId"
    displaydatasource="per_vo" displaydataitem="FirstName" displayvaluedataitem="PerId" />
    </td>
    </tr>
    <tr>
    <td align="Right"><b><font color="red"> Resolution: </font></b></td>
    <td> <jbo:InputTextArea datasource="iss_vo1" dataitem="Resolution" cols="50" rows="3" />
    </td>
    </tr>
    </table>
    <!-- Create a table for the save Button -->
    <table width="100%" bgcolor="skyblue" align="center" cellpadding="10" cellspacing="0" >
    <tr>
    <input name="RowKeyValue" type="hidden" value="<jbo:ShowValue datasource="iss_vo1" dataitem="RowKey"/>" />
    <td>
    <input type = "submit" name="submit" value="Save">
    </td>
    </form>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </BODY>
    </HTML>
    <jbo:ReleasePageResources releasemode="Stateful" />
    Source Code for iss_add_post.jsp:
    ============================
    This is where the actual commit occurs. But user may decide not to come here at all by not clicking the save button. What happens to the record created ? How Can I rollback that information?
    <%@ page language="java" contentType="text/html;charset=WINDOWS-1252" %>
    <html xmlns:jbo="foo">
    <body>
    <center>
    <br>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <br>
    <jbo:ApplicationModule id="NewBC4J.NewBC4JModule" configname="NewBC4J.NewBC4JModule.NewBC4JModuleLocal" username="issue" password="issue"/>
    <br>
    <jbo:DataSource id="iss_vo1" appid="NewBC4J.NewBC4JModule" viewobject="IssuesView5"/>
    <jbo:Row id="row3" datasource="iss_vo1" action="Current" >
    <jbo:SetAttribute dataitem="*" />
    </jbo:Row>
    <%
    try
    %>
    <jbo:Commit appid="NewBC4J.NewBC4JModule"/>
    <p><font face="Arial, Helvetica, sans-serif"><b><font color="006699">Issue Record Inserted Successfully! Issue# Assigned: <jbo:ShowValue datasource="iss_vo1" dataitem="Id" /></b></font></font> </p>
    <%
    catch(Exception exc)
    out.println("<pre>");
    exc.printStackTrace(new java.io.PrintWriter(out));
    out.println("</pre>");
    %>
    <br>
    <br>
    <form action="iss_ListIssues.jsp" method="post"><input type="submit" value="Click to Continue"></form>
    </center>
    </body>
    <jbo:ReleasePageResources releasemode="Stateful"/>
    </html>
    null

    [email protected]
    I can't actually see any LOV's on your first page so I am not completely sure that I understand your situation. However if you are talking about using the InputSelectLOV datatag, there is no reason why you cannot use that within a html form, without having to create a record in the RowSet.
    The Insert page is by default created without any datasources - just a standard HTML form. The form is submitted and the InsertSubmit page reads the values from the request object, matches the parameter names with your VO attribute names and does your create.
    Your LOV data will be coming from another table so doing a Row tag Create on your Insert page won't make any difference to it. Have I misunderstood something here? I have used LOV's on my Insert pages and I definitely have not created a row in the Rowset anywhere but the Submit pages.
    There is a problem on both Edit and Insert pages whereby if there are no rows in the table for which you have a datasource defined you can get problems, but it doesn't sound as though that is your problem. Maybe I need some more information from you?
    Simon

  • Restricting Fields (Items in a Page) based on Userid

    I have an opportunity to replace a bunch of departmental MS Access DB's with HTMLDB. I have HTMLDB 1.6.1 running in a 9.2.0.6 database on Solaris with the 10g (R1) app server. I am very impressed overall with this product. I have created a bunch of samples apps based on existing Oracle DB tables (from existing pl/sql toolkit and jsp/servlet based apps).
    I have a requirement to develop a page where some users can see/update all fields and some users can only see/update specific fields. I may put these requirements in a database table (userid, table,field_name,access_type - None, Read,ReadWrite).
    In the Edit Page Item screen has anyone used the Authorization, Conditional Display, and/or Read Only Display settings to accomplish this?
    Thanks, Dave

    > I tried going into the
    > template and adding an editable or optional region
    within the <body> tag, but
    > it won't let me do that, and inserts it after the tag.
    editable regions can't contain the head or body tag.
    select the body tag in the quick tag selector (bottom left
    margin of design
    window)
    then go to Modify-->templates-->add editable attribute
    and add an onload attribute.
    in the child page, use modify->Template parameters to add
    the preload.
    Or- use some other javascript preloader inside of an editable
    region in the
    head section.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Preloading an image in a page based on a template

    I have a fairly simple problem here, there must be a simple
    solution. I hope!
    I have a site whose pages are all based on one DW template.
    On each page, there is a single image (a different one on each
    page) that I want to have preload. It is not part of any rollovers
    but is a significant graphical element and it is distracting that
    it is the final component to load each time. All I want to do is
    add it to the preload list in each page's <body> tag, but I
    am unable to do that, as it is not an editable area. I tried going
    into the template and adding an editable or optional region within
    the <body> tag, but it won't let me do that, and inserts it
    after the tag.
    I don't want to detatch my pages from the template, I am sure
    the client will have future site-wide changes.
    How can I do this? Thanks in advance for any help.

    > I tried going into the
    > template and adding an editable or optional region
    within the <body> tag, but
    > it won't let me do that, and inserts it after the tag.
    editable regions can't contain the head or body tag.
    select the body tag in the quick tag selector (bottom left
    margin of design
    window)
    then go to Modify-->templates-->add editable attribute
    and add an onload attribute.
    in the child page, use modify->Template parameters to add
    the preload.
    Or- use some other javascript preloader inside of an editable
    region in the
    head section.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Editing in a non editable region in web page

    After tiding up my site, (removing spaces etc in files names)
    my links on the nav page did not work to the next page.
    They are in a locked template area so i opened the template
    up and changed them, but they do not update the pages based on the
    template ? Will it because I changed my web page names (took out
    the spaces)
    How do i get them to update, either by putting the new file
    names in the template or unlocking the locked template area and
    manually putting in the new link names to the other pages ?

    Please go to SITES | Manage Sites..., select the site name,
    and click on
    Edit. Click on the Advanced tab at the top. Tell me the
    following -
    Under LOCAL INFO
    The contents of "Local root folder:"
    It appears that your site is improperly defined. Your links
    look like
    this -
    <a href="../webpages/index.htm"
    and I'm betting that "webpages" is the name of the root
    folder of the site.
    There's no way that your template (or any page, for that
    matter) should
    contain the name of the root folder in any link to any file.
    I believe you would be better advised to start over with a
    fresh site
    definition, honestly.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "grahamdvddvd" <[email protected]> wrote in
    message
    news:[email protected]...
    > hi this is part 1 of it
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    > "
    http://www.w3.org/TR/html4/loose.dtd">
    > <html>
    > <head>
    > <!-- TemplateBeginEditable name="doctitle" -->
    > <title>index</title>
    > <!-- TemplateEndEditable --><meta
    http-equiv="Content-Type"
    > content="text/html; charset=iso-8859-1">
    > <link href="../stylesheet.css" rel="stylesheet"
    type="text/css">
    > <script language="JavaScript"
    type="text/JavaScript">
    > <!--
    > function MM_preloadImages() { //v3.0
    > var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
    Array();
    > var i,j=d.MM_p.length,a=MM_preloadImages.arguments;
    for(i=0;
    > i<a.length;
    > i++)
    > if (a
    .indexOf("#")!=0){ d.MM_p[j]=new Image;
    > d.MM_p[j++].src=a;}}
    > }
    >
    > 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])&&d.all) x=d.all[n]; for
    (i=0;!x&&i<d.forms.length;i++)
    > x=d.forms
    [n];
    >
    for(i=0;!x&&d.layers&&i<d.layers.length;i++)
    > x=MM_findObj(n,d.layers.document);
    > if(!x && d.getElementById)
    x=d.getElementById(n); return x;
    > }
    >
    > function MM_nbGroup(event, grpName) { //v6.0
    > var i,img,nbArr,args=MM_nbGroup.arguments;
    > if (event == "init" && args.length > 2) {
    > if ((img = MM_findObj(args[2])) != null &&
    !img.MM_init) {
    > img.MM_init = true; img.MM_up = args[3]; img.MM_dn =
    img.src;
    > if ((nbArr = document[grpName]) == null) nbArr =
    document[grpName] =
    > new
    > Array();
    > nbArr[nbArr.length] = img;
    > for (i=4; i < args.length-1; i+=2) if ((img =
    MM_findObj(args
    > !=
    > null) {
    > if (!img.MM_up) img.MM_up = img.src;
    > img.src = img.MM_dn = args[i+1];
    > nbArr[nbArr.length] = img;
    > } }
    > } else if (event == "over") {
    > document.MM_nbOver = nbArr = new Array();
    > for (i=1; i < args.length-1; i+=3) if ((img =
    MM_findObj(args)) !=
    > null) {
    > if (!img.MM_up) img.MM_up = img.src;
    > img.src = (img.MM_dn && args[i+2]) ? args[i+2] :
    ((args[i+1])?
    > args[i+1]
    > : img.MM_up);
    > nbArr[nbArr.length] = img;
    > }
    > } else if (event == "out" ) {
    > for (i=0; i < document.MM_nbOver.length; i++) {
    > img = document.MM_nbOver
    ; img.src = (img.MM_dn) ? img.MM_dn :
    > img.MM_up; }
    > } else if (event == "down") {
    > nbArr = document[grpName];
    > if (nbArr)
    > for (i=0; i < nbArr.length; i++) { img=nbArr;
    img.src =
    > img.MM_up;
    > img.MM_dn = 0; }
    > document[grpName] = nbArr = new Array();
    > for (i=2; i < args.length-1; i+=2) if ((img =
    MM_findObj(args
    )) !=
    > null) {
    > if (!img.MM_up) img.MM_up = img.src;
    > img.src = img.MM_dn = (args[i+1])? args[i+1] :
    img.MM_up;
    > nbArr[nbArr.length] = img;
    > } }
    > }
    > //-->
    > </script>
    > <!-- TemplateBeginEditable name="head" --><!--
    TemplateEndEditable -->
    > <style type="text/css">
    > <!--
    > body {
    > background-image: url();
    > }
    > -->
    > </style></head>
    >
    > <body class="backgroundgrey"
    >
    onLoad="MM_preloadImages('../buttons/buttons2_r1_c1_f3.gif','../buttons/buttons2
    >
    _r1_c1_f2.gif','../buttons/buttons2_r1_c2_f3.gif','../buttons/buttons2_r1_c2_f2.
    >
    gif','../buttons/buttons2_r1_c3_f3.gif','../buttons/buttons2_r1_c3_f2.gif','../b
    >
    uttons/buttons2_r1_c4_f3.gif','../buttons/buttons2_r1_c4_f2.gif','../buttons/but
    >
    tons2_r1_c5_f3.gif','../buttons/buttons2_r1_c5_f2.gif','../buttons/buttons2_r1_c
    >
    6_f3.gif','../buttons/buttons2_r1_c6_f2.gif','../buttons/buttons2_r1_c7_f3.gif',
    >
    '../buttons/buttons2_r1_c7_f2.gif','../buttons/buttons2_r1_c9_f3.gif','../button
    >
    s/buttons2_r1_c9_f2.gif','../buttons/buttons2_r1_c11_f3.gif','../buttons/buttons
    > 2_r1_c11_f2.gif')">
    > <table width="100%" border="0" cellpadding="0"
    cellspacing="0"
    > class="backgroundgrey">
    > <tr>
    > <th scope="col"><p
    class="backgroundgrey">mmuk</p>
    > <table width="680" border="0" cellspacing="0"
    cellpadding="0">
    > <tr>
    > <th height="108" colspan="6" scope="col"><div
    align="center"><img
    > src="../images/logo.jpg" width="680" height="100"
    border="1"></div></th>
    > </tr>
    > <tr>
    > <td colspan="6"><table border="0"
    cellpadding="0" cellspacing="0"
    > width="680">
    > <!-- fwtable fwsrc="Untitled" fwbase="new
    buttons.gif"
    > fwstyle="Dreamweaver" fwdocid = "549260974" fwnested="0"
    -->
    > <tr>
    > <td><img src="../buttons/spacer.gif" alt=""
    name="undefined_2"
    > width="76" height="1" border="0"></td>
    > <td><img src="../buttons/spacer.gif" alt=""
    name="undefined_2"
    > width="75" height="1" border="0"></td>
    > <td><img src="../buttons/spacer.gif" alt=""
    name="undefined_2"
    > width="76" height="1" border="0"></td>
    > <td><img src="../buttons/spacer.gif" alt=""
    name="undefined_2"
    > width="75" height="1" border="0"></td>
    > <td><img src="../buttons/spacer.gif" alt=""
    name="undefined_2"
    > width="76" height="1" border="0"></td>
    > <td><img src="../buttons/spacer.gif" alt=""
    name="undefined_2"
    > width="75" height="1" border="0"></td>
    > <td><img src="../buttons/spacer.gif" alt=""
    name="undefined_2"
    > width="76" height="1" border="0"></td>
    > <td><img src="../buttons/spacer.gif" alt=""
    name="undefined_2"
    > width="74" height="1" border="0"></td>
    > <td><img src="../buttons/spacer.gif" alt=""
    name="undefined_2"
    > width="1" height="1" border="0"></td>
    > <td><img src="../buttons/spacer.gif" alt=""
    name="undefined_2"
    > width="76" height="1" border="0"></td>
    > <td><img src="../buttons/spacer.gif" alt=""
    name="undefined_2"
    > width="1" height="1" border="0"></td>
    > </tr>
    > </table></td>
    >

  • How to insert a HYPERLINK in a template Editable Field?

    Question:  How to insert a HYPERLINK in a template Editable Field?
    Hi
    Does anyone know how to insert a HYPERLINK in a template Editable Field?
    I want the link to always display the word "Cities".
    But the URL will change with each child page.
    Here's what I've got so far . . .
    <!-- TemplateBeginEditable name="Cities" -->Cities<!-- TemplateEndEditable -->
    Thanks so much!

    NOTE: This is to go into the TEMPLATE
    Your best bet is to keep the hyperlink OUT of the editable Field and to make the HREF attribute of the link editable.
    This would go in the head of your document:
    <!-- TemplateParam name="href" type="URL" value="" -->
    This would go where you want the link to appear:
    <a href="@@(href)@@">cities</a>
    THE BETTER WAY: You can either paste these quotes into the appropriate places in your template or you can insert:
    <a href="#">cities</a>
    and click inside the opening <a> tag.
    Then go to Modify > Templates > Make Attribute Editable
    In the dialog box "Editable Tag Attributes" you should now see "Choose which attributes of this A tag should be editable."
    If HREF is not showing in the drop-down, do Add and put it there.
    Check the box to Make this attribute editable.
    Give a name for this editable attribute (if you have more than one on a page, you will want it to be understandable, like "cities" for your cities links).
    Make sure it is of Type URL
    If you want a default URL in place, put one in the Default field.
    Then push OK.
    To use it, on each page, do Modify > Template Properties... choose the property to edit, and put the new URL in the entry field.
    Press OK.
    Beth

  • Navigate to next page based on inputtext input

    hi i have a situation where i have to enter value in inputtext and navigate to next page and display values in lov in next page based on the value entered in inputtext,and able to make selection in lov and navigate to next page and display value on lov selection for example i have inputtext where i have to enter department name and when i navigate i must have lov in next page which list employees belong to that department and make selection of one employee and navigate to next page and display that employee information in next page,am in jdeveloper 11.1.1.6.0 have anybody done that
    Edited by: adf009 on 2013/03/16 4:18 PM

    hi am not able to navigate based on the lov selection am geting this error ,this happen after i enter my departmentname and able to navigate to next page,but when i make selection in my lov next page to navigate to another page i get below error
    JBO-25020: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    Error     
    View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    i re-upload the sample http://www.datafilehost.com/download-023d31b6.html
    <SimpleSelectOneRenderer> <_getSelectedIndex> Could not find selected item matching value "2" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=soc1]
    neworg 105
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    oracle.jbo.RowNotFoundException: JBO-25020: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowInRSI(DCJboDataControl.java:1520)
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowWithKeyValue(DCJboDataControl.java:1416)
         at oracle.adf.model.binding.DCIteratorBinding.setCurrentRowWithKeyValue(DCIteratorBinding.java:3513)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1588)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at view.SelectedEmp.showSelectedOrg(SelectedEmp.java:64)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <RegionRenderer> <encodeAll> The region component with id: r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
    <SimpleSelectOneRenderer> <_getSelectedIndex> Could not find selected item matching value "2" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=soc1]
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
    oracle.jbo.RowNotFoundException: JBO-25020: View row with key oracle.jbo.Key[105 ] is not found in EmployeesView1Iterator.
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowInRSI(DCJboDataControl.java:1520)
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowWithKeyValue(DCJboDataControl.java:1416)
         at oracle.adf.model.binding.DCIteratorBinding.setCurrentRowWithKeyValue(DCIteratorBinding.java:3513)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1588)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at view.SelectedEmp.showSelectedOrg(SelectedEmp.java:64)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)hi did you able to undestand my problem
    Edited by: adf009 on 2013/03/26 4:52 PM

  • Redirect to 3 diffrent pages based on value in the Auto complete field.

    Hi Friends,
    I am using an "Auto complete field" in a page for searching(Apex version 4.0). But i need to get values from 3 tables and when clicking on the value redirect to any of the 3 pages based on the value.
    For example i am having 3 tables. 1.Customers 2.Sites 3.Employees. When i enter 'c' in the search field i need to get values from 3 tables to be listed in that "auto complete" field. i.e, if i am having customer with name 'cusotmer1', 'customer2' and site with names 'cisc1','cisc2' and employees with name'cid1','cid2' ; when i enter 'c' in the auto complete field all 6 values must be listed in the "auto complete" field and when clicking on 'customer1'/'customer2' need to redirect to page 'customer'. When clicking on 'cisc1'/'cisc2' redirect to "site" when clicking on 'cid1'/'cid2' redirect to employees page. Is there any way to achieve this. Please help.
    Regards,
    Nav

    Hi Nav,
    OK - on my page 1, I have a "Text Field with autocomplete" item called P1_SELECTION. The List of Values definition setting for this is:
    WITH D AS (SELECT ENAME || ' (Employee)' X
    FROM EMP
    UNION ALL
    SELECT DNAME || ' (Department)' X
    FROM DEPT)
    SELECT X
    FROM D
    ORDER BY 1This adds the appropriate suffix to each item to show where the data is from - you can change this if you want as this becomes part of the searchable text.
    On page 1, I have a normal SUBMIT button.
    Then I have two branches:
    1 - settings are:
    Branch Type: Branch to Page or URL
    Branch Point: On Submit: After Processing (After Computation, Validation, and Processing)
    Target Type: Page in this Application
    Page: 2 (the employee edit page)
    Clear Cache: 2
    Set these items: P2_ENAME
    With these values: &P1_SELECTION.
    Condition Type: Exists (SQL query returns at least one row)
    Expression 1:
    SELECT 1
    FROM DUAL
    WHERE :P1_SELECTION LIKE '%(Employee)'When Button Pressed: SUBMIT
    2 - settings are:
    Branch Type: Branch to Page or URL
    Branch Point: On Submit: After Processing (After Computation, Validation, and Processing)
    Target Type: Page in this Application
    Page: 3 (the department edit page)
    Clear Cache: 3
    Set these items: P3_DNAME
    With these values: &P1_SELECTION.
    Condition Type: Exists (SQL query returns at least one row)
    Expression 1:
    SELECT 1
    FROM DUAL
    WHERE :P1_SELECTION LIKE '%(Department)'When Button Pressed: SUBMIT
    On page 2 (the employee edit form), I have Computation with the following settings:
    Item Name: P2_EMPNO
    Type: SQL Query (return single value)
    Computation Point: Before Header
    Computation:
    SELECT EMPNO
    FROM EMP
    WHERE ENAME || ' (Employee)' = :P2_ENAME Condition Type: Exists (SQL query returns at least one row)
    Expression 1:
    SELECT 1
    FROM DUAL
    WHERE :P2_ENAME LIKE '%(Employee)'On page 3 (the department edit form), I have Computation with the following settings:
    Item Name: P2_DEPTNO
    Type: SQL Query (return single value)
    Computation Point: Before Header
    Computation:
    SELECT DEPTNO
    FROM DEPT
    WHERE DNAME || ' (Department)' = :P3_DNAMECondition Type: Exists (SQL query returns at least one row)
    Expression 1:
    SELECT 1
    FROM DUAL
    WHERE :P3_DNAME LIKE '%(Department)'The idea is that we append some fixed text to the end of the names in the autocomplete list. When the user clicks submit after selecting a name, one of the branches will be triggered depending on which fixed text is there. The branch sets the ENAME or DNAME value on the edit page and the computation on that page retrieves the appropriate EMPNO or DEPTNO value to put into the primary key page item (the main "Fetch Row..." process will then use that to get the real data for the record).
    Note that this assumes that ENAME and DNAME are unique on their tables - otherwise, the computations will not be able to find a single record and an error would be generated.
    Andy

  • Editable Regions Across Multiple Pages

    Is it possible to create an editable region in a template
    that when edited would update all the pages within a website? For
    example, I am working on a website for a symphony. They want their
    upcoming events listed on the sidebar of each page and want to
    update this information frequently. But, they have over 50 pages.
    Any suggestions?

    I'm afraid that will make a mess. The entire body contents
    will be placed
    in the right editable region....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "amadas" <[email protected]> wrote in
    message
    news:ea9i2c$i1t$[email protected]..
    > Hi cbteel,
    >
    > I have a solution for you. Not sure if you are still
    looking for?
    >
    > You should be having Dreamweaver to do this.
    >
    > Follow the steps below to create a new template:
    >
    > 1. Launch Dreamweaver
    > 2. File->New->Template Page, Choose HTML Template,
    click Ok
    > 3. Insert->Table, 1 Row and 2 columns. Adjust the
    size of the row and
    > column accordingly so that you would see the first
    coulmn to show the size
    > of
    > your upcoming events..
    > 4. In Column1, click and Insert->Template
    Objects->Editable Region,
    > name it
    > and click ok
    > 5. In Column2, click and insert->template
    objects->Editable Region,
    > name it
    > and click ok
    > 6. Save the template (.dwt) file in your site.
    > 7. Open all the 50 html pages in Dreamweaver and choose
    one by one.
    > 8. Modify->Template->Apply Template to this Page,
    > 7. This will open up Mapping dialogue. Map the Body to
    Right Site
    > editable
    > region as you want and save the html pages.
    >
    > Hope this helps.
    >
    > Thanks
    > Arun (Contribute Team)
    >

  • Cannot a get JSP page instance from a page being destroyed

    We have a J2EE app, using Struts + Tiles (build 1.1-b3), running on Win2KPro, Ora9ias v9.0.3. The application is roles-based, and different users see different versions of the same page based on their role authorizations. Occasionally, when multiple users in different roles are requesting the same page, the app returns the following exception:
    OracleJSP:
    JSP Error:
    Request URI:/fast/WEB-INF/jsp/tiles/layouts/baseLayout.jsp
    Exception:
    javax.servlet.ServletException: Cannot a get JSP page instance from a page being destroyed
         at oracle.jsp.runtimev2.JspPageInstFacade.getInstance(JspPageInstFacade.java:147)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:303)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at com.gal.fast.portal.web.SessionInitializedFilter.doFilter(SessionInitializedFilter.java:105)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:556)
         at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:119)
         at org.apache.struts.tiles.TilesUtilStrutsModulesImpl.doInclude(TilesUtilStrutsModulesImpl.java:124)
         at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:161)
         at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:703)
         at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:818)
         at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:467)
         at web2d_inf._jsp._tiles._layouts._baseLayout._jspService(_baseLayout.java:445)
         [SRC:/WEB-INF/jsp/tiles/layouts/baseLayout.jsp:149]
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at com.gal.fast.portal.web.SessionInitializedFilter.doFilter(SessionInitializedFilter.java:105)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:556)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1033)
         at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:269)
         at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:249)
         at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:303)
         at org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.java:401)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1422)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:505)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at com.gal.fast.portal.web.FastActionServlet.service(FastActionServlet.java:110)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at com.gal.fast.portal.web.SessionInitializedFilter.doFilter(SessionInitializedFilter.java:105)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:556)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:536)
    All the code in the two custom classes above ( com.gal.fast.portal.web.SessionInitializedFilter and com.gal.fast.portal.web.FastActionServlet ) has been commented out to the point that they are NOOP stubs.
    We only see this with multiple near-simultaneous requests for the same page with differet roles. It smells like a threading issue to me, but I'm no expert (hence this post). Any thoughts?
    --matt

    We have a J2EE app, using Struts + Tiles (build 1.1-b3), running on Win2KPro, Ora9ias v9.0.3. The application is roles-based, and different users see different versions of the same page based on their role authorizations. Occasionally, when multiple users in different roles are requesting the same page, the app returns the following exception:
    OracleJSP:
    JSP Error:
    Request URI:/fast/WEB-INF/jsp/tiles/layouts/baseLayout.jsp
    Exception:
    javax.servlet.ServletException: Cannot a get JSP page instance from a page being destroyed
         at oracle.jsp.runtimev2.JspPageInstFacade.getInstance(JspPageInstFacade.java:147)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:303)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at com.gal.fast.portal.web.SessionInitializedFilter.doFilter(SessionInitializedFilter.java:105)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:556)
         at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:119)
         at org.apache.struts.tiles.TilesUtilStrutsModulesImpl.doInclude(TilesUtilStrutsModulesImpl.java:124)
         at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:161)
         at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:703)
         at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:818)
         at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:467)
         at web2d_inf._jsp._tiles._layouts._baseLayout._jspService(_baseLayout.java:445)
         [SRC:/WEB-INF/jsp/tiles/layouts/baseLayout.jsp:149]
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at com.gal.fast.portal.web.SessionInitializedFilter.doFilter(SessionInitializedFilter.java:105)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:556)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1033)
         at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:269)
         at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:249)
         at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:303)
         at org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.java:401)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1422)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:505)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at com.gal.fast.portal.web.FastActionServlet.service(FastActionServlet.java:110)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at com.gal.fast.portal.web.SessionInitializedFilter.doFilter(SessionInitializedFilter.java:105)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:556)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:536)
    All the code in the two custom classes above ( com.gal.fast.portal.web.SessionInitializedFilter and com.gal.fast.portal.web.FastActionServlet ) has been commented out to the point that they are NOOP stubs.
    We only see this with multiple near-simultaneous requests for the same page with differet roles. It smells like a threading issue to me, but I'm no expert (hence this post). Any thoughts?
    --matt

Maybe you are looking for

  • Is there any way to re-install iOS 7.1.2 onto an iPad Air?

    Hi all, I have installed iOS 8 onto my iPad Air. Whilst it is by and and large reasonable there are a couple of apps that just don't work. Both warmed flawlessly before i updated. The first problem is shown here deals with TV Cover Art  and appears i

  • Customer wants Inventory Transfer to associate Freight/Landed Cost to Items

    This is the situation: SAP B1 customer wants sells items from warehouse 01 and warehouse 02. Warehouse 01 on eastern side of Canada and Warehouse 02 on Western side. They would like to transfer certain items to warehouse 02. However, it involves Frei

  • Oracle NoSQL YCSB - continuously increasing execution time

    Greetings, currently I am testing several nosql databases using YCSB. I am new to that type of databases, but I have already tested few of them. I am using VM with 2GB RAM and hosted on Win 7. Even though it is not recommended, since I am working in

  • Availibity Confirmation

    Hi All , We have process as we create a Factory order (ZFAC) and customer Order (ZCUS)for configurable material (Two different Sales Order) for a legacy Order . Factory Order goes to factory and follows below process PRu2014PO --- Inbound Delivery u2

  • Registering Quicktime Pro only possible in a few countries?

    Hello, I recently wanted to upgrade to Quicktime Pro, but found out that I can only purchase a registration key from an online Apple Store, which, unfortunately is available only in select few countries. I would understand the hardware store, but sho