Making a javascript jump menu post the parameter value to a jsp

I have got a HTML page with a javascript jump menu on it which is intended to post the user selected parameter to a jsp. However I do not know how to get the jump menu to post the data in the same way that it is done with a submit button. I don't want to use a submit button, hence the jump menu. Does anyone have an example that they can let me use.
function jumpPage(form) {
i = form.SelectMenu.selectedIndex;
if (i == 0) return;
window.location.href = url[i+1];
document.writeln('<FORM><SELECT NAME="SelectMenu" onChange="jumpPage(this.form)">');
This bit of Javascript just opens the selected window but submits no data to it.
Any help is greatly appreciated.

In order to get your data passed through to your second page via parameters, you must do one of two things.
1) Actually submit the document. Since you don't want a submit button, you can accomplish this with document.form.submit(). However, you must specify a URL in the "action" attribute of your form tag.
2) Construct the URL with the parameters listed in it. (ie. myJSP.jps?user=foo&password=bar ). This is not too bad if you've only got a few parameters... rather tedious for more than a few.
What situation are you in where there are multiple parameters to pass with a Quick Jump setup? Usually, all you need to do is determine which page they need to head to, and simply forward. If there are other fields in your form, an automatically forwarding Quick Jump is potentially problematic, since they could select that field before filling out other necessary fields... just something to think about.

