How to handle stop and refresh button.

i have two JSP pages. in the frist page the user has the option to either view previous ones or create a new. in both cases i pass a form id as parameter to execute the related data. in the second page , when user fills the data and clicks submit, and clicks the stop or refresh or any other button before the data gets committed and reaches the confirmation page, how do i handle it? when user clicks one of these buttons , the controller class executes again (the process request is again executed).but this time there are no parameters sent to the controller. how do i handle this? also when user clicks the back i have redirected to dialog page. but there are back,forward refresh buttons for the dialog page. if user clicks those, again there are no parameters sent to the controller class.
how do i handle this.

too many queries at the same time.
1. Back button - Read the devguide and make the application/page bworser backbutton safe
2. Refresh/Stop Buttons - either use js to restrict these, or embed logic in the code to stop undesirable behaviour.
Thanks
Tapash

Similar Messages

  • How to handle "ok" and "cancel" button of dialog popup?

    Hello everyone,
    I'm using a dialog with type="okCancel". My question is how to handle ok and cancel button of this popup window. Here is my code below:
    <af:popup id="kriterPopup">
    <af:dialog title="Kriter Seçiniz" type="okCancel" inlineStyle="width:500px;height:400;" id="d2"
    dialogListener="#{BasvuruDegerlendirmeBean.kriterDialog}">
    <af:selectManyCheckbox label="Kriterler :" id="smc2"
    binding="#{BasvuruDegerlendirmeBean.kritersCheckbox}">
    <af:forEach items="#{BasvuruDegerlendirmeBean.kriterList}" var="item">
    <f:selectItem itemLabel="#{item.ybKriter.tur}" itemValue="#{item.ybKriter.tur}" id="si3"/>
    </af:forEach>
    </af:selectManyCheckbox>
    </af:dialog>
    </af:popup>
    I want to handle ok and cancel button of this window, and redirect to the pages which I want.
    Can anyone help me how I can do?
    Thanks, with my regards.
    Ali

    You need dialogListener..
        public void dialog1_dialogListener(DialogEvent dialogEvent) {
            if (dialogEvent.getOutcome().equals(DialogEvent.Outcome.yes)){ //for Yes
            }else{ //for Cancel
        }

  • Stop and refresh buttons

    Stop and refresh buttons (one will disappear while the other is active). I have found numerous websites that just don't want to load on the first try, now I am unable to refresh it (usually in a new tab) because the button disappears. BTW 255 limit is BS.

    You can try to press the ESC key to stop loading the page if you see the Stop button instead of the Reload button. You can also reload the page via F5 or Ctrl + F5 (cache bypass).
    Firefox 4.0 has a combined Reload and Stop and Go button that appears at the right end of the location bar.
    To restore the Firefox 3 appearance you can use these steps:
    * Open the "View > Toolbars > Customize" window to move the Stop and Reload button out of the location bar.
    * Move the Reload and Stop buttons to their previous position at the left side of the location bar.
    * Set the order to "Reload - Stop" to get a combined "Reload/Stop" button.
    * Set the order to "Stop - Reload" or separate them otherwise to get two distinct buttons.

  • Stop and refresh buttons (one will disappear while the other is active). I have found numerous websites that just don't want to load on the first try, now I am unable to refresh it (usually in a new tab) because the button disappears. BTW 255 limit is BS.

    Stop and refresh buttons (one will disappear while the other is active). I have found numerous websites that just don't want to load on the first try, now I am unable to refresh it (usually in a new tab) because the button disappears. BTW 255 limit is BS.

    You can try to press the ESC key to stop loading the page if you see the Stop button instead of the Reload button. You can also reload the page via F5 or Ctrl + F5 (cache bypass).
    Firefox 4.0 has a combined Reload and Stop and Go button that appears at the right end of the location bar.
    To restore the Firefox 3 appearance you can use these steps:
    * Open the "View > Toolbars > Customize" window to move the Stop and Reload button out of the location bar.
    * Move the Reload and Stop buttons to their previous position at the left side of the location bar.
    * Set the order to "Reload - Stop" to get a combined "Reload/Stop" button.
    * Set the order to "Stop - Reload" or separate them otherwise to get two distinct buttons.

  • How to disable back and refresh buttons in browser

    Hi,
    I need to disable the back and refresh buttons of the browser on the click of a button in a jsp as the process takes some time to be completed and i want to prevent the user from refreshing the screen.
    How can this be done?
    Thank you

    hi ,
    Can you try with the value i.e
    String s1 = oapagecontext.getParameter("value"); or button event can also be handle this way
    if ("BUTTON_EVENT".equals(event))
    - business logic
    Which screen you 're working by the way ?? if i have an access i will check it out and tell you
    --Keerthi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Missing, stop and refresh buttons.

    What happened to the refresh and stop buttons?
    Thanks in advance
    Ray.....
    ff 4.0 b 11

    See:
    *http://support.mozilla.com/en-US/questions/765875
    *http://mozillalinks.org/wp/2010/09/unified-stop-reload-go-button-comes-to-firefox-4/

  • How can i change firefox's button icons like back, forward, stop and refresh buttons?

    I couldnt find such option in personas nor in any add-ons.

    You need to install another theme to make such changes.
    *Firefox 3 theme for Firefox 4: https://addons.mozilla.org/firefox/addon/firefox-3-theme-for-firefox/
    *Strata XP: https://addons.mozilla.org/firefox/addon/strata-xp/

  • How to use the standrad Refresh button in ooalv Grid?

    Hai Experts ,
                              i write editable oo alv program its works fine.  when change the data
    then click save button its saved correctly, but the problem is totals of row  & column not refresh when i am click the
    Refresh button . Please Help how to handle the standard Refresh button in ooalv .
    Thanks
    Adv....

    thank q u for ur reply,
                                            when i edit the data in grid and save the data its saved  successful,
    but the problem is manually i calculating the totals at the end of the Row as well as at end of the columns,
    when i edit the data in Grid that totals are not effected for that im using the Standard Refresh button ,
    Plz help me.

  • My refresh button will not appear in 4.0, all I can get is a stop and home button, the refresh shows up in customize toolbar and I can put it up there, but as soon as I close it it dissapears, how do I get my beloved refresh button to show up?

    At first I had the stop/refresh buttons merged, which I hated so I tried putting spaces and things between them to stop their unholy union, but instead it has now made my refresh button dissapear in anger for not being allowed to see that dirty stop button! I cannot make it come back! Even if I put it on the toolbar in customize and it shows up, the moment I close it it has gone again.

    Firefox 4 uses a combined Stop/Reload/Go button that is positioned at the right end of the location bar.<br />
    During the page load process it shows as a Stop button and after the loading has finished the button is changed to a Reload button.<br />
    If you type in the location bar then that button becomes a Go button.<br />
    You can middle-click that Reload button to duplicate the current tab to a new tab.
    To move the Stop and Reload buttons to their position to the left of the location bar you can use these steps:
    * Open the "View > Toolbars > Customize" window to move the Stop and Reload button out of the location bar.
    * Drag the Reload and Stop buttons to their previous position to the left of the location bar.
    * Set the order to "Reload - Stop" to get a combined "Reload/Stop" button.
    * Set the order to "Stop - Reload" or separate them otherwise to get two distinct buttons.
    See also:
    * http://kb.mozillazine.org/Corrupt_localstore.rdf

  • Others query the absence of the refresh button and that people have suggested dragging the stop, etc button from the right, but I don't have this button nor does it come up when I search under Views/ Toolsbars/Customise. How do I get a refresh button ?

    Can't add much to the question

    Firefox 4 later use a combined Stop/Reload/Go button that is positioned at the right end of the location bar.<br />
    During the page load process it shows as a Stop button and after the loading has finished the button is changed to a Reload button.<br />
    If you type in the location bar then that button becomes a Go button.<br />
    Middle-click the Reload button to duplicate the current tab to a new tab.
    To move the Stop and Reload buttons to their position to the left of the location bar you can use these steps:
    * Open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout"
    * Drag the Reload and Stop buttons to their previous position to the left of the location bar.
    * Set the order to "Reload - Stop" to get a combined "Reload/Stop" button.
    * Set the order to "Stop - Reload" or separate them otherwise to get two distinct buttons.

  • How can I disable back, forward and refresh button in browser running ADF 11.1.2.2

    How can I disable back, forward and refresh button in browser running ADF 11.1.2.2?

    I insert the java script into ADF page. But it does not work. The ADF source look like below. Did I insert into wrong region?
       <f:view>
            <af:document id="d1">
                <af:messages id="m1"/>
                <af:resource type="javascript">
                  window.history.forward();
                  function noBack() {
                      window.history.forward();
                </af:resource>
                <af:form id="f1">
                    <af:pageTemplate viewId="/template/temp2.jspx" id="pt1">
                        <f:facet name="body">
                            <af:panelStretchLayout id="psl1" topHeight="30px">
                                <f:facet name="bottom"/>
                                <f:facet name="center">
                                    <af:panelBox text="Incident List" id="pb1">
                                        <f:facet name="toolbar"/>
                                        <af:panelCollection id="pc1">
                                            <f:facet name="menus"/>
                                            <f:facet name="toolbar"/>
                                            <f:facet name="statusbar"/>
                                            <af:table value="#{bindings.ServiceRequestMain.collectionModel}" var="row"
                                                      rows="#{bindings.ServiceRequestMain.rangeSize}"

  • Download and refresh button in Dashboard

    Hi,
    I have a chart report and table report in the same section of a dashboard. How to have a common Download and Refresh button at the end for both the reports. If I use the report links in both the "reports link" of teh report I get two sets and one is in the middle of the section. If I use the one in the end, it downloads only the second report. Is it possible to do both with one refresh and download, and how can it be done.
    Thanks for your time and help.

    If the table report and the chart report are completely different, then I don't know how you would do that (except for using the dashboard refresh button and the very bottom left of the dashboard page).
    But if they are of the same columns, you can create a pivot table to mimic a regular table and check the "chart pivoted results" to have a chart of that data. Then you will have only one refresh and download for both table and chart.

  • How to handle ok/add/update button

    hi,
       the button ui=1 automatically changes in add/update /ok buttons .but how we handle update and add ivent through database.
    Pandey
    Sai I.S.

    Hi,
    I have made a new company in SAP B1 and I Selected the Use purchase account posting system in company detail Basic Initalization tab.
    so it is post the taxes in stock account.this is not formal and i am getting problem in normal processing. so i want to know what the effects of this purchase account posting system. how it is different from normal. how can i chang this company in narmal company for normal processing .plz tell me process of changing in normal. and if i carry on futher hat will be the efect of it.
    plz give me answar quickly
    I have also a problem when i creating new company .it does not take any user name and when i open that by manager user it gives massege wrong user or passward.
    what the problem is there plz give me solution of all above.
    HP

  • How can I stop auto refreshing a new web page in XP immediately after its opened?

    In XP, once I access a new web page Firefox auto refreshes that page once the page is ~80-90% opened - how can i stop this refresh?

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the ''Safe mode'' start window.
    You have to close and restart Firefox after each change via "File > Exit" (on Mac: "Firefox > Quit")

  • Stop and play buttons...

    How would I go about adding stop and play buttons to a slideshow?
    stop1.addEventListener(MouseEvent.CLICK, stop1);
    play1.addEventListener(MouseEvent.CLICK, play1);
    function stop1(event:MouseEvent){
    if(this.currentFrame == 1)
    { gotoAndStop(this.totalFrames);
    function play1(event:MouseEvent){
    if(this.currentFrame == 1)
    { gotoAndStop(this.totalFrames);

    well idk if the code is even right i need help?  The way the slide show is working is i have it on the timeline....  With this code it doesnt play automatically and when i push play it goes through them in like 2 seconds and you can't see anything?
    stop1.addEventListener(MouseEvent.CLICK, stopSlide);
    play1.addEventListener(MouseEvent.CLICK, playSlide);
    function stopSlide(event:MouseEvent):void {
    stop();
    function playSlide(event:MouseEvent):void {
    play();

Maybe you are looking for

  • Print to PDF 9.0 - NOT working QuarkXpress

    I recently got a new iMac and also purchased the CS4 Design Premium Suite (including Acrobat 9.0) and QuarkXpress 8. I am having trouble "printing to PDF" in QuarkXpress. I tried printing to PDF in other programs, like Word, Excel, etc., and they all

  • Downloading and editing an existing WordPress site in Dreamweaver CS5.

    Hello! New to the forums, here. I'll try to be brief. I've got a WordPress site in-place at metalmeter.com that is hosted through HostGator. Basically, what I'm looking to do is get the site from the remote server and edit it in Dreamweaver CS5, prev

  • Where do i send my ipod to get a new one?

    my warranty is going to expire august 2006 where do i send my ipod to get it fixed (the apple logo wont go away) email me at [email protected]

  • Errors Installing iTunes 11.1.4.62.

    I have all three of the same issues noted by others when installing version 11.1.4.62 of iTunes.  Anyone sovled this problem yet? 

  • Po document number in fbl1n

    Hi, Can somebody explain me how to get PO document number in fbl1n. Thanks