SCRIPT calls inside a template - these won't update

OK, no more \\ talk... Please!  you say...  and I agree!
Well I may have committed another faux pas, this time in a .dwt.  The following code is found inside my "master template" for this bike shop.
<html>
<head>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
  <!-- TemplateBeginEditable name="doctitle" -->
  <title>Exeter Cycles, Exeter New Hampshire - Specializing in NH Seacoast Cycling!</title>
  <!-- TemplateEndEditable -->
  <META NAME="keywords" CONTENT="new hampshire, exeter, cycles, cycling, bicycle, shop, new, hampshire, seacoast, mountain, road, bmx, kids, kid's, bike, bikes, riding, rides, tires, chains, cogs, wheels, handlebars, tubes, brakes, pedals, pedalling">
<SCRIPT LANGUAGE = "JavaScript" type="text/javascript" src="../mouse_over1.js"></SCRIPT>
<!-- removed embedded styles completely 5/12/11 - HS -->
<!-- removed table based constructs top six pgs HS 4/28/11-->
<!-- Used Absolute positioning for Right Nav sections HS 4/3/11 -->
<!-- Created EC page master template for ease of management HS 4/27/11-->
<link href="../css/site_wide.css" rel="stylesheet" type="text/css">
</head>
<body>
Note the 8th text line where I use src="../mouse_over1.js" and in the .js we change colors on some click buttons as the person rolls over.  This is inherited code and I take no credit for having created it - but now I'm dealing with it and trying to learn a little about what this does and how it does it.  However, if I look in, say index.html (which is built and updated on this template) this is what I get after an Update as well as after a File >Save All:
<SCRIPT LANGUAGE = "JavaScript" type="text/javascript" src="mouse_over1.js"></SCRIPT>
No ../mouse_over1.js and so the mouse_over feature fails when index.html is first called to a browser.  The result is the infamous "red-X" syndrome - the graphic is not being found.  I think it's because the template has ../ but somehow is not applying it to index.html.  Strangely, when updated, all other pages (except this one) get template changes applied and any of the other buttons are clicked the links work and the color changes also work.  It's only when the page (index.html) is first called.
Now as an experiment, I commened out the above line in the .dwt to see what the results were.  And in index.html this is what I see in idex.html:
<!--<SCRIPT LANGUAGE = "JavaScript" type="text/javascript" src="../mouse_over1.js"></SCRIPT>-->
Note that in the commented section here, the template imposed ../.  I then go back, un-comment the template at that line and I get:
<SCRIPT LANGUAGE = "JavaScript" type="text/javascript" src="mouse_over1.js"></SCRIPT>
No dot-dot-slash again!  So, what do I have?  Maybe I don't know that a <SCRIPT> item should not be included in a template and maybe this should not be included in a template.  Or maybe it positioned incorrectly in the template.
What do you good folks think?
H

