Disable the second click of the button Save

Hello

I'm trying to hide or disable the record button on siebel WD once it has been clicked. I tried the following two are approached:

(A) in the model speed of Menu bar
#set($save-case-uri-to-use=$save-case-as-uri)
#end
$separator
< script type = "text/javascript" > document.write ("< a href =" # onclick="dolink(\'${context-root-path${save-case-uri-to-use}\") ">$ {save text} (< /a > ') < /script >"
"{< noscript > < a href="${context-root-path}${save-case-uri-to-use} "target =" ${frameset-top-target} ">$ save {text} < /a > < / noscript >
#set($separator=$menu-separator)
* #set($show-save = "false") *.

(B) in the model of utilities Java Script:
If (url.search ('save')! = - 1) {}
Set($Show-Save = "false")
}
on the other
{
#set($show-save = "true")
}


None of these answers is currently and save them button is always visible. Could you get it someone please let me know what is the problem with the above codes and how to disable or hide the second click of the button Save.

Thank you
JAS

Philippe,

So, if I understand your needs, you want users to be able to load the session and change the values once, save it and then not be able to register again (unless they re - load the session)?

If touches you when registering, you must keep this state somewhere, the best place for this is probably a cookie.

* When the record button, set a cookie that allows you to hide the Save button.
* Clear the cookie if a new session is started.

I think it's important to say again, that: hiding the Save button does not neutralize save web application if a user built the correct URL, they will still be able to record.

Take a look at http://www.w3schools.com/js/js_cookies.asp in regards to javascript and cookies

Tags: Oracle Applications