Similar Messages

  • Reading POST-Request-Parameter-Values from WebDynPro now possible?

    Hello,
    in the past I always was disappointed that in WebDynPro there was no way to read POST-request-parameter-values directly after the call of a WebDynPro-Application.
    The only (documented) way to read / transfer request-data into an WebDynPro-application was via "URL query string parameters" in the request URL.
    The last week I forgot this restriction. I called my WebDynPro-application using a POST-Request-Parameter (cookie_guid) instead of an URL-parameter.
    After noticing my mistake, I was really surprised that the WebDynPro could read / shows the the POST-Request-Value.
    I didn't make any changes in the coding of my WebDynPro-Application (zvis_show_sso_cookie).
    After this cognition I built the following simple HTML-formular to analyse the behavior of the WebyDynPro by calling it with an URL-Parameter (cookie_guid=Url-GUID) together with the POST-Parameter (cookie_guid = Post-Value-GUID).
    After calling the WebyDynPro it reads / shows the "POST-Value" of the request !!!
    (Remark: If I made a simple refresh or type directly the URL "http://hg10762.vis-extranet.de:1080/sap/bc/webdynpro/sap/zvis_show_sso_cookie?sap-language=DE&cookie_guid=Url-GUID" in the browser, the same webdynpro reads / shows the URL-Parameter-Value).
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
           "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    </head>
    <body>
    <form method="post" action="http://hg10762.vis-extranet.de:1080/sap/bc/webdynpro/sap/zvis_show_sso_cookie?sap-language=DE&cookie_guid=Url-GUID">
      <table border="0" cellpadding="5" cellspacing="0" bgcolor="#E0E0E0">
        <tr>
          <td align="right">Cookie_GUID:</td>
          <td><input name="cookie_guid" type="text" size="30" maxlength="30" value="Post-Value-GUID"></td>
        </tr>
        <tr>
          <td>
            <input type="submit" value=" Absenden ">
            <input type="reset" value=" Abbrechen">
          </td>
        </tr>
      </table>
    </form>
    </body>
    </html>
    My questions:
    I there any documentation that describes the behavior of  WebDynPro after calling it by using POST-Parameter values?
    I believe in the past it wasn't possible to read POST-request-parameter-values in WD. Has SAP changed the functionality?
    Is the behavior I described in my example above mandatory?
    Regards
    Steffen

    As far as i know in general HTTP request  GET method is standard but in SAP POST is standard.  All the client request is passed as POST to the server in order to avoid the URL parameter length restriction in GET method.

  • What is the Parameter values for passing a password to open a pdf

    I need help in finding the Parameter values for passing a password to open a pdf(s)? The software is written in Delphi.

    The Copy Protection only protects our Disk from being duplicated and also protects our Software from being copied and used locally.
    As far as the password encryption, that is why I created the Post. I was hoping that the password can be coded in our Software to open the password protect PDF that we create. This option would of gave us the security for when the customer copies the pdf to there local drive they would be required to input the password which they would not have access to.

  • Unable to capture the parameter values from a PL/SQL procedure

    hi.
    i'm trying to capture the parameter values of a PL/SQL procedure by calling inside a anonymous block but i'm getting a "reference to uninitialized collection error" ORA-06531.
    Please help me regarding.
    i'm using following block for calling the procedure.
    declare
    err_cd varchar2(1000);
    err_txt VARCHAR2(5000);
    no_of_recs number;
    out_sign_tab search_sign_tab_type:=search_sign_tab_type(search_sign_type(NULL,NULL,NULL,NULL,NULL));
    cntr_var number:=0;
    begin
         rt843pq('DWS','3000552485',out_sign_tab,no_of_recs,err_cd,err_txt);
         dbms_output.put_line('The error is ' ||err_cd);
         dbms_output.put_line('The error is ' ||err_txt);
         dbms_output.put_line('The cntr is ' ||cntr_var);
         for incr in 1 .. OUT_SIGN_TAB.count
         loop
         cntr_var := cntr_var + 1 ;
    Dbms_output.put_line(OUT_SIGN_TAB(incr).ref_no||','||OUT_SIGN_TAB(incr).ciref_no||','||OUT_SIGN_TAB(incr).ac_no||','||OUT_SIGN_TAB(incr).txn_type||','||OUT_SIGN_TAB(incr).objid);
    end loop;
    end;
    Error is thrown on "for incr in 1 .. OUT_SIGN_TAB.count" this line
    Following is some related information.
    the 3rd parameter of the procedure is a out parameter. it is a type of a PL/SQL table (SEARCH_SIGN_TAB_TYPE) which is available in database as follows.
    TYPE "SEARCH_SIGN_TAB_TYPE" IS TABLE OF SEARCH_SIGN_TYPE
    TYPE "SEARCH_SIGN_TYPE" AS OBJECT
    (ref_no VARCHAR2(22),
    ciref_no VARCHAR2(352),
    ac_no VARCHAR2(22),
    txn_type VARCHAR2(301),
    objid VARCHAR2(1024))............

    We don't have your rt843pq procedure, but when commenting that line out, everything works:
    SQL> create TYPE "SEARCH_SIGN_TYPE" AS OBJECT
      2  (ref_no VARCHAR2(22),
      3  ciref_no VARCHAR2(352),
      4  ac_no VARCHAR2(22),
      5  txn_type VARCHAR2(301),
      6  objid VARCHAR2(1024))
      7  /
    Type is aangemaakt.
    SQL> create type "SEARCH_SIGN_TAB_TYPE" IS TABLE OF SEARCH_SIGN_TYPE
      2  /
    Type is aangemaakt.
    SQL> declare
      2    err_cd varchar2(1000);
      3    err_txt VARCHAR2(5000);
      4    no_of_recs number;
      5    out_sign_tab search_sign_tab_type:=search_sign_tab_type(search_sign_type(NULL,NULL,NULL,NULL,NULL));
      6    cntr_var number:=0;
      7  begin
      8    -- rt843pq('DWS','3000552485',out_sign_tab,no_of_recs,err_cd,err_txt);
      9    dbms_output.put_line('The error is ' ||err_cd);
    10    dbms_output.put_line('The error is ' ||err_txt);
    11    dbms_output.put_line('The cntr is ' ||cntr_var);
    12    for incr in 1 .. OUT_SIGN_TAB.count
    13    loop
    14      cntr_var := cntr_var + 1 ;
    15      Dbms_output.put_line(OUT_SIGN_TAB(incr).ref_no||','||OUT_SIGN_TAB(incr).ciref_no||','||OUT_SIGN_TAB(incr).ac_no||','||OUT_SIGN
    TAB(incr).txntype||','||OUT_SIGN_TAB(incr).objid);
    16    end loop;
    17  end;
    18  /
    The error is
    The error is
    The cntr is 0
    PL/SQL-procedure is geslaagd.Regards,
    Rob.

  • How to capture the parameter value of Concurrent Program submited

    Hi,
    I would like to capture the Parameter value of Concurrent Program submitted through Submit Request screen based on that i want to return value.
    When Conc prog "Payroll Run" along with parameter like "Pay Period" which has LOV attached to it, which has one coulumn named "End Date", this value selected needs to be captured. Can you please tell the Table name where the value is stored or Captured.
    I want this value to be used in Fast Formula which will return the desired value to Input Value.
    Actually in one of the Element I have Input Value as "Monthly Days" which should be populated with the "Number of days" in the period in which Payroll is being processed.
    Thanks in advance.
    Ram

    Hi,
    fnd_concurrent_requests.argument_text stores the argument values in comma separated form. But check the prior response from thierry first - fnd_concurrent _requests is not the place you want to be getting things from as it can be purged and so you source data is gone!
    Gareth
    http://garethroberts.blogspot.com

  • How to hide/show a column in reports 10g according to the parameter value

    Hi,
    I want to hide a column in the report according to the parameter value, is it possible?
    For example, there is a parameter called P_TYPE. I want to hide a column called 'BALANCE' if the P_TYPE=0.
    This column is not the last one in the table, so if it is hide then that empty space should be occupied by next column.
    Is it possible means please explain me how to do it?
    Thanks in advance,
    SAN

    Create a format trigger (for both the header and the column item) that returns False on you condition.
    Set the horizontal elasticity to Contract (for both the header and the column item).
    Sometimes Contract doesn't work. Try Variable in that case. This has the disadvantage that the field can also expand.

  • Enque/table_size - Changing the parameter value

    Hi folks,
    I'm fairly new to SAP so was hoping for a bit of guidance with this matter.
    I need to increase the parameter value for "enque/table_size".  It's currently set to the default 4096kb and we're seeing a lot of lock table overflow errors.
    As the default value with Kernel 7.01 is 32MB, this seems like a good place to kick off.
    I've gone into RZ11 and entered the parameter name.
    Presumably, I select "CurrentValue" and Edit > Change Value?
    Because Change Value is greyed out.
    I have SAP_All in terms of authority. 
    So I'm a bit puzzlied!
    Any help would be appreciated.
    Thanks

    It seems your profile is not activated properly .
    First search for the value of the parameter in RZ11 or TU02 , If the value of the parameter is old proceed as either of the follows
    1 ) Go to /sapmnt/<SID>/profile ,  open the DEFAULT.PFL in an editor and add the entries . Bounce the system and check whetehr the entry appears in theRZ10 ( DEFAULT.PFL ) , since enqueue might be configured only in CI you can also do it in the instance profile
    2 ) Second option is to go to RZ10 , Open Default or instance profile ( Extended Maintainance ) , create the parametes ,Copy . Save . Activate the profile . Check version of the profile . Bounce the system and check again . This step is recommended
    Thanks ,
    Manu
    SAP Basis

  • Error in InfoView "The Parameter Value is not Valid"

    Hello,
    I have developed a Crystal Report in CR2008 and uploaded in the InfoView. Now when i run the report via scheduling or load the report with the data and try to change the parameter (editable set in CR) from the drop down list and hit apply i get an error dialogue box "The parameter value is not valid" and message says "null".
    Also another issue is that i cannot execute the report directly in InfoVIew, i have to schedule it to run the report. Report is connected to the SAP InfoSet.
    Any input would be much appreciated.
    Thanks.

    We have rebuild new servers for InfoVIew and it just works fine. Both the problem solved.

  • What's the available value for weblogic.jsp.encoding in web application.

    Hi,
              I'm using chinese windows nt 4.0 and weblogic 5.1 sp6.When I did not set
              weblogic.jsp.encoding to GB2312 , when the jsp file contain's chinese , the
              output will be error .And when I did not set it , the output is correct, but
              when I use request.getParameter("SomeFormElement")(the element inputed
              chinese), the return value is error.
              How should I set weblogic.jsp.encoding value to satisfy all this problem?
              When I set the value to ISO-8859, there is an exception:
              java.io.UnsupportedEncodingException: Charset: 'ISO-8859' not recognized,
              and there is no alias for it in the weblogic.httpd.charsets property. So
              What's the available value for weblogic.jsp.encoding in web application?
              Pan
              

    hi ,
    i think the best way is to create java beans ,in that bean call your EJB ,
    and check the validation over there.
    and make that bean scope to session.
    in each and everypage try to check the session ,if it is not valid then forward to your login page...
    otherwise continue to give access to him like guest
    Regards,
    AfTaB

  • How can I center a 'Jump Menu' on the page?

    Help!
    I have created a 'Jump Menu' to serve as the navigation for my website.
    However, I cannot seem to center it on my page?!
    Does the Jump Menu need to be contained within a div tag, in order for me position it precisely? At the moment it is contained within a 'Form' (I think), and not a div tag.
    I have attached a relevant screengrab.
    When I do try and center a div, I set the margins to auto in the CSS correct? e.g margin: 0 auto;
    This does not always seem to work, am I doing something wrong? Sorry, I am very new to this.
    Many thanks in advance,
    J

    Presumably you have some space on the web where you plan this website to finally be viewed by everyone?
    Upload your broken page there and give us the website address.

  • How to assign  the parameter value in form2 while passing it from form1

    Hi
    I have two forms,form1 is calling form2 passing a parameter client_id. If for that client_id form2 has any record it is displaying fine but if there is no record for the passing client_id , form2 could not get assigned to that client_id automatically. I want to get that parameter value in form2 so that I can add a new record (detail table). Please help!!
    Sumita

    In your servlet you can read directly the file using request.getInputStream().
    In this way you get the InputStream of the file selected by the user.
    I hope this help you.

  • How to retrieve the parameter names from a JSP page ? Urgent Please

    Hello,
    Can anybody tell me how to retrieve the parameter names from the JSP
    page. (without using getParameterNames() method.)
    The problem with the getParameterNames() method is I get the Jumbled output.
    I need it very badly
    With regards
    Ananth R
    email:[email protected]
    [email protected]

    Dear duffymo,
    My primary intention is to convert the JSP form information into a XML file.
    If I do not get the Parameter names in the correct order how can I maintain
    tag order in XML file.
    For ex: (JSP PAGE VIEW)
    Name--
    FirstName
    MiddleName
    LastName
    Address--
    Street1
    Street2
    City
    Country
    &so on
    (XML File to be generated)
    <Name>
    <FirstName>Value</FirstName>
    </Name>
    <Address>
    <street1>value</street1>
    </Address>
    & so on
    If I use getParameterNames() to get all the parameter names(Which form the tag names in the XML file ) the Enumeration object it returns will not be in the same order as the text fields in JSP.From this I can not construct a meaningful XML file.
    order means: Order of entry on the page, from top to bottom
    That's it
    Waiting for your responses

  • Unable to change the parameter value in the configtool

    Hi All,
    Error
    In the Configtool I have changed the custom value to u2018TRUEu2019 of the key u201Cume.superadmin.activatedu201D under Cluster-data -> instance -> server -> services -> com.sap.security.caore.ume.service. Now I am trying to change the value again to u2018FALSEu2019 but the value is not getting updated even after the server is restarted OS level. Please advise.
    System details:
    SAP: PI 7.0
    DB:   MS SQL 2000
    OS:   Windows 2003 server
    Thanks in advance.
    Regards,
    Dinesh

    Hi Dinesh,
    There are a variety of reasons why this is not getting reflected :
    1) When you make changes if you use an AS ABAP or LDAP directory as the data source. The default values of the UME properties assume the database of the AS Java as the data source. This requires you to reconfigure the data source before you can restart the AS Java.
    2) The cluster nodes have not been restarted after the changes
    3) Changes apart from global configuration have also been made elsewhere.
    4)properties as described in Editing UME Properties.
    Editing UME Setting:
    a) Start the Config Tool by executing
    \j2
    ee\configtool\configtool.bat.
    b) In the tree, navigate to Global server
    configuration services com.sap.security.core.ume.
    service.
    The list of UME properties appears.
    Regards
    joel
    Edited by: joel trinidade on Apr 15, 2009 12:29 PM

  • How to assign the class value dynamically  in jsp:useBean ?its urgent

    Hi
    I want to set the class value of <jsp:useBean> dynamically
    when i am trying to this way
    <jsp:useBean id="<%=id %>" class="<%=beanclass %>" scope="request">
    <jsp:setProperty name="<%=id %>" property="*"/>
    </jsp:useBean>
    where beanclass is .class file that is to be used by the usebean tag
    i am getting following error
    The value for the useBean class attribute <%=beanclass %> is invalid.
    please help as soon as possible
    regards,
    Rameshwari

    You can not do that.The jsp:useBean and jsp:setProperty are action tags and not custom tags. Action tags get translated into Java code in the translation unit and are then compiled. Custom tag are backed by classes and the tag get translated into a method call of the class.

  • Call javascript funtion after posting the data

    Hi...
    I have to show confirmation message in client side using JavaScript after I am getting the value from server side when I submit the page.
    please help me for getting the solution for this problem...
    I am going to create new active credit card data to a particular member, so while saving new credit card, I have to check whether this person already having the credit card or not in the server side, if he have then we have to show pop up message in client side for replacing the existing one?

    Mahantesh wrote:
    After getting confirmation message i need to call different action in jsf if data exist. if I press ok button it has to perform again action for deactivating the existing active card and putting new card in request tableYou can simulate a normal click on a button and invoke it's action method on the server. Place an unvisible button on the page and let the script call the click() method.
    document.getElementById('myUnvisibleOkButton').click();You can avoid all the Javascript the following ways:
    Use a panel with two ordinary buttons "Yes", "No" and manipulate it's rendered attribute.
    variant 1
    Let the panel cover all controls using CSS. We have successfully tried this approach:
                           <ui:panelLayout binding="#{personal$Mitarbeiterauswahl.layoutPanelConfirm}" id="layoutPanelConfirm" panelLayout="flow" style="height: 700px; left: 0px; top: 24px; position: absolute; width: 100%">
                                <h:panelGrid binding="#{personal$Mitarbeiterauswahl.gridPanelConfirm}" columns="1" id="gridPanelConfirm" style="margin-left:auto; margin-right:auto; margin-top:300px; background-color:#FF3333;">
                                    <ui:staticText binding="#{personal$Mitarbeiterauswahl.staticTextConfirm}" id="staticTextConfirm" text="#{msg.global_loeschen}"/>
                                    <ui:panelLayout binding="#{personal$Mitarbeiterauswahl.layoutPanelConfirmButtons}" id="layoutPanelConfirmButtons" panelLayout="flow">
                                        <ui:button action="#{personal$Mitarbeiterauswahl.buttonConfirmYes_action}"
                                            binding="#{personal$Mitarbeiterauswahl.buttonConfirmYes}" id="buttonConfirmYes" text="#{akt.button_ja}"/>
                                        <ui:button action="#{personal$Mitarbeiterauswahl.buttonConfirmNo_action}"
                                            binding="#{personal$Mitarbeiterauswahl.buttonConfirmNo}" id="buttonConfirmNo" text="#{akt.button_nein}"/>
                                    </ui:panelLayout>
                                </h:panelGrid>
                            </ui:panelLayout>variant 2
    "Disable" all other controls on the page. In general we are using this approach.

