Helpservice called with javascript leads to a blank page

Dear Gurus!!!!!
First of all thanks a lot for your future answers.
I am desperatly trying to open a help service within a web template.
I had a look to the following post
Unable to Call Help Service Class
and also to the "enhance web printing" how to document.
Both documentation were really helpfull.
The service I call works perfectly.
The problem is that when I call the service, it leads to a session timeout.
I do not know what I can do.
Here is the javascript embended in my web template code:
The objective is to write the selected date from the drop down box into the table TVARVC (this is what my service does).
// I get the selected date from the drop down box
selected_date=document.getElementsByName("FILTER_VALUE_1")[0].options[selectedindex].text;
//I get the SAP_BW_URL
BW_URL='<SAP_BW_URL>';
// I fill the CMD part of the final url
cmd="&CMD=PROCESS_HELP_WINDOW&help_service=ZTVARVC_INTERVAL&item=DROPDOWNBOX_1&TEXT="+selected_date;
// I assign the new url calling the service to the document location
location.href = BW_URL + cmd;
<strike>When I execute the web template, the date is correctly set into the table TVARVC but the session always times out.
"400 Session timed out - please log in again"
</strike>h
The html page result is a blank page and the web template result disappear.
To sum up, I just would like to write the selected date from the dropdown box into the table TVARVC without affecting the template result html page.
Can you please help me?
Thanks a lot!
regards,
Cyril Naudes.
PS: no need to ask for valuation... I will do it of course valuate the helpfull answers!
Message was edited by:
        Cyril Naudes
Message was edited by:
        Cyril Naudes
Message was edited by:
        Cyril Naudes

I have found a temporarily solution which consists in opening the location in a new window and to close it just after... It is not really what I want to have, but it will solve my issue.
Regards,
Cyril.

