<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Serve Cache Issue in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/serve-cache-issue/qaa-p/6223993#M2283532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do not call the js function in onload instead call like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&amp;lt;% IF not display_url IS INITIAL.
      %&amp;gt;
      &amp;lt;sc ript lang uage="Jav ascript"&amp;gt;
     
        wi ndow .op en("&amp;lt;%= display_url%&amp;gt;");
      &amp;lt; / scrip t&amp;gt;
      &amp;lt;%
  ENDIF.
      %&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Sep 2009 05:47:23 GMT</pubDate>
    <dc:creator>athavanraja</dc:creator>
    <dc:date>2009-09-26T05:47:23Z</dc:date>
    <item>
      <title>Serve Cache Issue</title>
      <link>https://community.sap.com/t5/technology-q-a/serve-cache-issue/qaq-p/6223992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi buddies,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been made up a download code and I'm using the serve cache functions.&lt;/P&gt;&lt;P&gt;So, After got my path to the file as you can see below:&lt;/P&gt;&lt;P&gt;Oninputprocessing:&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;cl_http_server=&amp;gt;server_cache_upload( url      = display_url
                                          response    = cached_response ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I left in my current screen two ways to get the file, one of them is through the link directly to the file using the code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;htmlb:link id      = "ID_DOWNLOAD01"
                    text          = "Click Here!"
                    reference     = "&amp;lt;%=display_url%&amp;gt;"
                    target        = "_BLANK"/&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other way is through the onLoad event, I'm calling a javascript function that contain the window.open statament.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, If i click to the link "Click here" a auto popup screen shows me up to accept the file. But when I use the window.open at the onLoad event, the screen open and close without let me get the file. Both way lead me to the display_url path that I got from the serve cache. By the way I've trying absolute and relative path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've trying to using window.location.href to get the file in the same screen, but this one mess with my application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how can I make this file available?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 19:40:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/serve-cache-issue/qaq-p/6223992</guid>
      <dc:creator>alexandre_docarmorocha</dc:creator>
      <dc:date>2009-09-25T19:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Serve Cache Issue</title>
      <link>https://community.sap.com/t5/technology-q-a/serve-cache-issue/qaa-p/6223993#M2283532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do not call the js function in onload instead call like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&amp;lt;% IF not display_url IS INITIAL.
      %&amp;gt;
      &amp;lt;sc ript lang uage="Jav ascript"&amp;gt;
     
        wi ndow .op en("&amp;lt;%= display_url%&amp;gt;");
      &amp;lt; / scrip t&amp;gt;
      &amp;lt;%
  ENDIF.
      %&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2009 05:47:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/serve-cache-issue/qaa-p/6223993#M2283532</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2009-09-26T05:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Serve Cache Issue</title>
      <link>https://community.sap.com/t5/technology-q-a/serve-cache-issue/qaa-p/6223994#M2283533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! I got a new problem, but i will open a new issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2009 14:58:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/serve-cache-issue/qaa-p/6223994#M2283533</guid>
      <dc:creator>alexandre_docarmorocha</dc:creator>
      <dc:date>2009-09-28T14:58:23Z</dc:date>
    </item>
  </channel>
</rss>