Similar Questions

  • Disable the button Save all the time

    Hello! I want to have a form that is with button "DISABLE" save all the time. When I put this code below into the trigger once - new - form - Instance:
    Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_FALSE ) ;  
    first of all, it's disable, but when I click the "RUN" button, the "Save" button is again enable. My question is where I must put the code above to disable the button Save all the time.

    TX in advance.

    indoracle wrote:
    Hello! I want to have a form that is with button "DISABLE" save all the time. When I put this code below into the trigger once - new - form - Instance:

    Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_FALSE ) ;  
    

    first of all, it's disable, but when I click the "RUN" button, the "Save" button is again enable. My question is where I must put the code above to disable the button Save all the time.

    TX in advance.

    Hello
    Is there another code in the form to activate this?

    Try the code at the moment-new Record Instance to the block level.

    Hope this helps.

  • disable the button Save in the toolbar

    I am embedding my pdf to html, I wish that the toolbar to display, is there any similarly leave the toolbar display with the "print" button, but not the button Save? Thanks in advance.

    No - and there is no point. At the time where the person sees the PDF on their screen, they already have saved on their computer. Don't broadcast PDF files.

  • Issue size PDF after click on the button "Save as".

    Hello everyone, I have a pdf file that is about 180 KB.

    After clicking on a button "save under", that I created, a small calculation script is run and the file, after registration, jumps to 1, 2Mb.

    Any thoughts on how to avoid this? Javascript calculations are simple calculations (capital plus interest and a penalty).

    Thank you everyone for the help!

    This is usually caused by policies that have been added to your form fields.

    You use a non-standard font?

  • Click on the button Save. Displays the record 500

    Hi gurus,

    new IM framework oracle, I have a strange question

    When I click on the button Save will be retruns to the previous page, but some times its nt accessing previuos page.
    and shows 500 records in my page.
    Please any body help me with that.

    Thanks in advance
    Concerning
    Jegou

    Hello

    He is missing one step, you must set the maximum size of vo at zero.

    vo.setMaxFetchSize (0);

    use code below:

    Public Sub createSupplierContact()
    {
    SupplierContactsVOImpl vo = get_SupplierContactsVO1 ();
    OADBTransaction tr = getOADBTransaction ();
    Vo1 SupplierSitesVOImpl = get_SupplierSitesVO1();
    vo.setMaxFetchSize (0); - is that I added
    Line r = vo.createRow ();
    vo.insertRow (r);
    r.setNewRowState (Row.STATUS_INITIALIZED);
    }

    Let me know it works r nt... :))

    Concerning
    Meher Irk

  • How to disable the button after the first click (click multiple problem)

    Hello

    I have a ' create' button related to processes of insertion in the database view. The problem is that when I click on him twice, I have two insertion in my database (even with the option run processes: "Once a visit to Page"). Is it possible to disable the button after the first click? and activate on load before the header?
    or maybe there's better solution? I thought that the process of the option run must stop multiples (insertion).

    Przemek

    Przemek:

    You can do the following.
    (1) set the "button"style"of the 'Create' button to be 'Button HTML'"
    (2) set the "key Attributes" have
    ID = "myButton".
    (3) in the "optional Redirect URL" section set to 'Target' ' "URL".
    (4) for the URL, specify {code}
    JavaScript: $x('myButton').disabled = true; doSubmit ('CREATE') {code}

    CITY

  • Need to disable the button until all the elements of the array was posted

    Hello

    I get a lot of help from this Forum, thought about getting more out of it. I am very new to AS3 and to do my best to get as much as I can that are still a few problems to come through.

    I am trying to disable the button on a specific image until all the Clips of film in a table are bieng is displayed, otherwise it should show another clip from movie plurarite the message that all video Clips are not displayed.

    Here's the scenario-

    SUMMARY.

    There are three buttons on the stage, the next image button, button to load the 1st Movie Clip (note1), button to load the second film Clip (note2)

    I'm counting the Clips of film with the length of the array (I don't know if I'm doing things), but the idea is that once all the video clips are loaded, next picture button must be activated in the case otherwise he must remain inactive, rather would display another clip of film as notice that all Clips are not loaded)

    Here is my Code.

    import flash.events.MouseEvent;

    btnnxt.mouseEnabled = false;

    var note1:Mc_Notice1 = new Mc_Notice1;

    var note2:Mc_Notice2 = new Mc_Notice2;

    function next(Event:MouseEvent):void

    {

    if(Count.Length == 2)

    {

    btnnxt.mouseEnabled = true;

    nextFrame();

    trace ("mouse is on");

    }

    else {}

    btnnxt.mouseEnabled = false;

    }

    }

    notes of the var: Array = [note1, note 2, note3];

    var numbers: Array = new Array();

    btnnxt.addEventListener (MouseEvent.CLICK, next);

    btnload1.addEventListener (MouseEvent.CLICK, hearings1);

    btnload2.addEventListener (MouseEvent.CLICK, load2);

    function load1(Event:MouseEvent):void

    {

    addChild (notes [0]);

    Notes [0] .x = 100;

    Notes [0] there = 100;

    Count.push (1);

    trace ('Count' + count.length);

    }

    function load2(Event:MouseEvent):void {}

    addChild (notes [1]);

    Notes [0] .x = 100;

    Notes [0] there = 100;

    Count.push (1);

    trace (counting);

    count0 = 1;

    trace (count.length);

    }

    Please help in fixing this error that I do not receive the required results.

    Help, please.

    Best regards

    Part of the problem is that you try to count by clicking a disabled button to activate this button.  As long as the button is disabled you can not use it for himself.  Instead of adding an event listener to btnnxt immediately, just assign it when it is ready to be used.  Whenever you load you need to check the value of the counter and if it is equal to 2, then you can assign the event listener for the btnnxt.

    You do not have a (County) table for that since you're using only its length property... a simple integer value will suffice.

    As I do not see you create a variable named note3, you probably get an error for this.

    In your function load2 you always aim the remark 1 placement where it should be placed.

  • disable the button in the current state

    Hello world

    I am new to catalyst, so my question may seem stupid probably ;-)

    I build a small site in PS CS4 one try to bring it to live in the catalyst. My problem is the folloing:

    How can I disable a button in the selected state?

    I can configure the appearance when it is disabled, but cannot find an option to disable the button.

    «for example, when I clicked 'links' - button, it must be disabled (and watch in a special way) until I choose another State and leave the links ' States '.»

    Thank you

    Hey dm.

    Without seeing the layout of the fxp/how the custom button is configured, it is sometimes difficult to provide the right steps!

    Hopefull this post will clarify a bit my last.

    Regarding the change of the State of the button when you go to the States, it is indeed easier by checking a box in the properties panel.

    (1) navigate to the State in which you would like the button disabled (or enabled).

    (2) in the properties panel, in the common section, see the box "enabled."

    (3) check it so that a button is enabled (in the normal state) in that State. Clear the checkbox to make this option disabled in this State.

    To make sure you have the right look, double click on the button.  You should now see four different States, which is a disabled"" State.

    Check to make sure that the button looks like as you wish in the disabled state.

    Using this strategy, navigate to a State and by setting the property enabled in the properties panel, you reach the look you're looking for?

    I'm always kind of unclear on the button click/No seeing the disabled look?

    Perhaps what you are looking for, is to add an interaction to the button, such as "click", in order to move from one State in particular, to another second particular State?  In which case, in the second State the button is disabled?

    If you could clarify that would be awesome?

    Or, if you feel you could post/send me your fxp so I can measure the best approach.

    Let me know how it works for you, and if the enabled checkbox is indeed what you are looking for.

    Tara

  • How can I disable the screen saver when you run apps fullscreen.

    Using vista 64 bit and I cannot figure out how to disable the screensaver for the apps full screen.   I don't know how to WMP, but when you watch a video fullscreen online he goes to the standby.   Used to be able to do it with xp.

    Hello deadeyea09,
     
    Welcome and thank you for viewing on Microsoft Answers - Vista Community Forums!

    We need more information to be able to help on this issue.

    1. what applications are fullscreen you use?

    2. which site we use to play video online?

    Options to disable the screen saver need to have within this player in particular, watching movies online, if there is no option to turn it off, then we need to turn off the screen saver manually. Please follow the instructions below to turn off manually:

    1) click Start and then click Control Panel

    2) click on Customize

    3) click on screen saver

    (4) select NONE under screen saver

    5) click apply and close the window

    Please let us know if it helps.

    Thank you and best regards,
    Diana D
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Disable the buttons before webservice response

    Hello

    How to disable the buttons until the webservice response came, but when came the web service respone it will allow all the button

    can you give me any suggestions...

    Thank you

    Learning by doing. I've attached an example that does what you want to do, disable the buttons x, where x in this example is 5 seconds to activate the buttons and where x for you would be availability of webservice response.

    All what you need to do is:

    • Add ID to your buttons (see the example input elements I used)
    • Add the source to remove the attribute "disabled" of these buttons (see the example of function that I have documented)

    She's.

  • Why the button "Save as" does not work in new Acrobat Reader? Very annoying...

    Why the button "Save as" does not work in new Acrobat Reader? Very annoying...

    I have already updated to the last DC v15.009.20077...

    So I found a way, if I do it just right, it works (with the file, click the "tiny" file and then save as. I made the mistake of first pressing the home much more first. Really not intuitive or easy to use even if... Looks like you have replaced the button "save under" with the "save in the cloud." We use mettle at work, and the cloud of Adobe is irrelevant for me...

  • How can I disable the buttons next/previous slide show?

    Hi guys!

    I tried to play with a slide show earlier and wanted to change the colour or the next/previous buttons to image placement. But every time that you click on that it passes to the next photo! Is there a way to disable the buttons temporarily? It also appears that the buttons should be the same color for each photo. Am I wrong?

    Thanks in advance!

    Hello

    You cannot disable the buttons next and previous, you can hide them via the options menu flying if you want (select the widget > click the blue circle with the white arrow at the top right of the widget).

    However, even if the next/previous buttons will take you to another image, you can still change them, when they are selected, as the buttons remain same for all slides.

    In addition, the buttons should be the same color for each photo.

    It will be useful,

    Sonam

  • progressIndicator or statusIndicator on the button Save

    Hello

    I use jdeveloper 11.1.2.3.0

    I would like to know which component I could use in the case of save button runs a heavy procedure on DB, which takes a few seconds.

    I saw progressIndicator and statusIndicator.

    But I do not know how to use them with the button Save.


    Which of them I should use and how?

    Thank you!!

    It is not as simple as you implement a progress model that does the actual work. All this is quite some work. for just a backup button.

    You may be interested in this solution http://www.oracle.com/technetwork/developer-tools/adf/learnmore/27-long-running-queries-169166.pdf (comes with the sample code for you to check!). That fits your use case best. Or take a look at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/42-progressbarcolor-169184.pdf

    Timo

  • Disable the button of the model

    Hello

    I m using Oracle 11 g and Apex - 4.0.2 version

    I m having a request to disable the button of the model based on the condition.

    Model name of the button 'enable '.

    Click the button for the first time he would execute a process and then it should disable the buttons.

    Is this possible?

    Kind regards

    VK.

    Hello

    When you inspect your via firebug or chrome or any other Inspector HTML button element, you see nay ID of the button? or button name?

    If so, you can use the jQuery selector by: #BTN_ACTIVATE (BTN_ACTIVE is the ID of the button) or [name = 'BUTTON_NAME'] is used instead of code name attribute here.

    You can choose the first option...

    First try a simple test with dynamic action like that.

    DA: Event: click on

    Selection type: jQuery Selector

    jQuery Selector: #BTN_ACTIVATE (or [name = 'BUTTON_NAME'])

    As a true action defined only the encrypted messages alert. If the message appears, the selector is written OK. If not try looking at the jQuery selectors

    Don't forget to put the when click the option button - send page by default.

    concerning

    J

  • Record level of the button Save

    Hello everyone.

    I use jDev 11.1.2.1.0

    I have a table in which I have to add another a column at the end with a single button.
    So, if there are 15 files shown, there will be 15 buttons at the end of each record.

    The functionality of the button must register only the changes that correspond to the button registration. An all-time save button.

    How is it possible to be reached? Do you have any advice?
    Thank you very much
    ~ apostolos

    apostolosk wrote:
    Hello everyone.

    I use jDev 11.1.2.1.0

    I have a table in which I have to add another a column at the end with a single button.
    So, if there are 15 files shown, there will be 15 buttons at the end of each record.

    The functionality of the button must register only the changes that correspond to the button registration. An all-time save button.

    How is it possible to be reached? Do you have any advice?
    Thank you very much
    ~ apostolos

    I'd rather leave the editing in table give a button called EDIT that takes you to bounded task flow with a single record in a FORM and give to commit button here that will bring back view table of records.

    providing the button SAVE with each record will be confusing to users that they could forget to click on the button Save with each lost record output transaction.

    Zitouni

Maybe you are looking for

  • XML - rpc Server 2008

    I have two systems with two computers two and different operating systems. Computer sys 1 NI PXI (number?) Windows XP Sys 2 HP Dual Xeon processor, Server 2008 I have the XML - RPC configuration on both Labview 2010, MAX 4.7.7 (I think) attempts to d

  • Fornuis Windows Messenger

    Good dias Tenho DOIs computadores 'HP-Vista' e 'Toshiba Windows 7' com paid different make Windows Messenger. Quero iguais versão amendments doi! Como devo proceed? Obrigados. UM bom NATAL.  Todas penny José Barbosa.

  • Incorrectly recognized CD-ROM

    I have a Dell XPS running windows vista Ultimate edition. He had two HD and a DVD. everything worked well. After buying a new computer, I pulled out my backup HD to reuse. The dvd - rom does more (plds 16a6s). The bios correctly sees this as a sata d

  • Drivers for Scanjet 3300 for Windows Vista

    I need to use my scanner Scanjet 3300 on my computer with OS Windows Visa. Help, please

  • upgrade of vista home premium, Ultimate

    When I try to upgrade family vista premium sp2 to vista ultimate sp1 upgrade option is grayed out and advised that I need to upgrade to a version that is newer than my current,.