Disable return button

I have created an action link on main report that opens second report in a new window and second report has a return button on it by default and when i click on it its is taking me to main report in new tab, Is there any way we can disable return button on second report ?
thanks

Check this Re: Unable to hide Refresh link in "No Result" view in BISE1 10.1.3.2.1 version

Similar Messages

  • When will the 'disable javascript' button return?

    The disable javascript button was in firefox 22.
    It was disabled in 23, and still in 24. I am part or the user community who wants it back! I read on previous question/threads about it being disabled and not returning. :-(
    Really sad :-( !!!!
    It was simple and it worked.
    Why do you deprive the community of a liked security feature?

    Background information about why that pref was removed from options. <br />
    http://limi.net/checkboxes-that-kill/
    Just install an add-on or work through about:config to switch it on and off.

  • Disabling the button in a form

    Hi,
    May i know how to disabling the button in a form based on value of item in same itself. For eg: In a form an Select list item called 'Flag' which holds the values like Y and N. If Flag is N means the Button called 'Check' will be disable otherwise no need to disable the button 'Check'. It is our requirement, please help me if any one know the solution.
    Regards,
    Neel

    Hi Neel,
    You could set the conditional display of the button based on a Plsql function returning a boolean.
    Something along the lines of:
    IF :P1_ITEM = 'Some Value' THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    This will not display the button at all unless the P1_ITEM is equal to the value that you want.
    This is the simplest form that will get you going. If you want to "grey out" the button to leave it visible but disabled then you would need to investigate this a little further. I have seen some other threads that would probably help you out here but am no exert on javascript so just have a poke around.
    Hope this helps,
    Mike C

  • Cannot disable a button 2 times using an EL expression

    Using a EL expression for the disabled attribute on a button does not work the second time... It will not disable again.
    Below is a simple example.... The EL updates the text of the button but does not enable/disable the button.
    Any help would be greatly appreciated!
    JSPX Code:
    <af:showDetailHeader text="Enable/Disable Test" disclosed="true">
    <af:panelGroupLayout>
    <af:panelFormLayout labelWidth="150" fieldWidth="300" rows="1" maxColumns="1">
    <af:commandButton text="Toggle isButtonEnabled - value = #{ToggleTestBk.buttonEnabled}" disabled="#{ToggleTestBk.buttonEnabled}" partialTriggers="toggleBtn">
    </af:commandButton>
    <af:commandButton id="toggleBtn" text="Toggle Button" actionListener="#{ToggleTestBk.toggleButtonAL}" partialSubmit="true">
    </af:commandButton>
    </af:panelFormLayout>
    </af:panelGroupLayout>
    </af:showDetailHeader>
    Backing Bean Code:
    private boolean buttonEnabled = true;
    public void toggleButtonAL(ActionEvent event) {
    setButtonEnabled(!buttonEnabled);
    public void setButtonEnabled(boolean _buttonEnabled) {
    this.buttonEnabled = _buttonEnabled;
    public boolean isButtonEnabled() {
    return buttonEnabled;
    Thanks!
    Matt
    Edited by: Matt Cannon IBI on Apr 3, 2010 4:28 PM

    Hi,
    try two things:
    1- check your backingbean scope if it is request scope try to change it. (try make it session scope).
    if it is not working ....
    2- try your backingbean like this:
    private boolean buttonEnabled = true;
    public void toggleButtonAL(ActionEvent event) {
    isButtonEnabled();
    public void setButtonEnabled(boolean _buttonEnabled) {
    this.buttonEnabled = _buttonEnabled;
    public boolean isButtonEnabled() {
    setButtonEnabled(!buttonEnabled);
    return buttonEnabled;
    }Sameh Nassar

  • SPEL to disable a button

    Hi gurus
    I need to make a button field enabled / disabled based on another field.
    From the concurrent requests window users can choose the Option Reprint / Republish (Tools > Reprint / Republish ). This opens a page and we want to disable a button (apply) for a Particular Request.
    So I am looking for an SPEL something like
    ${oa.RequestDetailsVO.ProgramShortName} != 'MYREQUEST'
    and use the same as Rendered Property in Forms Personalization. Which expression should I use?

    Hi Sharath,
    The SPEL as you mentioned will not work, you need to extend VO and add one transient attribute which returm false when it returns required Pragram short name otherwise true.
    Regards,
    Reetesh Sharma

  • Enabling and disabling the button in the multi record block

    hi all,
    i am using
    Forms [32 Bit] Version 6.0.8.24.1 (Production)
    Oracle Database 10g Release 10.2.0.1.0 - Production
    i have a multi record block each block contains a button(button is to approve the record in terms of changing the status)
    i have the items like date,remarks and button
    the button should be enabled if the remarks is not null otherwise it should be disabled.
    for this in pre-record trigger i have written
    if :record is null then
       set_item_property('button',enabled,property_false);
    else
          set_item_property('button',enabled,property_false);
    end if;what problem is enable and disable is impacting on all the buttons in the block. in other words if first record's remarks is null then all the records button is disabled. if first record's remarks column is not null then all the records of the button column is enabled.
    i have to make enable and disable the button for the corresponding record.that means if first record's remarks column is not null then only first records button should be enabled others should be disabled.
    Thanks..

    You need to set the No. of items displayed to 1 as Ammad had said, additionally you can set the X and Y Position (Just Y will do and having fixed X) of the button depending upon the current record.
    can u explain this part alone bit more (setting the position of x and y)You need to calculate the variable Y_POS depending upon the current position of the cursor that is the current record.
    You can find the current record Y_POS using combination of
    V_CURRENT_RECORD := :SYSTEM.CURSOR_RECORD;
    V_TOP_RECORD := GET_BLOCK_PROPERTY ('BLOCK_NAME', TOP_RECORD);
    V_ITEM_Y_POS := GET_ITEM_PROPERTY ('ITEM_NAME', Y_POS);
    -- Also needs to add the Y_POS of the relative other items in the muti-record block
    V_HEIGHT := GET_ITEM_PROPERTY ('BUTTON_NAME', HEIGHT);
    -- Note :- TOP_RECORD  Returns the record number of the topmost visible record in the given block.
    V_Y_POS := V_ITEM_Y_POS + ((V_CURRENT_RECORD - V_TOP_RECORD) * V_HEIGHT);
    -- You will need to add Distance between Items in records if anyThen you can Set the current Y_POS of the button.
    SET_ITEM_PROPERTY ('BUTTON_NAME', Y_POS, V_Y_POS);
    [/code[
    Hope this helps
    Best Regards
    Arif Khadas
    Edited by: Arif Khadas on Feb 24, 2011 4:58 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Screen Personas 2.0 Enable/Disable script button in Javascript

    Hi,
    Has anyone tried enabling or disabling script buttons on a flavor using Javascript. I have two script buttons,
    The first one (Button1) searches for a contract based on the contract id provided by the user in a text box. (So, the script triggers the transaction me33k, fetches and displays the relevant fields in the flavor)
    Now, based on whether the contract is present in the system the user needs to click another script button (Button2) which will allow him to create an order. Currently the button is disabled (ScriptButton.IsEnabled = false in the Properties menu).
    In the Button1 script towards the end, I need to enable Button2 is a contract is found. So in the Button1 script, at the final step I try to calculate in JS and write the following JS code,
    var args.btn2id = document.getElementById("Personas/blahblahblah");
    args.btn2id.disabled = false;
    But this is never works. And I have noticed that the control id does not return the control object in Javascript (so, args.btn2id is always null) and I tried removing the '/' and various other options.
    Has anyone ever tried to enable/disable buttons in Personas? Is it even possible?
    Abhijeet

    You don't have access to the Personas control properties from JavaScript to dynamically change them.
    About the only thing that comes to mind is Tobias' method to hide the script button if you want to disable it.

  • Disable Html button in validation process using pl/sql

    Hi,
    I need to disable a html page button. It gets re-enabled afer a validation process is run on the page and errors for the form are returned. I need a way of writing a validation process using pl/sql returning boolean, that can disable the button again.
    I've tried:
    IF lname > 0 THEN
    Return TRUE;
    Else
    htp.p('<script type="text/javascript">');
    htp.p('document.getElementById("NEW_ENTRY").disabled=true');
    htp.p('</script>');
    Return FALSE;
    End If;
    The button id is NEW_ENTRY, but this is ignored and the buttons remains enabled.
    Any ideas on how to change the code to work?

    You have to create after region process that will be triggered on some condition.
    htp.p('
    <script type="text/javascript">
       document.getElementById("NEW_ENTRY").disabled="true";
    </script>
    ');

  • Have lost return button and will not open to home page even though it is set to

    Return button no longer works and home page will not open even though it is set to do so. I"ve reinstalled firefox, but this didn't help
    == This happened ==
    Every time Firefox opened

    Hello Rick.
    You may be having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not coming from one of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] and select ''Disable all add-ons''. If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and theme. You can troubleshoot plugins the same way.
    If you want support for one of your add-ons, you'll need to contact its author.
    If you need to restore your interface, you can go into ''View > Toolbars > Customize... > Restore default set''.

  • How to disabling a button in the form?

    Hi All,
    Based on our requirement we need disabling a button in a form depends on the value of another item in same form itself. I was searched through forum but i didn't get the suitable answer for this. Please help me if anybody know the solution.
    Thanks in Advance...
    Regards,
    Neel

    Hi Neel,
    You could set the conditional display of the button based on a Plsql function returning a boolean.
    Something along the lines of:
    IF :P1_ITEM = 'Some Value' THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    This will not display the button at all unless the P1_ITEM is equal to the value that you want.
    This is the simplest form that will get you going. If you want to "grey out" the button to leave it visible but disabled then you would need to investigate this a little further. I have seen some other threads that would probably help you out here but am no exert on javascript so just have a poke around.
    Hope this helps,
    Mike C

  • Howto disable a button within APEX?

    This might sound like APEX for dummies, but I'm currently having an issue with presenting a plain old HTML button in APEX in disabled mode (non-clickable). In HTML this is no problem when using "disabled", but in APEX, it doesn't work because APEX makes "disabled=" out of "disabled".
    1. How can I display the button in a "disabled" state within APEX?
    2. How can I dynamically determine if the button should be displayed as disabled or not?
    Any help is appreciated.

    Hi,
    I did something very similar recently (and to be honest the methodology is very close to what Riedelme has suggested already):
    1) Create a hidden item in the region containing the button(s) to be disabled (ensure it is AFTER the buttons you wish to disable)
    2) In the Post Element Text field of the item, enter Javascript to disable the button(s) - for example :
    <script type="text/javascript">
    $x_disableItem('P999_BUTTON1',true);
    $x_disableItem('P999_BUTTON2,true);
    etc.
    </script>
    3) Set the Conditional Display of this item to the result of a PL/SQL function returning BOOLEAN - in this case this would be your authorisation function or whatever. Or you could use whichever conditional formula meets your setup.
    This way, whenever this hidden item is loaded i.e. authorisation fails for example, the javascript snippet will be loaded and executed, and your buttons will be disabled!
    Hope that makes sense!
    Chris

  • Enable/Disable a button

    I was wondering how could i disable a button until another
    action has been accomplished before enabling a button. Is there
    anyone that could help me on this?

    This might help - it's a script I picked up somewhere a few
    years ago that disables a button once it's been pushed, then if the
    page has not been submitted after a few seconds, it will flash an
    alert to the user telling them to hold their horses. It's helped
    cut down on people resubmitting things.
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    function disableForm(theform) {
    if (document.all || document.getElementById) {
    for (i = 0; i < theform.length; i++) {
    var tempobj = theform.elements
    if (tempobj.type.toLowerCase() == "submit" ||
    tempobj.type.toLowerCase() == "reset")
    tempobj.disabled = true;
    setTimeout('alert("Your form is being submitted. The process
    will finish in a few seconds.")', 3000);
    return true;
    else {
    alert("Your form is being submitted. The process will finish
    in a few seconds.");
    return false;
    // End -->
    </script>

  • How to disable OK button of faces message and make it modal

    Hello all,
    I am using this code for displaying faces messages programatically :
    *public String showMessage() {*
    String messageText=”A prgramatic af:message”;
    FacesMessage fm = new FacesMessage(messageText);
    ** set the type of the message.*
    ** Valid types: error, fatal,info,warning*
    fm.setSeverity(FacesMessage.SEVERITY_INFO);
    FacesContext context = FacesContext.getCurrentInstance();
    context.addMessage(null, fm);
    return null;
    But the problem here is it is showing an OK button at the bottom but I want to disable that button. How can I disable that button? For closing the message we are using function keys like ' F8 ' and we are using javascript for that.
    Also we can not use dialog there because we are adding the messages programatically and showing the faces message programatically.
    Also I want this message to have modal behavior so that until user press F8 for closing that message, user would not be able to navigate to the main form.
    How can I achieve this?
    Please Suggest.
    Thanks

    Hello All,
    How can I make the faces message Modal so that, until user closes that faces message he should not be allowed to click on or navigate to main page.
    Thanks

  • How to disable a button once submit the form?

    Hi guys,
    I need to disable the button instantly once user submit their registration. Should I implement this using actionListener and ActionEvent? Pls help, Thanks !
    regards,
    kmthien

    Speaking about the client-side, you can use cookies to stop the submission.
    This is a simplest, but not too much intelligent example:
    <script language="javascript">
             function preventDoubleSubmit() {
                  if (document.cookie.indexOf('submitted')> -1)
                       return false;
                     document.cookie="submitted=yes";
    </script>Note, that clicking the Refresh (or Back/Forward buttons) user has no more chance to receive the next page in the normal page flow.
    Probably, the server-side way is more suitable for this situation. Search for 'postBack' on this forum. As I remember, it was a discussion here recently.

  • Expectations for Return button

    In all my time using DVD Studio Pro, I have never bothered to set the Return button for any menus. It seems to me like the only people (from among those I give DVDs to) who would use the Return button are those who use the Apple DVD Player and know about that button.
    So my question is: what do they expect the Return button to do? For example, a DVD has a Main Menu, a Scenes 1 - 4 Menu, a Scenes 5 - 8 Menu and a Scenes 9 - 12 Menu. To get to the Scenes 5 - 8 Menu, a viewer has to first go to the Scenes 1 -4 Menu from the Main Menu. If they push the Return button while on the Scenes 5 - 8 Menu, would they expect to go back to the Scenes 1 - 4 Menu or be taken all the way back to the Main Menu?

    The return button is better referred to as the Go Up button - it is intended to give you the ability to navigate through your menu hierarchy. However, it doesn't work, and is poorly implemented in DVDSP. Trai Forrester did a brilliant article on this years ago now (when DVDSP was version 2), but I doubt it is still on line. I took a copy of the text back then, and have copied it below - this is from the original 'DVDAfterEdit' website, and you may be able to find references to this issue on the current version (www.dvdafteredit.com).
    By Trai Forrester
    +The return key is one of the most prominent keys on most DVD players' remote control. Unfortunately, authors have never been able to take advantage of it in DVD Studio Pro�� or DVD Maestro�� while playback of their DVD is in the Tracks. It's one of the disadvantages of these systems' "abstraction layer" automatic programming. DVDAfterEdit is designed to allow authors to remove those limitations.+
    +This important remote key setting for the Tracks, had settings for the return key in DVD Studio Pro 1.x, but it was broken (didn't work). The settings for return key have been completely removed for the Tracks in DVD Studio Pro 2. You can script the return remote key in the menus in both versions of DVD Studio Pro��, just not for the Tracks.+
    +What the remote Return key does+
    +The return key's official name is the "Go Up" remote control key. Basically, when the viewer presses the remote return key, they should be taken back (sent "Up"?) to the last place they were; in this example we'll be going over here in a bit, the viewer should be returned to where they were before entering the Track.+
    +Projects that could benefit from the return key being programmed for all the Tracks, are those that are navigation intensive; meaning you have lots of menus and Tracks, and you want to provide the viewer with all available means of getting around the disc.+
    +Just so you know, there are project types that you wouldn't want to program the return key for the Tracks, and that's when you want the players LED to display the running time of the show, or you have the need to synch playback of multiple DVD players with a hardware display controller that depends on this timing information. A quirk in the DVD specification, having to do with a thing called "non sequential PGCs" (PGC stands for "Program Chain"), which you have to create if you want the Next, Previous, and GoUp remote keys to "do something", other than link to the next or previous program, in the case of the next and previous remote key, while playback is in the Track, disables the player's ability to display the running time and chapter numbers of the Track asset. There'll be more on this concept of "one sequentialness or not" for PGCs in the Title domain in the manual, and I'm sure we'll cover it thoroughly in the discussions.+
    +DVD Studio Pro 2 does allow programming of the Next and Previous keys of the remote control for the Tracks in the Connections window, just not the Return key. So, if you do set the Next or Previous remote keys for the Track to jump somewhere, usually to the next Track or maybe a menu; know that you won't get chapter or timing information from the DVD Players LED for that Track on most DVD players (It doesn't violate the spec to have chapters in the mult-PGC Titles, so you can still use them, the player will just not display them in their readouts).+
    +But for those projects that require the return key to be programmed for the Tracks, and if you work with clients this will be a request periodically; this article will show you how easy it is to do in DVDAfterEdit. As a matter of fact, it just takes a minute to implement, and we won't touch DVD Studio Pro 2's�� automatic programming at all.+
    +Now, that doesn't mean you won't decide to implement some other neat authoring strategy, that might call for the need (desire? to remove DVD SP 2's�� commands and start from scratch; completely reauthoring the whole project in DVDAfterEdit! But if all you need is to program the return key for the Tracks in your project, then you can accomplish this quickly.+
    -----

Maybe you are looking for

  • How to connect my wifi printer to my MacBook Pro

    Hello - Could you please advise re: how to connect my HP Deskjet 3050 to my MacBook Pro?  I gather I have to connect the printer to my Wifi network first, but the instructions aren't clear for a Mac. Please help.  Thank you -

  • How can you get a big File to 100MB??

    Is it possible to get a FCP film that is about 11Gb to 100mb?? and keep it in 640 by 480. I tried the quicktime conversion but it brought it to only 150 something one more try made it less but can't get it under 100mb. I tried Imovie and it got much

  • Resizing multiple photos in Photoshop

    I am trying to resize multiple photos by using the batch option.  I have created an action and then go into batch and select that action.  It's not working.  Anybody have any ideas on how I can resize my photos all at once??

  • Unable to download emails

    I have a G5 and a MacBook, both running OS 10.4.8 and both using Mail 2.1. I have a number of email accounts, and all work perfectly on the MacBook. However one of them recently refuses to download emails on the G5, in spite of the fact that the acco

  • Function Module for ATP Check specific to BATCH

    Hi All, I have a requriement where I need to find the available stock for a material for a given plant and most importantly BATCH. I tried using BAPI_MATERIAL_AVAILABILTY, but it returns the overall stock avaliable at the plant level irrespective whe