OK, I am still having trouble with this.  I have tried everything - honestly have - to get the proper code set up in the Template so that it propagates correctly out to my pages.  I've put in the "../" in the Template - updated.  I've left off the "../" in front of each "src=".  That completely fails.  I've moved everything to the root of my C drive (I was desperate!).  The graphic elements (clickable button box links) appear when index.html is called from "Preview in Browser" but as soon as you rollover any other button, that button goes to "red-X" meaning that the reference is bad.  Clicking on the "red-X" button brings you to the proper page so the links work.  But when "About Us" for example is called or clicked, they all work ("rollover effect") fine.
I must have some sort of structural defect or there must be a setting inside DW that I don't know about that makes this happen.  I have a tendency to think it's a basic structural fault:
File/Folder
Location in Tree
index.html
C:\My Documents\EC\TodayWork\
Templates (folder)
C:\My Documents\EC\TodayWork\
EC_Master_Template
C:\My Documents\EC\TodayWork\Templates
about_us.html
C:\My Documents\EC\TodayWork\AboutUs\
services.html
C:\My Documents\EC\TodayWork\Service\
15 jpgs for rollovers (varying colors for effects)
C:\My Documents\EC\TodayWork\graphics\
mouseover1.js
C:\My Documents\EC\TodayWork\
more files with the same basic structure
Here is a chunk of code from my Template:
<a HREF="../index.html" onMouseOver="imgOn('holder')" onMouseOut="imgOff('holder')">
<img name="holder" src="../graphics/home.jpg" alt="" width="100" height="90" border="0">
<br />
</a>
<a HREF="../services/services.html" onMouseOver="imgOn('img3')" onMouseOut="imgOff('img3')">
<img name="img3" src="../graphics/work_gray.jpg" alt="Services" width="100" height="90" border="0"></a>
<br />
Here is the resultant code in index.html:
<a HREF="index.html" onMouseOver="imgOn('holder')" onMouseOut="imgOff('holder')">
<img name="holder" src="graphics/home.jpg" alt="" width="100" height="90" border="0">
<br />
</a>
<a HREF="services/services.html" onMouseOver="imgOn('img3')" onMouseOut="imgOff('img3')">
<img name="img3" src="graphics/work_gray.jpg" alt="Services" width="100" height="90" border="0"></a>
<br />
And here a chunk from services.html:
<a HREF="../index.html" onMouseOver="imgOn('holder')" onMouseOut="imgOff('holder')">
<img name="holder" src="../graphics/home.jpg" alt="" width="100" height="90" border="0">
<br />
</a>
<a HREF="services.html" onMouseOver="imgOn('img3')" onMouseOut="imgOff('img3')">
<img name="img3" src="../graphics/work_gray.jpg" alt="Services" width="100" height="90" border="0"></a>
<br />
I've looked over the javascript.  I've not touched it in any way from the original because I don't know much about java so I've left it intact.
if (document.images) {       //if image object is available    
img1on = new Image();  // MouseOver Images
img1on.src = "../graphics/product_color.jpg";
img2on = new Image();
img2on.src = "../graphics/racing_color.jpg";
img3on = new Image();
img3on.src = "../graphics/work_color.jpg";
Again, this has similarities to the case I brought up a couple of weeks ago.  I apparently didn't learn enough from that experience.  Do the inidiv pages have to come out of their folders and be on a peer level with index.html?   I don't understand where I could be wrong with this structure.  DW is doing what it's designed to do.  I'm setting up "Document Root" in the initialization screen.  I just ran into a buzzsaw on this one.
What should I be looking for to get this done.  Everything else on the site is working fine "locally".
I don't expect someone else to build this.  If I don't do this on my own, I don't learn.  But here all my self study has left me without a clue.
H

Similar Messages

  • Template pages won't update

    Hi,
    I am making a website for somebody and for now I am looking
    at it in a folder on my site. I am having trouble with the template
    pages not updating when I make changes to the template. Would it be
    because I have a folder named Template in my site and another one
    within the folder where the other site is? If so, how can I fix it?
    Thank you,
    Charley

    Here are six ways to make changes not propagate from Template
    to child -
    1. Rename the Templates folder
    2. Move the Templates folder to some other folder level in
    the site other
    than root level
    3. Move a template out of the Templates folder.
    4. Make changes to an editable region of the template (which
    will not
    propagate)
    5. Assume that template changes can be uploaded to the server
    without also
    uploading the changed local files
    6. Corrupt the site cache so that the link between template
    and child page
    is broken
    The latter problem can be repaired by using SITE | Advanced
    > Recreate Site
    Cache, and the five others can be fixed by just not doing
    them. Have you
    done any of those?
    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
    ==================
    "kapowd" <[email protected]> wrote in
    message
    news:e3r0p5$9md$[email protected]..
    > Hi,
    > I am making a website for somebody and for now I am
    looking at it in a
    > folder
    > on my site. I am having trouble with the template pages
    not updating when
    > I
    > make changes to the template. Would it be because I have
    a folder named
    > Template in my site and another one within the folder
    where the other site
    > is?
    > If so, how can I fix it?
    >
    > Thank you,
    >
    > Charley
    >

  • Template changes won't update the dependent files

    I am checking out a template file with its dependent files from my FTP server using Dreamweaver. I am making some changes, and saving it. It is supposed to prompt me to update the dependent files. But it doesn't. So none of the changes are applied to any of the files using the template. I also tried to update the pages manually by going to Modify>Templates>Update Pages.. But DW is looking into a different path to find the templates, rather than looking into the folder where the server is set-up. What is the best way to make this work?

    Is your site properly defined in Site > Manage Sites?
    Do you have the Template.dwt file in a Templates folder in your local site?
    Are you sure this is the right template for this project?
    Do you have all the child pages in your local site folder?
    It's important to understand that Templates do nothing on the web server.  They are proprietary to DW and only work on your local site files.
    Nancy O.

  • Execute a shell script from inside PL procedure

    Oracle 9205 on Red Hat Enterprise Linux 3.
    Is there any way to execute an O.S. shell script from inside a PL/SQL procedure?
    This is, that PL_SQL procedure evaluate a situation and if the condition is true, it calls and execute an O.S. shell script.

    PL/SQL procedures do not support any native calls to the OS; however, you can code calls to external procedures or JAVA procedures to perform tasks on the OS.
    Prior to these two methods any of the following packages dbms_alert, dbms_pipe, or utl_file could be combined with a daemon type program to issue OS commands, run shell scripts, etc....
    There is a writeup on metalink with examples.
    HTH -- Mark D Powell --

  • Breadcrumb in BSP is not working when application is called inside Portal.

    Dear All,
                We have implemented SAP Learning Solution by integrating it with SAP EP 7.0.
    We called the BSP Application HCM_LEARNING inside portal  using BSP iView template.
    The problem we are facing is, the breadcrumbs in the BSP application "HCM_LEARNING"  is working fine when it is called as a standalone application. But the same is not working when it is called inside portal framework page.
    Enterprise Portal breadcrumbs are working fine.
    How could we resolve this.?
    Regards,
    Eben Joyson.

    this is the radio button
    <af:selectOneRadio value="#{bindings.Gender1.inputValue}"
                                                     label="#{bindings.Gender1.label}"
                                                     required="#{bindings.Gender1.hints.mandatory}"
                                                     shortDesc="#{bindings.Gender1.hints.tooltip}"
                                                     id="sor5">
                <f:selectItems value="#{bindings.Gender1.items}" id="si7"/>
              </af:selectOneRadio>
    i use this sample
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF_Insider_Essentials/ADF_Insider_Essential_YesNoRadio/ADF_Insider_Essential_YesNoRadio.html

  • Several scripts calling one application...

    I'm setting up several stay-open applescripts. Each watches its own hotfolder for incoming PDFs, then tells Photoshop to process the files as needed, and ultimately saves each as a new file.
    Sometimes, when two or more of these scripts call on Photoshop at the same time, it gets confused in various ways. One time it saved all the new files under an identical name. Another time, one of the files just stayed open and never saved. There's never a problem when only one script is working at a time, but I don't have the luxury of just avoiding simultaneous requests... in the intended environment, they're gonna happen.
    Is there something I can do to make Photoshop deal with just one script at a time, and then move right on to the next?

    There are several approaches to this.
    One is to have a flag in your script that detects if an existing image is being processed - this could be as simple as touching a file on disk when you start and deleting it when you're finished. That way when your second script fires it checks for the file - if it's there it pauses until the file is deleted.
    Another approach is to query the application to see what its doing - for example if Photoshop is normally running without any windows open, a quick check on the number of documents would tell you if Photoshop is busy.
    A third approach (which may be the better one, but requires more knowledge of the script) is to properly target the document in Photoshop.
    For example, if your script does something like:
    open file
    do action 1
    do action 2
    do action 3
    close file
    then there's nothing in those actions that tell Photoshop WHERE to perform the action. If you have multiple documents open it's bound to get confused at some point.
    Instead you should consider something more like:
    open file (and get its ID)
    do action 1 on document ID
    do action 2 on document ID
    do action 3 on document ID
    close file
    In this way you're being specific about which document each action should be performed on. Since each open document would have a unique ID it's quite possible to have action 1 running on document 1 at the same time action 2 is running on document 2.
    As I mentioned, this approach requires more scripting and requires support in Photoshop which may or may not be there (I don't run Photoshop to know how scriptable it is), but it's the most robust solution.

  • Template won't update

    I have had this problem for a while and finally opted to post
    for an answer.
    I updated Dreamweaver from 3.0 to 8... however there is an
    old site of mine I want to edit and for some reason I am getting
    major errors and it won't update the templates.
    I posted one template file here:
    www.getouttoday.com/template/About.dwt
    The error alert says "THere is an error at line 3, column 24
    (absoulte position 85); Missing Name for #Begin Editable
    Please advise.

    <script language="JavaScript" type="text/javascript">
    <!--
    function MM_jumpMenu(targ,selObj,restore){ //v3.0
    eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
    if (restore) selObj.selectedIndex=0;
    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr;
    for(i=0;a&&i<a.length&&(x=a
    )&&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=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) { //v3.0
    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); 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))!=null){document.MM_sr[j++]=x;
    if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    </head>
    <body bgcolor="#FFFFFF"
    background="../images/basics/gylines.gif"
    onload="MM_preloadImages('../images/basics/gotlocal_on.gif','../images/basics/gotknow_on. gif','../images/basics/gotplay_on.gif','../images/basics/gotshop_on.gif','../images/basics /gotsavings_on.gif','../images/basics/gotwin_on.gif')">
    <div align="left" class="leftside">
    <table width="100%" border="0" cellspacing="0"
    cellpadding="0" background="../images/basics/grycheckwhite.gif">
    <tr background="../images/basics/grycheckwhite.gif">
    <td width="190"><a href="../index.html"><img
    src="../images/basics/GOT_home2.gif" width="186" height="59"
    alt="Get Out Today: student entertainment guide" border="0"
    /></a></td>
    <td width="490" height="65"><div
    align="center"><!-- TemplateBeginEditable name="adhere"
    -->{adhere}<!-- TemplateEndEditable -->
    </div></td>
    <td width="*"> </td>
    </tr>
    <tr bgcolor="#999999">
    <td colspan="2"
    background="../images/basics/midlayr_bkgrd.gif"><b><img
    src="../images/clearpix.gif" width="10" height="1" /><a
    href="../local/index.htm" onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('Image5','','../images/basics/gotlocal_on.gif',1)"><img
    src="../images/basics/gotlocal_off.gif" name="Image5" width="106"
    height="31" border="0" id="Image5" /></a><a
    href="../know/index.htm" onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('Image6','','../images/basics/gotknow_on.gif',1)"><img
    src="../images/basics/gotknow_off.gif" name="Image6" width="106"
    height="31" border="0" id="Image6" /></a><a
    href="../play/index.htm" onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('Image7','','../images/basics/gotplay_on.gif',1)"><img
    src="../images/basics/gotplay_off.gif" name="Image7" width="106"
    height="31" border="0" id="Image7" /></a><a
    href="../shop/index.htm" onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('Image8','','../images/basics/gotshop_on.gif',1)"><img
    src="../images/basics/gotshop_off.gif" name="Image8" width="105"
    height="31" border="0" id="Image8" /></a><a
    href="../gotcard/index.htm" onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('Image9','','../images/basics/gotsavings_on.gif',1)"><img
    src="../images/basics/gotsavings_off.gif" name="Image9" width="106"
    height="31" border="0" id="Image9" /></a><a
    href="../register/index.htm" onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('Image10','','../images/basics/gotwin_on.gif',1)"><img
    src="../images/basics/gotwin_off.gif" name="Image10" width="107"
    height="31" border="0" id="Image10"
    /></a></b></td>
    <td width="*"
    background="../images/basics/midlayr_bkgrd.gif" bgcolor="#999999"
    valign="middle"><a href="
    http://ccprod.roving.com/roving/sa/fp.jsp?plat=i&amp;p=f&amp;m=co6flun6"><img
    src="../aboutus/images/tellafriend.gif" width="44" height="22"
    border="0" /></a></td>
    </tr>
    </table>
    <div align="left">
    <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    <tr>
    <td rowspan="3" bgcolor="#6699CC" width="160"
    valign="top" height="200"
    background="../aboutus/images/blback.gif"><!--
    TemplateBeginEditable name="table" -->{table}<!--
    TemplateEndEditable --> </td>
    <td rowspan="3" valign="top" width="*"><div
    align="left"><!-- TemplateBeginEditable name="History"
    -->{history}<!-- TemplateEndEditable --> <!--
    TemplateBeginEditable name="boyd" -->{boyd} <!--
    TemplateEndEditable --> </div></td>
    <td rowspan="3" width="160" valign="top"><div
    align="left"><!-- TemplateBeginEditable name="anything"
    -->{anything}<!-- TemplateEndEditable -->
    </div></td>
    </tr>
    <tr> </tr>
    <tr> </tr>
    </table>
    <div align="left">
    <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    <tr>
    <td height="15" bgcolor="#006699"><div
    align="left"><b><img src="../images/clearpix.gif"
    width="10" height="15" /></b></div></td>
    </tr>
    <tr valign="top" align="center" class="body">
    <td height="72" class="body"><p
    align="center"><br />
     <span class="body"> &copy;
    1998-2008 </span> <a href="
    http://www.xplorecommunications.com"
    class="body">Xplore
    Communications</a><br />
    <a href="../aboutus/privacy.htm" class="body"><font
    size="1">Privacy
    Statement</font></a> | <a
    href="../aboutus/aboutus.htm" class="body"><font
    size="1">About
    Us</font></a> | <a
    href="../aboutus/feedback.htm" class="body"><font
    size="1">Feedback</font></a> | <a href="
    http://xplorecommunications.com/advertise/"
    class="body"><font size="1">Advertise
    in Get Out Today</font></a><br />
    <br />
    <script type="text/javascript" language="JavaScript">
    var sc_project=969823;
    var sc_invisible=1;
    var sc_partition=3;
    var sc_security="2064fed8";
    </script>
    <script type="text/javascript" language="JavaScript"
    src="
    http://www.statcounter.com/counter/counter.js"></script>
    <noscript>
    <a href="
    http://www.statcounter.com/"
    target="_blank"><img src="
    http://c4.statcounter.com/counter.php?sc_project=969823&amp;java=0&amp;security=2064fed8&a mp;invisible=1"
    alt="web statistic" border="0" /></a>
    </noscript>
    </p></td>
    </tr>
    </table>
    </div>
    </div>
    </div>
    </body>
    </html>

  • Photoshop scripting calls from Adobe Configurator panels

    Can javascritpt functions executing from an HTML element inside a panel affect the photoshop scene?  I know it can using the scripting toolkit, but I'm trying to do this in the Adobe Configurator.  In Configurator I created a new panel with an HTML panel and a button inside it that executes a javascript function on click "createDocument".  When I bring this into photoshop, I can load the panel and click on the button, but I never get a new document created.  If I uncomment the "alert" line, reexport the plugin, and click on the button, I get the alert, but still don't get a new document. 
    var createDocument = function() {
        app.documents.add(2,4);
        //alert("creating new doc!");
    I've tried other functions like creating layers, but still don't see anything happening in photoshop affecting the UI.  It's even more frustrating that I don't see any kind of error message that is happening.  My conclusions seem to imply this panel can't call the photoshop files for some reason (running in a different VM, wrong namespace, etc.).  Has anyone been able to make photoshop scripting calls from inside a configurator panel? 

    You might have better luck asking the in the Configurator forum. http://forums.adobe.com/community/labs/configurator/

  • Script Error- inside Collaboration Room

    Hi All,
             I have created Collaboration Room based on SAP Default Room Template its working fine for portal User in this server URL for egs: http://servername:port/irj/portal
    We generated this server URL into the internet URL like this http://www.companyname.com:port/irj/portal
    But Iu2019m getting script error inside the collaboration Room, when we using this internet URL http://www.mycompany.com:port/irj/portal
    Exactly Where Iu2019m getting this script error, Collaboration --> Room --> Room Directory, here I click any of the Rooms, it opens the particular Room in content Area and display some more page link in detailed navigation like has Document and Links, Tasks, Team Members, Search Room, Admin Room, Admin: Member and Room Relations.
    If I click any of page link Iu2019m getting the script error like this  Line: 707 char:5 Error: u2018nullu2019 is null or not an object
    Through Visual Studio I found out that function
    function setFocusOnDtn(){
    var JSTree = SAP_getJSTree("DetailedNavigationTree"); // this JSTree is to be null so this line is probelm
    var roots = JSTree.getSelectedNodes();
        if(roots[0] != null && roots[0]!="undefined" && EPCM.getSAPTop().navPanelStatus == "exp"){
                if(roots[0].getNodeAnchor() != null){
                            if(roots[0].getNodeAnchor().type!='hidden'){
                                 roots[0].getNodeAnchor().focus();
    Help me to achieve this problem........
    Regards
    Thillai J

    Hi,
    I am facing the same problem.
    It says to me "JSTree is null"
    Please let me know if you got any solution for that.
    Thanks

  • Rules inside email templates

    Has anyone tried calling a rule from inside an email template?
    It seems like everything has to be passed in from the workflow to the template. I'm wondering if I can call a rule from inside the template itself to get the data.
    Thanks!!

    From our experience we found that calling rules from email templates doesn't work. It doesn't give any error but it doesn't work.

  • Can we set a variable used inside the template from the java code.

    Hi everybody,
    I am uploading template,sub template and data xml fle to generate the preview using XDO API's. My main template is calling a sub template so it needs to import the sub template in the main template.since i am uploading my files on a particular server,my subtemplates has been put on different path as specified in the main template.
    so i need to change the subtemplate path dynamically at run time.
    is there any way i can pass this information to my main template at run time.
    one solution could be,my rtf template has a variable 'i' inside it,which is setting the file path to include my subtemplate like this :
    <?xdoxslt:set_variable($_XDOCTX, i ,"import:file:///c:/Temp/htmlmarkup.xsl")?>
    <?xdoxslt:get_variable($_XDOCTX, i )?>
    now is there any way i can set this variable at run time from my external java code.?
    Thanks,
    Anuradha

    Thanks for the response.
    but i still am looking for the solution.
    if both my template and subtemplate are in the same directory then atleast
    <?import:file:../htmlmarkup.xsl?> should work.
    but its not working...i m getting following error:
    FOProcessor setData: C:\subtemplates\projects.xml
    FOProcessor setLocale: en-us
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:514)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:192)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:156)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:916)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:869)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:204)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1535)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:925)
         at RTF2PDF.runRTFto(RTF2PDF.java:590)
         at RTF2PDF.runXDO(RTF2PDF.java:443)
         at RTF2PDF.main(RTF2PDF.java:237)
    Caused by: java.io.FileNotFoundException: C:\Documents and Settings\fusion\htmlmarkup.xsl (The system cannot find the file specified)
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:782)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:564)
         ... 15 more
    please suggest me what to do..

  • Adobe story- Film Script only has one template. why? For e.g. the TV script has more templates.

    Adobe story- Film Script only has one template. why?

    Default Film script should still be the same. So first verify this by creating a new Film script with the default Film script template. (it should be in default formatting)
    Now to change the template of the affected document, open Edit > Template option.
    In the 'Select Template' dropdown, select 'Film Template' and click on OK.
    If you still face this issue, you can 'Import' a template from your disk.
    - download the default template that is attached in this post. ( Template file is inside the '.zip' attachment. So you need to unzip the downloaded file first)
    - open the template dialog and click on Import button and select the downloaded file.

  • How to call a rtf template from another rtf template by passing a value

    Hi Gurus,
    Its about calling a rtf template from another rtf template by passing a value.
    My requirement is like:
    I got a quote report from Siebel, based on the product PartNumber I need to pull product description or literature from another database database.
    My approach is something like; get a partnumber from quote report pass it to another rtf template which uses the partnumber and get the data from table using DataSource. When user pull a quote report from siebel this new rtf template should attach to the quote at the end.
    I've gone through all available blogs about sub-reports and white papers from Oracle they are not much helpful since I need step-by-step.
    http://www.adivaconsulting.com/adiva-blog/item/36-working-with-rtf-sub-templates.html
    bip-subtemplate-1-132933.pdf
    I'm using 10g obiee integrated with Siebel.
    Just started learning BIP.
    Thanks in advance.
    Edited by: 911927 on Apr 2, 2013 8:56 AM
    Edited by: 911927 on Apr 2, 2013 8:57 AM

    How to call a rtf template from another rtf template by passing a value try in main template create hyperlink of url with parameters for another template
    http://bipconsulting.blogspot.ru/2010/02/drill-down-to-detail-or-another-report.html
    When user pull a quote report from siebel this new rtf template should attach to the quote at the end.it'll be only another report
    IMHO you can not attach it to main. it'll be second independent report
    you can try subtemplate but it's not about rtf from rtf by click
    it's about call automatically rtf subtemplate from main rtf based on some conditions
    for example, main template contain some data and if some condition is true then call subtemplate and place it instead of its condition

  • How To Call a Broadcasting Template within an ABAP program

    I was wondering if anyone knew how to call the Broadcast template via an ABAP program so it will execute?  The scenario that I have is we are doing validations via BW.  We put the data (for conversion reasons) through validation rules and then load a data target.  From this, there are 2 situations that could occur:
    1) There are errors
    2) There are not any errors
    If #1 is true, then I would like to execute the Query Broadcasting Template that I have created.  If #2 is true, then I would like to execute another process via the ABAP program.  In the past, I was successful using exception reporting via reporting agent, since I was able to call that program but the report did not look good at all.  Please let me know if there is a program that I could call in order to execute this broadcast that I have set up.
    Best Regards,
    Tim

    Hello,
    although this is an old threat, but do you have any hints on how to dynamically change the template when broadcasting?
    kind regards
    Murat

  • Error obtained while calling a sub-template in RTF.

    Hi,
    I am trying to call a sub-template from my RTF template using
    <?import: file:///C:\Desktop\Sample RTF\TEST.xsl?>
    in a form field and
    <xsl:call-template name="add-X"> <xsl:value-of select="." /> </xsl:call-template> in another.
    The xsl file related to this template reads as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
    <xsl:template name="add-X">
    <xsl:param name="string" select="." />
    <xsl:if test="$string">
    <xsl:text>X</xsl:text>
    <xsl:value-of select="substring($string, 1,1)"/>
    <xsl:call-template name="add-X">
    <xsl:with-param name="string"
    select="substring($string, 2)" />
    </xsl:call-template>
    </xsl:if>
    </xsl:template>
    </xsl:stylesheet>
    But I am ending up with an error. The error obtained is:
    ConfFile: D:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdoconfig.xml
    Font Dir: D:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    Template: C:\Documents and Settings\VishnuRam\Local Settings\Application Data\Oracle\BIPublisher\TemplateBuilderforWord\tmp\1\template2.rtf
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Documents and Settings\VishnuRam\Local Settings\Application Data\Oracle\BIPublisher\TemplateBuilderforWord\tmp\1\download_data.xml
    FOProcessor setLocale: en-us
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:641)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:247)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:181)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1151)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:275)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1809)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1027)
         at RTF2PDF.runRTFto(RTF2PDF.java:708)
         at RTF2PDF.runXDO(RTF2PDF.java:520)
         at RTF2PDF.main(RTF2PDF.java:305)
    Caused by: oracle.xdo.parser.v2.XMLParseException: The 'import' element children must precede all other element children of an 'stylesheet' element.
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
         ... 14 more
    I will be glad if anybody can give me the idea where I am going wrong?
    Regards,
    Message was edited by:
    VishnuTR

    Put this as the first line in rtf
    The 'import' element children must precede all other element children of an 'stylesheet' element.

