Passing parameters without modifying the URI

Hi All,
I am working on a web application which is intended to run on the BlackBerry. I have one Servlet which I use to redirect the application for the appropriate action, for the purpose of keeping the URI the same. I do this because the users do not want the ability to be able to click back and return to previous pages of the app. The problem I am having is that I have a JSP page in which I have a hyperlink which calls the Servlet, but I need to pass two parameters. Currently I do this:
<a href="<%= SERVLET_PATH %>/myServlet?param1=value1&param2=value2 ">Some text</a>
If javascript were an option I would do:
<FORM NAME="myform" METHOD="post" ACTION="<%= SERVLET_PATH %>/myServlet">
<INPUT TYPE="hidden" NAME="param1" VALUE="value1">
<INPUT TYPE="hidden" NAME="param2" VALUE="value2">
<A HREF="javascript:document.myform.submit()>Some text</A>
</FORM>
Unfortunately the users do not have BlackBerry devices that are javascript enabled.  Is there any way to achieve this without  appending the parameters to the url?
Thanks in advance,
Denise                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Hi John,
Thanks for your reply. Unfortunately we do not want to use input buttons because on the BlackBerry the interface is too limited by size and this causes extra scrolling. It's silly, I know, but not an option for us at this time. The BlackBerry users are resistant to do any extra clicks and rolls of the track wheel.
Denise

