Problem with back button  with myfaces/jsf

Hi guys
i have very strange kind of problem , i have a page where i am shwing tabular data with data scroller , thats work fine , in this tabbular data we are shing user infomration , and a link on user name ti see his details , this link works fine , and take user to user details page ,
but from that page if user press back button , and reaches back to tabbular data page , in this page if user select any link , page reloads , and stay there , and after reloading page if user select any link then it works
Any one geting this kind of preoblem , hope i am not alone
please help me out
X-preet

Hi Luisa,
1 .Create 2 views  View1 and View2
2. Place buttons on both the views and create actions for both in view1 and view2
3.Create outboundplug from View1 to View2.(Navigation link also)
4.Create outboundplug from View2 to View1.(Navigation link also)
5. In View1 button action fire the outboundplugto View2
6. In View2 button action fire the outboundplugto View1.
Regards, Anilkumar

Similar Messages

  • Can we perform two actions with one button with two clicks one after other?

    Sir,
    can we perform two actions with one button with two clicks one after other?
    I want that when I click an Add Button first time it add data to the database and when I click again this button it clear the form data to empty fields.
    Regards
    Tanvir

    In code it should be easy.
    The following code adds a button called butman with a text "ADD".
    It then registers a listener that will be called if the button is clicked.
    This listener then calls the runAddData method if you clicked on butman while it contained the "ADD" text and it will call the runClearData method otherwise.
    Therefore it will swap the button's functionality between ADD and CLEAR on every click.
    final Button butman = new Button("ADD");
    butman.setOnAction(new EventHandler<ActionEvent>() {
              @Override
              public void handle(ActionEvent t) {
                        if (butman.getText().equals("ADD")) {
                                  butman.setText("CLEAR");
                                  runAddData();
                        } else {
                                  butman.setText("ADD");
                                  runClearData();
                        } // END IF-THEN
              }});I hope this is what you wanted.
    Some extra food for thought.
    You might want to run the ADD and CLEAR methods in their own threads so that it can run in the back ground, without slowing down your user interface.
    I also like to rather reuse one button for multiple functionality in stead of making an application with hundreds of nodes only used rarely with masses of code to show and hide them if needed.

  • How to make email link with a button with AC2 in flash cs3?

    How to make email link with a button with AC2 in flash cs3?
    I wrote this, but it does not work:
    btn_emailinfo.on (release) {
    getURL("mailto:"[email protected]");
    }

    I am guessing you put that on a frame?
    If so, the syntax is as follows:
    btn_emailinfo.onRelease = function(){
    getURL("mailto:[email protected]");
    Though, if you are placing it directly on the button itself,
    the syntax is:
    on(release){
    getURL("mailto:[email protected]");
    }

  • Problem with Back button in Top Level Navigation

    Hi all,
    We are facing a minor problem with the Back button in the Top Level Navigation in Portal. This button is present under the Roles and Worksets menu along with the History, Forward, and Add to Portal Favorites links.
    The problem is faced when we have some worksets under a single role. While browsing accross these worksets by randomly clicking on them, we wish to use the Back button as well to go back to the previous workset. But when we use the Back button, the Detailed Navigation panel in the last workset is not retrieved.
    I will explain with the System Administration Role. I open the worksets under this role in the following manner:
    First I open Transport;
    Next I open Portal Display;
    Next I open System Configuration;
    Now I wish to go back to Portal Display workset by clicking on the Back button. But when I do this, although the Portal Display workset opens up, but I cannot see the Detailed Navigation Panel. See the screenshot below:
    http://img399.imageshack.us/my.php?image=backbuttonkg6.jpg
    Please help me in solving this issue.
    Regards,
    Ankur

    I think I have found a resolution, although not very pleasant:
    [Note 950426 - Portal Back button not working correctly|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_ep_pi/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393530343236%7d]
    Regards,
    Ankur

  • Multiple Video Tracks Problem with Back Button

    Hi,
    I am making a DVD that has to contain 16 films. Unfortunately the videos don't have the same aspect ratios, so I have to create one video track for each film.
    When the DVD is started they are supposed to play all in a row (no menus). So the end action for each track is to jump to the first chapter of the next track.
    My problem is that once I am playing, say, track 5, there is no way to get back to track 4 with the "back button" on the remote control.
    Do I have to script this? And if yes, how?

    That is exactly my problem. Chapter markers only work on the same track, for some reason you can't jump to a chapter in a different track. What I need is a solution to jump from a track to the previous one when pressing the back button on the remote.
    As I wrote before I can't use just one track for all films, because they have different aspect ratios.
    Message was edited by: schmiddl

  • Servlet Problem with Back Button on IE

    Hello All:
    This is a weird problem I am facing on IE.
    I have a servlet which is invoked by the doGet() method. This servlet
    has a FORM which has few fields. One of the field has a hyperlink which
    makes a window.open() call for Onclick. This pop-up allows a user to
    search for some value. The result of the search is displayed in a
    SELECT box. Based on the value selected in this SELECT box, the field
    in the servlet that called this pop-up gets populated. After this is
    done, I close this pop-up & click on the proceed button of the FORM
    (using POST) which takes us to another servlet. Then when I click on
    the back button, the fields on the form which were populated are gone.
    I have made the following analysis:
    (i) On clicking the back button, a request is sent to the server.
    (ii) It works on FireFox & not on IE
    (iii) If I do not use the hyperlink to bring the pop-up, and then I
    click on proceed and then back, the fields do not vanish.
    (iv) I tried using http://www.google.com to the call on window.open().
    Does not help
    (v) The very action of using pop-up by clicking on it causes this
    problem
    (vi) I tried replacing the hyperlink with a button. It did not work.
    Any help or tips in this regard would be helpful.
    Thanks in advance.
    Mahesh

    I dont know how you can post on the back button, and am a bit confused as to why you need to go back, you would normally want to go forwards :).
    What I would do is have the same servlet handle both cases.
    I would make 1 servlet SUBMIT TO ITSELF.
    You may have to pass an additional parameter to indicate whether this is the initial / first request, or a subsequent request where the servlet has re-submitted back to itself.
    If you want to disable the back button you can use javaScript
    <script language="JavaScript" type="text/JavaScript">
    <!--
    javascript:window.history.forward(-1);
    -->
    </script>
    I used this when I found that users could use the back button and re-submit when I didnt want them to, kind of the opposite of your problem!

  • BDC problem with back button

    Hi all,
    i have idoc number in alv output.when the user clicks on this ,it should take the control to BD87 transaction with idoc number getting transferred there .also BD87 screen has changed on select option where the default is sy-datum .i need to clear this along with transfer of idoc number.
    i tried using submit statement,but its not working.
    then i used call transaction in error mode to acheive this functionality and i was sucessful.
    beloe is my code:
       REFRESH bdcdata.
            READ TABLE t_out INTO wa_out INDEX rs_selfield-tabindex.
            DATA: lv_mode(1) TYPE c VALUE 'E'.
            PERFORM bdc_dynpro      USING 'RBDMON00' '1100'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'SX_UPDDA-HIGH'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=CRET'.
            PERFORM bdc_field       USING 'SX_DOCNU-LOW'
                                          wa_out-docnum.
            PERFORM bdc_field       USING 'SX_CRETI-LOW'
                                          '00:00:00'.
            PERFORM bdc_field       USING 'SX_CRETI-HIGH'
                                          '00:00:00'.
            PERFORM bdc_field       USING 'SX_UPDDA-LOW'
            PERFORM bdc_field       USING 'SX_UPDDA-HIGH'
            PERFORM bdc_field       USING 'SX_UPDTI-LOW'
                                          '00:00:00'.
            PERFORM bdc_field       USING 'SX_UPDTI-HIGH'
                                          '00:00:00'.
            PERFORM bdc_call_transaction USING 'BD87' lv_mode 'N'.
    So,the control directly takes me inside the BD87 screen just after the screen which we get after execting the selection screen of bd87 with idoc details
    the problem is whn i click on back button or F3,the control does not take me back to the ALV output screen rather it takes me to the selection screen of BD87.
    So,any way out to solve the back button problem???
    Thanks

    Hi Kunal,
    That's a really tough report to handle by submit.
    You can try to call the transaction in error mode and place one moment to force the screen to appear. Then complete the BTCI with the last steps to exit the selection screen.
    Try it like this:
    REFRESH bdcdata.
    READ TABLE t_out INTO wa_out INDEX rs_selfield-tabindex.
    DATA: lv_mode(1) TYPE c VALUE 'E'.
    PERFORM bdc_dynpro USING 'RBDMON00' '1100'.
    PERFORM bdc_field USING 'BDC_CURSOR' 'SX_UPDDA-HIGH'.
    PERFORM bdc_field USING 'BDC_OKCODE' '=CRET'.
    PERFORM bdc_field USING 'SX_DOCNU-LOW' wa_out-docnum.
    PERFORM bdc_field USING 'SX_CRETI-LOW' '00:00:00'.
    PERFORM bdc_field USING 'SX_CRETI-HIGH' '00:00:00'.
    PERFORM bdc_field USING 'SX_UPDDA-LOW' ''.
    PERFORM bdc_field USING 'SX_UPDDA-HIGH' ''.
    PERFORM bdc_field USING 'SX_UPDTI-LOW' '00:00:00'.
    PERFORM bdc_field USING 'SX_UPDTI-HIGH' '00:00:00'.
    *btci is interrupted in presentation of the result screen
    *last steps to exit selection screen
    PERFORM bdc_dynpro   USING 'RBDMON00' '1100'.
    PERFORM bdc_field       USING 'BDC_OKCODE' '/ECBAC'.
    PERFORM bdc_field       USING 'BDC_CURSOR' 'SX_UPDDA-LOW'.
    *use error mode in call transaction
    CALL TRANSACTION 'BD87' USING bdcdata MODE 'E'.
    *PERFORM bdc_call_transaction USING 'BD87' lv_mode 'N'.
    hope it helps,
    Edgar

  • Having problem with back button on

    The bottom left hand button on the Zen Micro won't seem to work correctly unless it is charged into the power adapter. I've tried the clean up mode but that didn't do anything, is there anything else that I can do other than rebooting it because I would hate to have to go through the whole method of inporting my music back on there cause it takes hours. Please give me any advice you have!
    ~Michelle

    having the same problem at www.dealnews.com
    not a problem with previous 3.32 version, but now i can't get back to the previous page without pressing the back button twice quickly.
    if you press it once, it just reloads the same page.
    i've reset safari, but nothing fixes it.
    anyone else have an idea?
    thanks!

  • Problem with back button in alv o/p

    Hi guys,
    I am using Grid display to display a data. but when i am clicking on back button on o/p the o/p is displaying duplicate records for the first o/p. i,e it is displaying multiple records, again clicking on back it displaying extended o/p with more duplicate data...

    Hi
    Check did u refreshed the internal that u displayed.
    And also check grid control is initial or not
    Data: g_cust_container TYPE REF TO cl_gui_custom_container,
             g_cust_grid TYPE REF TO cl_gui_alv_grid.
    **Create Container ALV Grid
      IF g_cust_grid IS INITIAL.
    Create Control Container for Grid
        CREATE OBJECT g_cust_container
           EXPORTING
              container_name = g_container.
        IF sy-subrc <> 0.
    add your handling, for example
          CALL FUNCTION 'POPUP_TO_INFORM'
            EXPORTING
              titel = sy-repid
              txt2  = sy-subrc
              txt1  = text-m02. "The control could not be created.
        ENDIF.
        CREATE OBJECT g_cust_grid
           EXPORTING
              i_parent = g_cust_container.
      ENDIF.
      CALL METHOD g_cust_grid->refresh_table_display.
    Regards,
    Raghu.

  • Problem with back button in jsp

    hi all,
    i am submitting some text field values and select option to a do_registration.jsp page.
    till now everything is ok.
    code in do_registration
    if (rowCount > 0) //means user already exists
    out.print("user already exists");
    out.print("<A HREF='#' ONCLICK='javascript:history.back(-1);return false;'>back</a>");
    else
    insert syntax
    if userexists i its diplays the message and
    when i click on back link what ever the contents the registerform is cleared.i mean whatever the user input the values in the text fields etc everything has gone.user has to retype whole text again.
    so where i am wrong.
    any help

    You can definetly do this globaly on all browsers not looking at the settings by creating a small user bean. Just have a class User with getter and setter methods for main fields, or fields that you need to show in the back button. Then put that class in your WEB-INF classes dir.
    Create a JSP as the page before where you are trying to validate a user. Use jsp tags. <jsp:Bean var="user" class="myPackage.User" scope="session"> In form input fields do the following.
    <input name="first" value="<%=user.getFirst()%>">
    Now everytime this page will be called that field will be populated
    Hope this helps

  • Problem Using Back Button in IE When Viewing PDFs with Acrobat Pro

    I have an administrative page on my website where I view PDFs of form data submitted by my clients.  It has worked fine all along, but suddenly a problem.  When I view a PDF, I could always hit the back button and it would take me to the Administrative Interface (of all of my forms).  BUT now if I hit the back button it takes me right back to the same form (page) I'm viewing.  Below if the Administrative Interface....It may be hard to see but on the left side is a link for the PDFs of available forms.  Clicking on the link opens the form...but again when I then click back I'm supposed to return to this administrative page...but instead back viewing the exact same form.  HELP!

    How do I do the PDF View Previous if the PDF is opening in a browser window in IE?

  • Problem with back button when using task flow to navigate through pages

    I am using unbounded task flow to navigate through my pages
    in page2 I added back button so I can back to page1 using the action A2
    task flow 1
    page 1 -----A1-------> page 2
    page2 ----A2--------> page1
    the problem when I used page2 in another task flow
    task flow 2
    page 3 -----A3------> page2
    page 2 -----A4 -----> page3
    here when I click on back button he take me to page1
    how can I back to page3 ???????

    For this you have to know where the user came from when he navigated to page2. You can e.g. store the back target in a variable in the session or pageflow scope (when the user navigates from page1 or page3 to page2), then you bind the back button of page 2 to the stored variable.
    Timo

  • Navigation problem with back button in module pool

    Hi everyone,
    I have a scenario in module pool programming in which i need help.
    I have an i/p filepath screen where the user inputs his/her file and clicks on validate button provided in the toolbar.
    After that it goes to the next screen which displays all the messages(error/success).
    After I click on Execution button it goes to next screen displaying all the created data.
    Now when I click on back button I want it to go to the i/o filepath screen.
    Please give me your comments on this.
    Leave to screen XXXX is giving me dump so any other options plz let me know.
    Thanks in advance.

    Hi Amit,
       Lets say you have 3 screens 100, 200 and 300. screen 100 has you input file path and 200 shows the message and 300 shows the created data.
    Now in PAI of 300 write as below.
    IN the screen as below
    MODULE USER_COMMAND_300_EXIT AT EXIT COMMAND.
    In the include as below
    MODULE USER_COMMAND_300_EXIT.
    CASE sy-ucomm.
    WHEN 'BACK'.   " OK code for BACK button.
    CALL SCREEN 100.
    WHEN 'CANCEl'.
    LEAVE TO SCREEN 0
    ENDCASE.
    ENDMODULE.
    Please revert if you still face problems.
    Regards,
    Praveenkumar T

  • Urgent ...problem with back button in my browser

    hello,
    i created one login.jsp file and wellcome.jsp file and one logout.jsp file and one login controleservlet.If i login once i got wellcome page.In that i have logout button, and if i will click that button
    it will display logout successfully message on browser.my requirement is that after i will get logoutsuccessfully message i want to avoid back button in my browser.if i click back button then it will display an error message like "your session expire".
    please send the reply as soon as possible.

    I'm not certain of whether you want to disable the back button in the user's browser or you want to avoid this error message...
    Assuming you want to avoid the error message entirely, I would set a variable in the session scope when the user logs in and any time you don't see that when you process a request in your servlet, redirect the user to the login page.
    If you're looking to simply disable the back button in the browser, beyond asking the user nicely not to click the back button, good luck to ya. :)
    Hope this helps!
    - Kyle

  • Trouble with back button in Safari, always resets to top of page.

    I am running Safari 6.0.5 on a Macbook Pro running OSX 10.8.5
    The problem that I am having is that every time I use the back button to my previous page it always takes me to the top of my previous page. All of my other Macs running Safari always take me to the point in the page I left from. It is a real headache to always have to search for where I was on my last page. I have gone through every preference I can think of that would be relevant and updated several versions of Safari with no change. This issuse is only on my laptop
    Anyone that has had this issue I would appreciate the help.

    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.

Maybe you are looking for

  • Once and for all - malware protection needed?

    Can anyone tell me - once and for all - if I need to install malware/virus protection on my MacBook Pro and, if so, what is a legitimate and effective product?  I have browsed other discussion threads on this topic and found that the responses tend t

  • Fire Wire Control or RS 422 control for capture

    I am looking for a DVD player/recorder that can be controlled (via firewire/RS 422) by FCE and FCP for log and capture functions. Right not I have been HOT Rolling via a Conapus box (ADVC 100) Any suggestions

  • Just installed 10g: Main form cannot find subforms or menus

    I just added 10g FOrms Builder to my PC. I was running 9i and it still exists on the machine. Problem: My main form, when run locally from Forms Builder cannot find any of its menus or subforms unless the FULL PATHs are defined in the properties or C

  • �Unable to create the virtual machine. The error was -4�

    I have a VS2003 C# application, which call JACE (a JNI wrapper) through C++ mixed mode to use JAVA object�s functions. Because the natural of our JAVA program it must be able to reach maximum heap size of 512MB, we set it during the startup of JVM by

  • Acrobat 8 activation problem

    I have acrobat 8 i am putting on my new computer.  I have had it on my previous computers, but they all have died from hard drive crashes.  I was not able to deactivate them because i didnt know they were going to crash. Now i cannot active on new co