Maybe you are looking for

  • How do I fix this problem with Faces on my iPhoto?

    Recently, I bought a new MacBook Pro (with Retina Display, Early 2015, 500 GB.) When I restored my information from a Time Machine backup, everything appeared to be perfect. However, when I actually started looking through iPhoto, my photos began inc

  • How big an external hard drive do I need for Time Machine backups?

    I run a 2 Ghz iMac with 1Gb memory, currently using around 108 GB of the 150 GB available memory. Hpw larghe an external hard drive do I need to run Time Machione efficiently? 500GB? 320? 520?

  • I'm having trouble uploading videos to DropBox.

    I'm having many difficulties uploading my videos to dropbox from itunes. All I do is publish my video to iTunes from iMovie. Then, I drag the video from iTunes, and put it in my dropbox folder. They're mostly only 4 minute videos, or smaller. But, wh

  • Resetting Network

    Hello, I'm currently in a bit of a situation. I have an IBM T42 laptop that I would like to connect to my wireless router (WRT54G v 2.0) but, for some reason, I can pick up the signal of my router but I'm infinitely at "Limited or no Connectivity." I

  • Junk file downloaded when port number and connection scheme is mismatched

    Hello All, I am facing a peculiar issue in my server running Apache Tomcat/5.5.9. I have a Tomcat server setup with 8080 and 8443 ports listening for http and https connections. When I access the tomcat welcome page hosted in my server as below, http