Article delegate-en/3562 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] relative paths
31 Oct 2006 13:22:01 GMT p5igqbdyi-4z7oftfgab5r.ml@ml.delegate.org


Hi,

I am using Delegate 9_2_5 proxy with a website that makes use of relative 
paths, however these paths appear incorrectly under certain cirmustances. 
I think I might need to configure the HTMLCONV parameter but I'm not sure 
how.

On my disk I have a file called 
C:/eurobase/eTrader/de/pages/trade/main.asp and this file will produce 
html with including a the the line;

<SCRIPT LANGUAGE="jscript" SRC="../../ScriptLibrary/JScript.htm"></SCRIPT>

The JScript.htm file contains a function getDialogue that looks like

function getDialogue(bRequestRate, bAcceptRate)
{
        var sHTML;

        sHTML = "";
        sHTML = sHTML + "       <table width=100%>\n";
        sHTML = sHTML + "               <tr>\n";
        sHTML = sHTML + "                       <td class=HeaderEvenTL 
colspan=2 rowspan=3 ><textarea name=sDialog cols=100 rows=4 
readonly=true></textarea></td>\n";
        if(bRequestRate) 
        {
                sHTML = sHTML + "               <td class=HeaderEvenTR 
><img src=../../Images/iRequestRate.jpg class=buttons 
onclick=clickRateRequest() /><input type=hidden name=sLockRequest 
value=false /></td>\n";
                sHTML = sHTML + "       </tr>\n";
                sHTML = sHTML + "       <tr>\n";
        }
        if(bAcceptRate)
        {
                sHTML = sHTML + "               <td class=HeaderEvenR 
><img src=../../Images/iAcceptRate.jpg class=buttons 
onclick=clickRateAccept() /></td>\n";
                sHTML = sHTML + "       </tr>\n";
                sHTML = sHTML + "       <tr>\n";
        }
        if(bRequestRate || bAcceptRate)
        {
                sHTML = sHTML + "               <td class=HeaderEvenR >";
        }
        else
        {
                sHTML = sHTML + "               <td class=HeaderEvenTR >";
        }
        sHTML = sHTML + "                               <img 
src=../../Images/iClose.jpg class=buttons onclick=clickClose() />";
        sHTML = sHTML + "                       </td>\n";
        sHTML = sHTML + "               </tr>\n";
        sHTML = sHTML + "               <tr>\n";
        if(!bRequestRate && !bAcceptRate)
        {
                sHTML = sHTML + "               <td class=HeaderEvenR 
><img src=../../Images/iSend.jpg class=buttons onclick=clickSend() 
/></td>\n";
                sHTML = sHTML + "       </tr>\n";
                sHTML = sHTML + "       <tr>\n";
                sHTML = sHTML + "               <td class=HeaderEvenR 
></td>\n";
                sHTML = sHTML + "       </tr>\n";
                sHTML = sHTML + "       <tr>\n";
        }
        sHTML = sHTML + "                       <td class=HeaderEvenBL 
>Message</td>\n";
        sHTML = sHTML + "                       <td class=HeaderEvenB 
><input type=hidden name=sConvID /><input type=text name=sMsg size=94 
/></td>\n";
        sHTML = sHTML + "                       <td class=HeaderEvenBR >";
        if(bRequestRate || bAcceptRate)
        {
                sHTML = sHTML + "                       <img 
src=../../Images/iSend.jpg class=buttons onclick=clickSend() />"; 
        }
        sHTML = sHTML + "                       </td>\n"; 
        sHTML = sHTML + "               </tr>\n";
        sHTML = sHTML + "               <tr>\n";
        sHTML = sHTML + "                       <td>\n";
        sHTML = sHTML + "                               <IFRAME ID=ISENDER 
FRAMEBORDER=0 SCROLLING=NO WIDTH=1 HEIGHT=1 
SRC=../../Pages/Dialogue/sender.asp ></IFRAME>";
        sHTML = sHTML + "                               <IFRAME 
ID=IRECIEVER FRAMEBORDER=0 SCROLLING=NO WIDTH=1 HEIGHT=1 
SRC=../../Pages/Dialogue/reciever.asp ></IFRAME>";
        sHTML = sHTML + "                       </td>\n";
        sHTML = sHTML + "               </tr>\n";
        sHTML = sHTML + "       </table>\n";

        return sHTML;
}

The site URL is the page is 
https://mysite/jct01/eTrader/de/pages/trade/main.asp

The problem is that when the function getDialogue is involved both IFrames 
and buttons are converted to /jg06/eTrader/Pages/Dialogue/sender.asp and 
not /jg06/eTrader/de/Pages/Dialogue/sender.asp. Note all the other URL in 
the site either remain relative or are converted correctly. Why does this 
only occur in a scripted peice of DHTML added by script?

Many thanks


cheers

Frank
_________________________________________________________________________
This message is confidential and may be privileged. It is intended solely for the named addressee. If you are not the intended recipient please inform us. Any unauthorised dissemination, distribution or copying hereof is prohibited. As we cannot guarantee the  genuineness or completeness of the "information contained in this message, the statements set forth above are not legally binding. In connection therewith, we also refer to the governing regulations of the bank concerning signatory authority published in the standard bank or company signature lists with regard to the legally binding effect of statements made with the intent to obligate the bank.

Diese Nachricht ist vertraulich. Sie ist ausschliesslich fuer den im Adressfeld ausgewiesenen Adressaten bestimmt. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir um eine kurze Nachricht. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Da wir nicht die Echtheit oder Vollstaendigkeit der in dieser Nachricht enthaltenen Informationen garantieren koennen, schliessen wir die rechtliche Verbindlichkeit der vorstehenden Erklaerungen und Aeusserungen aus. Wir verweisen in diesem Zusammenhang auch auf die  fuer uns geltenden Regelungen ueber die Verbindlichkeit von Willenserklaerungen mit verpflichtendem Inhalt, die in den bank- bzw. unternehmensueblichen Unterschriftenverzeichnissen bekannt gemacht werden."



  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V