Similar Messages

  • How to change the width for adf shuttle without modify the skin file

    Dear Professionals
    I haven an ADF Shuttle component in my jsp screen , How can i change the width for the two boxes without modify the skin files.(I know i can do that by skin but what i want to change one shuttle just in one screen not change all shuttles on other screens).
    Regards
    Wish79

    Okay, I didnt try with the trinidad selectmanyshuttle, but this worked for me on the af:selectmanyshuttle..
            <af:selectManyShuttle label="Label 1" styleClass="mycustcss">
              <af:selectItem label="Label1" value="value1"/>
              <af:selectItem label="Label2" value="value2"/>
            </af:selectManyShuttle>
            <af:selectManyShuttle label="Label 1">
              <af:selectItem label="Label1" value="value1"/>
              <af:selectItem label="Label2" value="value2"/>
            </af:selectManyShuttle>        And in my css file, I have
    af|selectManyShuttle.mycustcss::content { width: 800.0px;}
    The first selectManyShuttle came up very wide and the second one came up in the default width..
    Julian.

  • I did a presentation with many images and animations, now I need to change only the images without modify the related animations. How can I do it?

    I did a presentation with many images and animations, now I need to change only the images without modify the related animations. How can I do it?
    I use Keynote 09

    Select the image you want to change and go to Format Menu>Advanced>Define as Media Placeholder (or command, option, control i).

  • Print report in excel report without modifying the layout

    Offcourse we can print or view report in excel format by setting parameter desformat=delimited.But the o/p generated is not in proper format , with bolierplates repeating ???.And the o/p is more worse in case of complex report.Is there anyway to have proper excel o/p without modifying the layout

    See the responses to the separate thread
    "Send data to excel". The quick answer is
    "no", but there are ways to get pretty
    Excel outputs. Not from Reports, though,
    as best I can tell.
    -- Allan Plumb

  • How to write a Web service Handler without modifying the Web service code

    Hi,
    How can I write a SOAPHandler without modifying the Web service code. I want to add a generic handler which will take care of SOAPHeader for all the webmethods. To add a handler is it necessary to modify the web service code?

    You will find answer in [implementing_handlers_using_jaxws_2|http://blogs.sun.com/sdimilla/entry/implementing_handlers_using_jaxws_2]

  • How to update view  without modifying the base table ?

    Hi Experts , I need help in two qurstions
    1. How to update a view without modifying the base table ?
    2. How to write a file unix operating system in pl/sql ? is there any built in procedure is there ?
    Thank you

    Hi,
    I'm not sure what you're asking in either question. It would help if you gave a specific example of what you want to do.
    SowmyRaj wrote:
    Hi Experts , I need help in two qurstions
    1. How to update a view without modifying the base table ?You can't.
    Views don't contain any data; they just query base tables.
    You can change the definition of a view (CREATE OR REPLACE VIEW ...) so that it appears that the base table(s) have changed; that won't change the base tables.
    2. How to write a file unix operating system in pl/sql ? is there any built in procedure is there ?The package utl_file has routines for working with files.

  • Alv -change the output without modify the code

    hi...............
    how can we  change the alv output without modifying the code .
    plz help me.

    hi satya vani ,
    use this code..after execution choose the button(ctrl+f8) then you can give the position and length of the output field..
    then it will automatically changed...
    report .
    TABLES:LFA1.
    SELECT-OPTIONS:LIFNR FOR LFA1-LIFNR.
    DATA:BEGIN OF ITAB OCCURS 0,
    LIFNR LIKE LFA1-LIFNR,
    NAME1 LIKE LFA1-NAME1,
    LAND1 LIKE LFA1-LAND1,
    ORT01 LIKE LFA1-ORT01,
    REGIO LIKE LFA1-REGIO,
    SORTL LIKE LFA1-SORTL,
    CFIELD(4) TYPE C,
    END OF ITAB.
    DATA:LINE TYPE I.
    SELECT * FROM LFA1 INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE LIFNR
    IN LIFNR.
    DESCRIBE TABLE ITAB LINES LINE.
    LOOP AT ITAB.
    IF SY-TABIX = LINE.
    ITAB-CFIELD = 'C410'.
    MODIFY ITAB.
    ENDIF.
    ENDLOOP.
    TYPE-POOLS:SLIS.
    DATA:FCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA:LAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA:SORT TYPE slis_t_sortinfo_alv WITH HEADER LINE.
    LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
    LAYOUT-WINDOW_TITLEBAR = 'VENDORS DETAILS SCREEN'.
    LAYOUT-EDIT = 'X'.
    LAYOUT-info_fieldname = 'CFIELD'.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    I_PROGRAM_NAME = SY-REPID
    I_INTERNAL_TABNAME = 'ITAB'
    I_INCLNAME = SY-REPID
    CHANGING
    CT_FIELDCAT = FCAT.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = SY-REPID
    IS_LAYOUT = LAYOUT
    IT_FIELDCAT = FCAT
    TABLES
    T_OUTTAB = ITAB.
    regards,
    venkat.

  • Debugging a smartform without modifying the code ?

    Hi all, please forgive my noobyness but it's the first time I'm working on smartforms...
    Basically; I have a smartform that prints out a pdf showing all the entries of a purchase order, but there's a thing that I have to correct... The price amount for position is not correct, because it doesn't contains an extra amount, let's call this quantity "limit", that is a specific property of each row in the order.
    Problem: I'm not that good to find in the code the exact point in which the price for a row is calculated, or better.... I thought I found it, did a little correction but without success.
    I'd like to debug exactly the pieces of code that are in the smartform, how to do it without modifying the code ? I've read something about hardcoding a break-point but I won't insert new code because I'm working on a pre-production machine and porting a CR is not as easy. Is there any way to debug without doing a mod on the code? Thanks in advance.

    Hi Matteo,
    it's quite simple.
    Found the Fm name of the SMARTFORM (Menu Utilities-> F.M. Name) (Something like
    /1BCDWB/SF00000015).
    Then go in SE37 transaction and put the FM founded and then display it.
    Go in the main info of the FM (tab. Propierties) and the double click on the main program.
    Then double click on the include that ends with *F01. There you will find all the code of your SF. Then you can put a breakpoint the piece of code that you want.
    This should be works.
    Let us know
    Bye
    Andrea

  • How do I arrange songs in a particular order without modifying the tag info

    Hi.
    I'm trying to arrange songs in a playlist to play in a certain order without having to permanently modify the tag information like track number. Can this be done?
    Thanks!

    This can be done by sorting on the leftmost column (with the numbers).
    Then you can drag them at any position you want.
    Shuffling for that playlist has to be off.
    Hope this helps.
    M

  • How to Add a Custom FPM App to MSS without Modifying the SAP Content

    Hi,
    I'm trying to add a custom application to MSS, under the General Information page. I've created my own FPM application (to display qualifications) and have added it to the standard FPM application. I've mostly followed this blog - however this involves modifying SAP delivered content:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/how-toaddacustomWebDynproiViewtotheMSSEmployeeProfile%28ECC+6.0%29&
    I would like to be able to find a way to do this without changing the SAP delivered content. Multiple trials with Delta links have proven unsuccessful.
    Has anyone been able to do this or does SAP recommend modifying the SAP delivered content?
    Any help would be appreciated. This issue has been out for a long time.
    Bert

    Thanks Markus.
    Does that mean that SAP recommends that we make our changes to the FPM application that they deliver in the PCD?
    I don't want to have to recreate the same WD applications as what SAP delivers, it would make no sense.
    What will happen in case of an upgrade or a patch from SAP? Will my changes be overwritten?
    We are starting to make those modifications and it doesn't seem like SAP made it simple for us to do so.
    Thanks -
    Bert

  • Tuning an sql from a vendor product without modifying the sql statement

    Hi,
    we have a vendor product which generates SQL Statement. For one query, we get response in 15 seconds. But users are asking if we can bring it down to 5 seconds. Limitation is query can't be changed. It used around 10 to 12 tables and bit complex query.
    What kind of options could be evaluated if we want to improve performance of a query (Not sure if it could be ever reduced to 5 seconds)
    without making any change to the query.
    Database Version: Oracle 10.2.0.4
    Thanks,
    Sarayu

    807778 wrote:
    Hi,
    we have a vendor product which generates SQL Statement. For one query, we get response in 15 seconds. But users are asking if we can bring it down to 5 seconds. Limitation is query can't be changed. It used around 10 to 12 tables and bit complex query.
    What kind of options could be evaluated if we want to improve performance of a query (Not sure if it could be ever reduced to 5 seconds)
    without making any change to the query.
    Database Version: Oracle 10.2.0.4
    Thanks,
    SarayuI'd go through the standard stuff of "is there an index that can help?", "should these tables be in a cluster?" etc.. Problem there is that you might degrade other operations, and you might break your application support contract by modifying the schema. Even adding a materialized view could do that.

  • Preferred display language in safari without modifying the system language?

    Hi
    I have my system language set to US English.
    I want to change only safari preferred language to another language without having to change the default OS language.
    In firefox it's easy to have firefox in english but the default language for site specific languages another language.
    any idea how to do this in safari 4.x for osx?
    Cheers

    I don't think there is no way to do what you want.
    http://www.w3.org/International/questions/qa-lang-priorities
    Ask Apple for fix it here:
    http://www.apple.com/feedback/macosx.html

  • How to fire a branch to pass parameters without url?

    is it possible to fire a branch when user clicks a link on the page. I have a report on a page #2 and one of the column is "serialno". When the user clicks the link, the application needs to go to page #3 and show the details for the serial. However because of security restrictions, I can't pass the serialno in the url. is it possbile to set the page item serialno on page #3 in the branch which takes the user to page #3 and show the details?. any ideas are appreciated.
    Regards,
    Surya
    Edited by: sgodavar on Aug 13, 2010 4:10 PM

    Hi,
    Here is what I think is an easy way of doing it.
    1. Edit the SERIALNO column from the Reports Attribute tab
    2. Change the Column Link Target to URL
    3. In URL type the line below. The #SERIALNO# is the report column
    javascript:doSumbit('#SERIALNO#') 4. Write an OnSubit Computation or Process to assign the value of #SERIALNO# to the item on Page 3 (say P3_ITEM1)
       a. Assignment can be :P3_ITEM1 := :REQUEST; ( or SQL)
       b. Computation/ Process condition will be PL/SQL Expression
        regexp_like(:REQUEST,'^[[:digit:]]).*$') -- all numeric request, no semicolon at end in Apex 4
       5. Create condition branch to go to Page 3, with the above regexp_like as the condition.
    Here is what will happen.
    a. Clicking the link on the report will cause a submit with request = serialno (assumed to be all numeric in this example)
    b. You trap and process the all numeric requests assign the request value to the item on Page3.
    c. Branch to Page 3 on the same condition of request being numeric.
    Above is the basic concept, you can make it more complex and flexible using prefixes and suffixes in the doSubmit and REGEXP_LIKE to allow multiple links of this type from one report.
    Regards,

  • How to get the alv saved in background mode without modifying the program?

    Hi all,
    I have to run a standard report(IW39) in background and save the result ALV as excel or text file.
    How to get the result saved in excel / text format if I don't want to customize the standard program?
    (In the spool, there is an option to save list in file "Spreadsheet", but the saved format is not what we expected.
    It is expected the data to be put is separated in each column / tab-delimited in the text file....)
    Many Thanks!

    I don't have any ready made coding examples, but using the F1 help on SUBMIT statement will help to get you quite a way:
    DATA list_tab TYPE TABLE OF abaplist.
    SUBMIT 'RIAUFK20'
    USING SELECTION-SCREEN
    EXPORTING LIST TO MEMORY
                  AND RETURN.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = list_tab
      EXCEPTIONS
        not_found  = 1
        OTHERS     = 2.
    IF sy-subrc = 0.
      CALL FUNCTION 'WRITE_LIST'
        TABLES
          listobject = list_tab.
    ENDIF.
    Edited by: Micky Oestreich on May 18, 2009 8:18 AM

  • Is it possible in firefox to close a browser window/tab using java script without modifying the configuration settings? If YES, please let me know.

    Requirement: On click of button, I want the browser window to be closed.
    Solution: I am calling below java script on "onClick()" event of button.
    function close_window()
    window.close()
    This works in internet explorer but not in Mozilla Firefox. What is the reason behind it. Is there any way out to close the browser window in Mozilla Firefox?

    Can you post a link to a page that opens a pop-up window where a close button doesn't work?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • Cannot get download manager to work

    Hi, I am a valid licens holder of PS CS4.  I currently have it on my desktop.  I just purchased a Netbook and want to have PS on the new computer also.  I installed the download manager but when I tried to download PS with it, I get an erro (and no d

  • Youtube videos stop playing-appears not to be a browser problem

    Hi everyone, This is my first time posting here, I've always managed to find a solution to my previous mac problems with a little bit of googling around, but not this time so I really hope someone can help me out here. It's been going on for about 2

  • Pricing error in cancelled credit note

    Hello SAP Experts We have got into a situation wherein the cancelled credit note is struck with pricing issue. The background for the issue is a new condition type was added to the pricing procedure (marked as mandatory) and transported to production

  • Authentication proxy with Apps !!!!

    How can the iPhone doesn't support authentication proxy access for 3rd party apps ??? does anyone know how to get over that ?

  • Stuck when upgrading to 3.1.

    I'm having trouble applying the update. It didn't restore the phone, and not I have the picture of the cable plugging into iTunes on the phone. I hit "Restore" and I get an error: --The iPhone "iPhone" could not be restored. An unknown error occurred