Maybe you are looking for

  • Flash Player does not work after steps to resolution

    I am using Windows 8.1 and flash player will not work.  I have "enabled" and removed Active X control as per instructions but it still does not work.

  • Error when consuming Web Service in SAP R/3 ECC 6.0

    Hi to everyone. I have created an asynchronous Web Service in SAP R3, which I want to use in SAP PI later. When I test the Web Service using WS Navigator or XMLSpy the following error occurs: SOAP Runtime Protocol: ABAP Runtime exception: 1F09B73915F

  • My iPod will charge through the wall outlet, but not PC. PC won't recognize it when plugged in.

    I bought a used iPod nano that is giving me some grief. It works fine other than the battery not holding a charge. I have ordered a battery to replace the old one and am hoping this might be the problem.  Anyway I am having problems getting my PC to

  • Payment Proposal List -  DME generaion

    Hi, I am implementing SAP E-Banking solution, my requirement as follows, One Payment proposal generated for following amounts, 1.  Amount  10000   -  one approval 2.  Amount  15000   - One approval 3. Amount   50000   - Two Approvals 4.  Amount  100,

  • IP device tracking and idle timer problem

    Hi, We are deploying 802.1X in our network and have encountered problem with a type of payment terminal. The problem is that the terminal do not 'speak' to the network after the first initial DHCP request, the terminal waits for incoming packets from