How to disable browser back in adf or task flow

require: page1 can turn to page2 ,but don't let page2 turn to page1
can we disable the browser back button by js?
help...

Hi OX,
Have a look into this Re: Any way to disable browser back button?
Regards,
Suganth.G

Similar Messages

  • How to disable browser back button in Oracle ADF

    I need to disable browser back button in an ADF web application.
    The back button is not disabled but if I click it after visiting main page (e.g. from the page after main to the main page) it returns to the second page. I would to diasble the back button at all. Is it possible? If you know something specifically for ADF application (also without using javascript) the answer is welcome.

    see frank's reply in the post:
    Disable Browser Back Button
    hope this helps :)

  • How to Disable Browser Back & Forward Button ?

    Hi All,
    How can I disable Browser Back & Forward button in ADF Faces ?
    If Not, I remember reading somewhere that we can call a page with NO Browser button and Menu using Java script, how can I code this java script within ADF Faces ?
    Thank you,
    xtanto

    You might want to double check this solution in your application. Don't think that when the user presses the back button it simply doesn't go anywhere. It does go back to the previous page and the Javascript causes that page to go forward to the page that was just left. You can see this by putting some "alerts" in your pages.
    These actions my have consequences in your application.

  • How to disable browser back/forward buttons from JSF

    Hi,
    I am working on one JSF based project
    I have a requirement where I don't want the application users to go back/forward using browser back/forward buttons so I want to disable the browser's back/forward buttons for my application.
    Can anyone tell me how to do that?
    Thanks in advance.
    Regards,
    Vijay Kumar

    Hi,
    Thanks for your response on this.
    My problem is that I am opening the new popup windows using setOnLoad Handler in JSF like following:
    getTmpBody().setOnLoad("window.open(\"abc.jsp?grantId="+txtGrantId.getValue().toString() + "&sunId=" + empDetails_Global + "&tmplNm=" + aggrTmplName + "&ctryCode=" + ctryCode +"\", \"Agreement\",'width=800,height=600,scrollbars=yes');return false;");
    Now everytime I am going to any other tab or page, I am setting the setOnnLoad handler to blank like
    getTmpBody().setOnLoad("");
    Now the problem is when I open a popup window and close this and then click on browser back/forward buttons, the last opened popup window again come up. This is the problem since I don't want last opened popup window to get opened again on the click of a browser back/forward buttons.
    This is a very urgent issue and I need to resolve this asap.
    Please help me on this.
    Thanks,
    Vijay Kumar

  • How to disable  browser back button after session logout..

    Hi;
    I want to restrict the user to use the back button after session expired or logout. By doing the session expired we are restricting the user to do any new work but I want to restrict the user to see the back pages that he surfed previously in the session.
    Is there any method to disable the browser back button after the session Expired?
    please help me to find out the solution..
    Thanks in advance.
    With Regards,
    Haramohan

    One possible way is automatic return to the current page by writing the following Javascript code to the previous page:
    <script language=JavaScript>
    function backButtonOverride(){
    setTimeout("backButtonOverrideBody()", 1);
    function backButtonOverrideBody(){
    try {
    history.forward();
    } catch (e) {}
    setTimeout("backButtonOverrideBody()", 100);
    </script>
    <%
    catch(Exception e){
    %>
    <jsp:forward page="front.jsp"></jsp:forward>
    <%
    %>

  • Disable Browser back Button in OA page

    Hi Experts,
    Can anyone tell me how to disable browser back button in OA page.. Any advice would be appreciable.
    Thanks in advance,
    Sandip

    Hi Reetesh,
    Thanks for your reply but this code gives the following Error:
    non-static method getRootWebBean() cannot be referenced from a static context
    When I tried and kept the following code it solved error but did not work.
    OABodyBean bodyBean = (OABodyBean)pageContext.getRootWebBean();
    String javaS = "javascript:window.history.forward(1);";
    bodyBean.setOnLoad(javaS);
    Thanks and Regards,
    Sandip

  • How to disable the edit Permission after the task approval in project server 2010.

    Hi ,
    Can this be done.
    How to disable the edit Permission after the task approval in project server 2010.
    I mean How to Disable approve/Reject Permission Once task approved in project server 2010.
    Any Help Would be more than Welcome.

    Hi Rohan,
    Just talking about the tool capabilities, preventing a task approver (status manager) to approve/reject updates once he has already approved once is not possible out-of-the-box. You grant permissions to user: if you grant a user to approve task updates then
    he has the permission to approve updates, no matter if it is the 2nd or 3rd time the task is approved or rejected.
    Then of course you could do not custom development to do that.
    I'd say that in order to help you, we would need to understand a little bit more your business need. Why do you need to achieve such a goal? We can surely propose you workaround.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • How to Call an ADF Bounded Task Flow Located in Another Web Application

    Hi.
    I'm working in JDev 11G TP3.
    I've read the section from the 11G documentation on Working with Task Flow Activities,
    specifically the section 15.5.3 on How to Call an ADF Bounded Task Flow Located in Another Web Application.
    I've followed the instructions but still can not seem to call another task flow in another application correctly.
    Can someone send a small example specifying how the (TaskFlow Reference) section
    should be filled in, and just a general simple outline of process to set the whole process up.
    Thanks

    Your EL for the remote-app-url needs to return something like this
    "http://www.acme.com:80/myapp/faces/adf.task-flow"
    where "http://www.acme.com:80/myapp/faces" is the root of the url you'd normally use to access the remote application.
    I filed two bugs:
    bug 6944247 to improve the documentation
    bug 6944246 to fix the fact that you currently have to specify the 'adf.task-flow' part. You shouldn't need to do that. But doing so for now will get it to work.

  • ADF train task Flow display name comonent value from bundel

    hi
    i have som problem with adf bounded task flow train.
    i build a bounded task flow as fragment and train and i add display name component to each view , but how i can give the display name value from a view controller bundel .
    regards mohammad.j.yaseen

    1). Select the component for which you want to set the attribute to a bundle
    2). In the property inspector, click the context menu next to the attribute you want to pick from a bundle (the thing that looks like a "V" next to the field"
    3). Choose "Select Text Resource..." from the resulting menu

  • How to pass a parameter to a bounded task flow?

    Hi,
    We are facing issue while passing parameter from a bounded task flow to another bounded task flow and then showing the passed parameter in a jspx page.
    We have a caller task flow with following component:
    1. A jspx page
    - In this jspx we have a text box have its value as #{pageFlowScope.inputvalue}.
    - Also we have a command button which has its "Action" as the control flow that leads to the "called" task flow.
    2. A bounded task flow named "called".
    So, we call the "called" task flow on the button click in the jspx page.
    Also, in called taskflow we have a jspx page where we are using a output label to show the parameter passed from caller task flow to the called task flow.
    We performed the following steps to set the parameter passing from caller task flow to the called task flow.
    1. Select the input text component on the JSF page.
    2. In the Property Inspector, enter a value for the input text component. You can specify the value as an EL expression, for example #{pageFlowScope.inputValue}.
    3. In the Application Navigator, double-click the name of the called task flow to open its diagram.
    4. Click the Overview tab for the called task flow.
    5. Click Parameters and expand the Input Parameter Definition node.
    6. Click the Add icon next to Input Parameter Definition.
    7. In the Name field, enter a name for the parameter, for example, inputParm1.
    8. In the Value field, enter an EL expression where the parameter value is stored and referenced, for example, #{pageFlowScope.inputValue}.
    9. In the Class field, enter a Java class for the input parameter definition. If you leave the Class field empty, its value is by default implicitly set to java.lang.String.
    10. In the editor, open the diagram for the calling task flow.
    11. In the Application Navigator, drag the called ADF bounded task flow and drop it on top of the task flow call activity that is located on the calling task flow. Dropping a bounded task flow on top of a task flow call activity in a diagram automatically creates a task flow reference to the bounded task flow.
    12. In the Property Inspector for the task flow call activity, click Parameters and expand the Input Parameters section.
    13. Enter a name that identifies the input parameter.
    14. Enter a parameter value, for example, #{pageFlowScope.parm1}.
    Now when we try to fetch the value of parameter using #{pageFlowScope.parm1} in the jspx in called taskflow, its not giving the desired value.
    We even tried to set the to and from parameter of the jspx in called askflow. But no success.
    Can anyone let us know if we are doing smething wrong or exact steps to configure passing of parameters to a bounded task flow and retrieving it in a jspx page will also help.
    Thanks in advance.

    Hi Tushar,
    In step# 14, the value should be "#{pageFlowScope.inputValue}" (should be the same as the value in step#2) .
    tushar wrote:
    Now when we try to fetch the value of parameter using #{pageFlowScope.parm1} in the jspx in called taskflow, its not giving the desired value.To display the passed parameter, you should use "#{pageFlowScope.inputValue}"<----- should be the same as the value in step#8
    Regards,
    Rommel Pino

  • WebCenter/ADF Bounded Task Flow Permissions 11.1.1.4

    Hello All,
    I'm seeing some strange behavior related to permission on bounded task flows within a WebCenter Portal Application created with the 11.1.1.4 WC extensions.
    I created a bounded task flow and added a view activity and a return activity to it. I have provided "Administrator", "anonymous-role", and "authenticated-role" application roles with view permissions for the task flow resource in "jazn-data.xml". I also added the page related to the view activity in the bounded task flow to my page hierarchy file "page.xml", and provided users with view permissions there.
    What I'm seeing is that anonymous users can view pages in this bounded task flow just fine, but authenticated "Administrator" role users cannot.
    Am I missing a configuration setting somewhere?
    Thanks

    Certainly... I've uploaded the sample application here: http://rapidshare.com/files/456317758/WebCenterTestApp.zip
    To make this simple, I've used the OOB, pre-configured, Web Center Portal application template with default project files. Run the "home.jspx" page. I've removed the customization panel and added a button command whose action invokes the control flow to the task flow call activity for the bounded task flow. The task flow has a single page, and I have it being displayed as an inline pop-up... just for fun.
    Before you login, click on the button to see how the anonymous user can view the bounded task flow page. After you return from the task flow, login and verify that the admin user sees the app auth error page in the dialog instead.
    I've configured one admin user in jazn-data.xml: myadmin/myadmin1
    Cheers

  • Disable browser back/forward buttons for CRM 7

    In one of the books I've on the subject of the interaction center there was mention of an OSS note to disable the Browser Back/forward button. If you jump around Browser sessions it's common to suddenly jump into a SAP browser session, hit the back button, exit out and then realise the error that you've made.
    I've been searching for this note but have been unsuccessful in finding it so far.
    Does anyone know what this note is?.
    Jason

    They are all ticked in that box except DEFAULT, DEFAULT_CHM and DEFAULT_ICM. If I tick these and Save I receive the message saying 'DO NOT MAKE ANY CHANGES (SAP ENTRY). Now obviously I can just enter past this and create a transport, but is this the right thing to do?.
    In John Burton's book, called 'Maximize Your SAP CRM Interaction Center' there is an OSS note mentioned to resolve this issue, and was why I originally raised this post.
    However, If you suggestion works then I would be happy to try it.
    How does one know which technical profile is being used when log in, and therefore which one to change?.
    Jason

  • SRM5.0 Catalog Std. Call Structure - Disable Browser Back Button

    Hi colleagues,
    we're on SRM5.0 and have the catalog configured as "Standard Call Structure", i.e. it is displayed in a new browser window.
    Is there away to disable the browser back navigation functionality, i.e. open the window without address bar and back navigation buttons?
    There doesn't seem to be anything in SPRO in order to control this.
    Thanks, Ulli

    Hi
    I think it is a settings of browser
    for eg
    internet explorer -> view -> tool bars -> standard tool bar (activate / inactivate )
    so you can not see backe button.
    br
    muthu

  • Disable Browser Back Button

    Hi All
    I'm developing a web app using jdeveloper 11.1.1.4.
    In my web appication I want to Disable the browser Back button,
    Is there way to do this,
    Thanks
    Padma

    Hi,
    no, there is no option for this. You can try JavaScript as explained here: http://viralpatel.net/blogs/2009/11/disable-back-button-browser-javascript.html
    See: "Disable Back functionality using history.forward"
    Frank

  • Disabling Browser back button

    Hi,
    Is it possible to disable browser's back button from Applet?

    There might be some way to clear the browser's history so there's nowhere to go back to. Or set the current document as the "previous" document. Or open up a new window without a toolbar, or without a history....etc
    In most cases though, it's a pretty nasty thing to do. Let the users control their own computers, and just have your software do its job.

Maybe you are looking for

  • Separating out a child's music library in iTunes

    Forgive my ignorance, but I've never mastered iTunes music. Now I've complicated things by giving my child an old iPhone.  She's purchasing music and I really don't want it mixed up with mine.  Two questions: (1) Is there a way to remove her music fr

  • How to invoke a Batch file in a remote system from JSP

    Hi, Please help me. Its urgent. Here is the problem. I have Tomcat Server installed in machine A and I have .bat or a perl script file in an another system called Machine B in the same LAN. I want to invoke the .bat file or shell script in the machin

  • BPM and interface mapping

    Hi All I have done a BPM which collect messages and send them to a file adapter in one message. I have added a tranformation step , which uses the interface mapping IM_map when i run the program it failes , and in the sxmb_moni_bpe it showed mapping

  • Outer frame is loosing coating

    Hi, I can't believe this is my second post regarding issues with a 2-week old Apple! I still remember the days we bought Apples and they were plug-and-play-and-get-happy. Anyway, now the problem is happening to the externa case: the outer frame has a

  • New HP printer drivers problem with C4280

    Hello, I have a HP C4280 all in one printer which all worked fine with the CD drivers which came with the printer. Yesterday the Apple software update showed new HP drivers. After installing the new drivers a HP Setup assistant box come up and it is