Similar Messages

  • How can i optimize my SEARCH ENGINE???I use godaddy.i contact them and they give me this conclusion:Search engines are not pulling up your other pages on your website because it is created with javascript. the content on the pages, (photo gallery.....

    conclusion from godaddy:
    Search engines are not pulling up your other pages on your website because it is created with javascript.
    the content on the pages, (photo gallery, My Recipes/Blog, History, Friends) need to be formatted to HTML, PHP or CSS. No search engines (google, Yahoo, Bing) can crawl//analyze webpages built with javascript.
    See if Apple allows iweb to create the pages in HTML format and ask how to make those changes.
    I spend more then 1 hour on the phone with them but we didn't find the solution...
    please i need help because like this nobody can rich my website...
    www.chefdiego.com
    thank you

    The part of iWeb pages that give the search engines problem is the navbar.  That's javascript based.  One way to get around that is to create another blank page in the site that's not  included in the navbar. 
    Add a text based navbar in that page with just the other pages in the site. 
    Also you can use that page for creating the sitemap for Google at Create your Google Sitemap Online - XML Sitemaps Generator.
    Have you let Google know your site exists? This website describes how to get it recognized: Get your iWeb website found in search engines like Google Yahoo MSN and Bing.
    OT

  • How can I start firefox with new tab instead of blank page?

    Today I update firefox to 13.0. I like the new "new type". I want to konw how can I start firefox with new tab instead of blank page?
    I don't want to change the homepage to about:newtab.
    Sorry for my bad English.

    This is a very annoying thing. Every update from Firefox resets this config setting back to about:newtab. I changed '''''browser.newtab.url''''' in 12.x to '''''about:blank''''' and it resetted back in update 13.0 and now I have to do the same thing again in 13.0.1.
    The drawback with about:newtab is Firefox opens up dataports for every URL that are linked and gets reopened for every lame 'newtab' you click on. Just use [http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx Tcpview - data port viewer] and watch how many extra dataports that opens up from this crazy 'feature'.

  • Calling a javascript on load of jsff page

    I have a jsff page which is loaded as a taskflow from region.
    i tried to call an alert function on load of jsff page as follows:
    <af:clientListener type="load" method="jsMethod"/>
         <af:resource type="javascript">
         function jsMethod() {
            alert("Hi Page loaded");
    </af:resource>
    If it works fine i intent to call backing bean method from javascript later.
    the alert is not being called in this case.
    what's wrong with this method?

    Duplicate of https://community.oracle.com/thread/2617922
    Please don't ask your question multiple times!
    Timo

  • How do I Permanently remove a tab that is called "new tab" but is a Blank Page?

    Every time I turn my computer on, I click my Firefox icon in taskbar at bottom, BUT, not only does my homepage tab show up, but lately I have been seeing another tab showing up beside it called "New Tab" but it is Blank. I don't how it all of a sudden showed up, but I can't seem to get rid of it. I right click & "close tab", but I have to do this every time I turn on my computer. Isn't there a way to Permanently Remove this Tab so it doesn't keep showing up on my Tab Bar?

    Unfortunately that was empty too. The Firefox upgrade at that time seemed to wipe an awful lot of stuff. After searching, re-installing etc, whatever was suggested, I gave up. It was a while back. I will remember your suggestions if it ever (hopefully not) happens again though. I did have a very old bookmarks backup, but that would not import, so I did use bits of it manually but it had saved as a massive merged line of sites without my folders, so was a bit too much to fiddle with. The loss of the classical music sites was what I regretted most, no idea what they were called and cannot find some of them now. Ah well, no point in fretting about it now I suppose.

  • Execute Javascript, window.print(), prints blank page in Captivate 7

    Hello,
    I'm fairly new to Captivate, and am no Javascript expert.  I've been trying to figure out how to print the last slide in project, which has a custom certificate.  I initially tried the print widget that comes with Captivate 7, but the scaling is off when printed.  There are no options to change the scale of the printed slide on the widget properties, so that seemed to be a bust.  I then tried to create a button to execute javascript when clicked.  In the script window I put, window.print(); now this works to bring up the print box, but only prints a blank page.  I'm not sure if it's something I'm doing wrong with javascript.  I've been reading other forum posts, and this function seems to work for others using different versions of Captivate.
    I know there is a cool print widget that someone has made, but I'd actually prefer to just do this with javascript.  I haven't tried the buyable print widget yet, but I am trying not to use widgets so that the html can be scalable. 
    I'm publishing my projects and uploading them to GoogleDrive, where I then preview the html output.
    I'd appreciate any help.  Thanks!
    Kailey

    Wow, thank you for such a speedy response Rick.  I've actually been using Firefox and Google Chrome, because IE isn't updated enough to work with Google Drive properly (and I don't want to go through the whole process to get privileges to update on work computer).  But I did check this box in Firefox.  Instead of printing the objects on my slide, it printed a big square light grey background.  It's almost like the the browser can't see the project.
    I would think this was a browser problem, but I had previously downloaded a trial of Articulate (trying to decide between the two), which has the same execute javascript function as Captivate.  Putting in window.print();, publishing, and uploading to Google Drive, printed just fine.  Not sure if something in the code in Captivate isn't coming through, but is in Articulate.  I'm not versed in html or javascript enough to compare the two html files. 
    Back to the drawing board!  Thanks for your help.
    Kailey

  • Problem with Javascript and opening a new page

    Hi,
    I'm developping a website with Java Server Faces.
    I've a problem with JavaScript.
    I have a table, and each row of that table, has a button, to display more information about that specific row. I want to display this information in a new window. For this I want to use JavaScript.
    The new window, of course, needs some information of the other window, to show the right data.
    The first time I click the 'more-information-button', it works perfectly, but from than on, he keeps showing the same information...
    Here is my jsp-page of the first page (the one with the table):
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
             <f:loadBundle basename="languages.MessageBundle" var="bundle"/>
            <html>
                <head>
                    <meta content="no-cache" http-equiv="Cache-Control"/>
                    <meta content="no-cache" http-equiv="Pragma"/>
                    <title>- UCV-Period -</title>
                    <link href="resources/stylesheet.css" rel="stylesheet" type="text/css"/>
                </head>
                <body style="-rave-layout: grid">
                        <h:dataTable binding="#{UcvPeriod.dataTable1}" headerClass="list-header" id="dataTable1" rowClasses="list-row-even,list-row-odd" rows="5"
                            style="left: 24px; top: 168px; position: absolute" value="#{UcvPeriod.dataTable1Model}" var="currentRow">
                            <h:column binding="#{UcvPeriod.column1}" id="column1">
                                <h:outputText binding="#{UcvPeriod.outputUcvPeriod}" id="outputUcvPeriod" value="#{currentRow['UCVPERIOD']}"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{UcvPeriod.outputText2}" id="outputText2" value="#{bundle.ucvPeriod_columnHeader_ucvPeriod}"/>
                                </f:facet>
                            </h:column>
                            <h:column binding="#{UcvPeriod.column11}" id="column11">
                                <h:commandButton action="#{UcvPeriod.btnDetails_action}" binding="#{UcvPeriod.btnDetails}" id="btnDetails" value="+" onclick="window.open('Details.jsp')"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{UcvPeriod.outputText21}" id="outputText21" value=""/>
                                </f:facet>
                            </h:column>
                        </h:dataTable>
                    </h:form>
                </body>
            </html>
        </f:view>
    </jsp:root>Here is my action, when someone clicks on the 'more-information-button':
    public String bthnDetails_action() {
       Object s = outputUcvPeriod.getValue();
       BigDecimal ucvPeriod = (BigDecimal)outputUcvPeriod.getValue();
       this.getSessionBean().setUcvPeriod(new Integer(ucvPeriod.intValue());
       return "detail_ucvperiod";
    }Here is my constructor of the Detailspage.
        public Details() {
             this.txtUcvPeriod.setValue(this.getSessionBean().getUcvPeriod());
        }Here is the navigation part for this part of my faces-config.xml .
    <navigation-rule>
       <from-view-id>/UcvPeriod.jsp</from-view-id>
       <navigation-case>
           <from-outcome>detail_ucvperiod</from-outcome>
           <to-view-id>/UcvPeriod.jsp</to-view-id>
       </navigation-case>
    </navigation-rule>Thx a lot....
    Anneke

    See the tutorial "Sharing Data Between Two Pages" at http://devservices.sun.com/premium/jscreator/standard/learning/tutorials/data_sharing_twopages.html and the FAQ "How can I pass data between pages without creating SessionBean variables in Creator?" at http://devservices.sun.com/premium/jscreator/standard/reference/faqs/technical/javasource/passing_data.html. Since you can open a new window when your button is clicked, the tutorial and FAQ will explain ways to pass your data to the new window.

  • SSRS 2008 Report with two tablix have extra blank pages

    I am working on a report in SSRS 2008 that has two tables (or tablices?). My report is set to a width of 11 and height of 8.5, left and right margins of 0.25, top and bottom margins of 0.5. Paper size is Letter, Orientation is landscape.
    With margins accounted for, I basically have 10.5 of workspace for the Body. The first tablix's width is way under 10.5 but the second tablix has lots of columns and would have to span two pages so the Body goes past 10.5 but I
    kept it under 22 (twice one page).  I put a PageBreak after the first tablix. When I run the report and do a Print Layout, the first tablix prints with a blank page after every printed page of that table. The second tablix prints just fine, no extra
    blank pages in between. So I suspect that it is the "empty space" to the right of the first tablix, which is caused by the second tablix's width, that is the problem.
    However when I tried to switch the tables in my report and have the wider tablix print first and the narrower tablix print after it, I did not get any extra blank pages on both; the reports prints just fine.
    Unfortunately, I cannot have the wider tablix print first with the report I need. I would like to know if this is a bug in SSRS 2008? It appears that there is something with the order report objects are printed and their size. Has anyone figured this out
    yet?  Thanks.

    I found
    this post on the MSDN forum that offers the following solutions that worked for a few people responding to that thread.  You might want to try one of these:
    "I found the problem cause.  In Reporting Services, report body width must be <= (report width - report margins width).I reduced the margins to zero width, and the pagination problem disappeared!"
    "I have solved my problem. With SSRS you must be very careful with the way you place objects
    Growing objects will push those on their right, even if they are not on the same line /!\
    Consider a textbox 2 inches large centered, and a growing matrix beneath it. on the left, 1 inch large. At run time the matrix will grow and the title will be pushed aside. And this may cause blank pages.
    A workaround is to create 1 rectangle per object. The rectangle should occupy all the body space available while objects occupy only a part of their embedding rectangle."
    Carla
    Carla Sabotta

  • Cntrl T yields a page with yahoo rather than a blank page

    When I press control T to get a new page, instead of a blank page opening, the page opens with the yahoo search bar already in place. I really do not want to use yahoo and would rather see a blank page as was the case previously. I probably dl's something that placed the search engine on the blank page and I do not know how to kill it. Some help please?
    Regards

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Synchronous Call with Javascript( ECMA Script).

    Hi All,
    Is there any way to make javascript call synchronously. At present I am using ECMA script to perform list operations. I am making calls to the method which is going to performs add/update/delete operation on list. When I am making call , before executing
    1st call, my 2nd call get started.
    I want to execute this script in synchronous way. So after executing of 1st call, 2nd call should start.
    Suggest plz.

    Hi,
    If you're using JSOM (Javascript Side Objectd Model), you'll stick to ExecuteQueryAsync() as there is no ExecuteQuery available.
    However, this async method has a Sucess & Error handler which you can use to control the flow. So, instead of executing both calls in parallel, you can do something like this:
    //call 1
    ...executeQueryAsync(function(){..executeQueryAsync of 2nd call here},function{});
    That way, by embedding the code of the 2nd call in the success event of the first one, you make sure that the sequence you want to enforce is well respected.
    Best Regards
    http://www.silver-it.com http://www.twitter.com/stephaneeyskens

  • Multiple Page flowed form with expandable field, causing a blank page

    I have a 3 page form with an expandable field on page 1.  I've set the pages up as flowable with positioned subforms and everything is working well, until you type a lot of info into the expandable field and it moves everything else in page 1 down to page 2, the problem appears after the text is moved, there is a huge blank space after the text that was moved.  Basically the rest of the information is moved to page 3 and then there is a page 4.  Hope this makes sense.
    Original - Page 1, Page 2, Page 3
    Expanded past the page - Page 1&2 (then big blank space), Page 3, Page 4
    I'd just like the pages to flow together so if the expanded box moves to the next page the sections just continue to follow without a huge blank space on page 2.

    It sounds as if some of your content is set to not allow page breaks within it.  Have you checked all containing sub forms for the option below?

  • HT201209 When I click the 'Redeem' link in Itunes it leads to a blank page. What can I do?

    Please reply, someone.

    Hi using iphone5,
    I checked your account; I don't see that either an ExportPDF or Adobe PDF Pack subscription. Did you get either service as an in-app purchase on Reader for iOS? If so, that subscription is handled by the Apple App Store, and Adobe wouldn't have record of it. If you did get it as an in-app purchase, you would need to contact the App Store to find out if there is an issue with your subscription.
    Best,
    Sara

  • Call an applet in other page html with javascript

    Hi
    I found many exemples with javascript, to call applet method in the same html page, but never cross pages
    There is a way to call with javascript an applet in other window/page?
    Thanks

    By other WORKSPACE do you mean another location (as defined in dads.conf)?<br><br>Either way, you just have to make the url relative or just hard code the entire path. If location 1 is pls/htmldb and location 2 is pls/htmldb_two then all you need to do is:<br><br>
    owa_util.redirect_url( '/pls/htmldb_two/f?p=TLL:3:&SESSION.::::F119_TAB_CONDITION:1');<br>
    that is if I understood your question correctly...<br><br>
    chet<br>

  • Changing applet parameters with Javascript

    Is it possible to have an applet read a param value which has been changed with Javascript after the applet loads?
    I've tried changing the param value in this way, but the applet doesn't read the new value. It reads the default value in the HTML when the applet loads, and getParameter is in the main loop of the applet which runs and updates other (internal) values fine...

    Well that page says that param values can't be changed at run-time. Never mind though because I read some more and found out how to implement a method in the applet (which can be called from Javascript) that reads the host page's DOM, thereby achieving the same result.
    Thanks for the pointer.

  • "Read more" leads to blank page?

    Today on my web site clicking the "Read more" link leads to a blank page. I've not done anything different that I can think of; the site was working fine as recently as Friday when I last posted. (My dd using Safari claims it crashed Safari, too, though it doesn't crash my Firefox.)
    What can this be?
    Here's the site: www.honeypotrambles.com

    Hi, Maria--I appreciate your giving it a try. I still don't see the rest of the post. This appears to affect only the first two posts on that page (today's and the previous one), and my husband has no trouble seeing it with IE on a WIndows machine but can't see it with Firefox on his Windows computer, and my daughter can't see it with Safari on a Mac nor can I with Firefox on my Mac. I guess some code got screwed up, but I've no idea how to fix it.
    Thanks again--
    Laura

Maybe you are looking for

  • Compund index vs simple index

    I want to know the differece between a compund index and a simple one. For example I have a compund index with three fileds: field1, field2, field3 index type 1: create index index1 on table1 (field1, field2, field3); What happen if I change this com

  • How to use interactive quicktime movie on an ios device?

    Hello in am exporting a lot of keynote presentation in quicktime format so they can be playedback on any computer running itunes and quicktime. But on ios there is no option to configure that format? All ideas are welcome.

  • 2.1 EA1: Unable to roll back changes in Data tab [fixed EA2]

    Hi, With "Post edits on row change" set, any changes made in a table's Data tab cannot be rolled back. When trying to do so, the screen flashes briefly, which would indicate reloading, but the changes are still there. The tab's title is also still cu

  • Adding 1 to a letter/character

    Hi everyone, I have a program where I need to find the next available wage type to use per category. Some wage types, however, are alphanumeric (E.G '0SBC') In the above example, the next available to use could be 'OSBD' My question is, how do you ad

  • Photoshop cc will not open on my creative cloud??

    Hi I was having no problems with opening photo shop on CC, but now all of a sudden I cannot open it?? just nothing happens, I can open bridge though this is fine. Any help, much appreciated! Deborah