The button should be disabled after a click

I have Apply button on a page

After the button is clicked... it must be disabled.

It is expected that once the user click on the button for how can we achieve

Add an action listener and use setDisabled (true)

for example

getCbButton () .setDisabled (true);
AdfFacesContext.getCurrentInstance () .addPartialTarget (getCbButton ());

-Prasad

Tags: Java

Similar Questions

  • Premiere Pro debug event - Premiere Pro has encountered an error.  [..-.. \src\TickTime.cpp-290 button] continue alone. After you click Next message: Sorry, a serious error has occurred which requires Adobe Premiere Pro stop. We will try to save yo

    Premiere Pro debug event - Premiere Pro has encountered an error.  [..-.. \src\TickTime.cpp-290 button] continue alone. After you click Next message: Sorry, a serious error has occurred which requires Adobe Premiere Pro stop. We will try to save your current project.  Button OK I don t open my project - please help me! My project of losing many hours of work of panic!

    Hello

    Follow this: FAQ: how to fix projects that get an error "TickTime.cpp - 290" after opening a project.

    Thank you

    Regalo

  • After I updated, now the buttons on sites are inactive (I clicked and nothing happens). I tried a lot of things. What is going on?

    I tried to reinstall Firefox - no change. In Internet Explorer, all the buttons are active - this only happens in Firefox. 'Some' buttons 'certain' sites are active. But most of the buttons are inactive - the cursor placed above the button does nothing.

    The extension of the Yahoo! toolbar and the extension of Babylon have been reported because of this problem. Disable or uninstall the modules.

       * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    
  • By clicking on the button develop LR accidents after the latest patch.

    Adobe is NO HELP.  Telling me to call Monday is not an option.  Open LR, select a folder, filter by selected pictures, click on the the button develop and the system will "not Repsonding.  No error.

    Hi sharonw98146203,

    Greetings.

    1. Open Lightroom
    2. Now open the preferences of LR
    3. Now, go to performance and uncheck use graphics processor
    4. LR to restart and check then if LR is now working to develop module or not

    Concerning

    Rohit

  • The button should disappear permanently

    Hi all

    I would appreciate your help with the following question:

    I am preparing a training, which will be placed in our enterprise LMS. In this training, I placed a button on a blade non-quiz, that must be clicked in order to complete the training as it is one of the necessary "quiz points" for the success of the training (so this button a quiz properties, although it is not a slide of questionnaire). After which is clicked, this button should disappear and the caption that appears as a result should remain permanently on the slide. This button is not a quiz question in itself, but rather a confirmation of completion and agree (which is important for the purposes of declaration).

    The problem is that this isn't a slide of questionnaire, this information remains constantly on the slide if the user leaves the slide when navigating through the training, or if it is closed and reopened. Quiz slides, however, continue to show the submitted responses and legends - and that's what I would get on my blade.

    Is it possible to have the button permanently disappear once, and the legend stay permanently, so that the user (when browsing through training, or when the re-opening of the training) can no longer make changes to the slide and immediately see the legend, which States that the button has already been clicked?

    Thank you very much in advance for your help!

    Best regards

    Janet

    Everything is reset when you come back for a second session, think you'll need a JS expert then, or perhaps the widget Save & Load Data Cpguru, but not sure, it is upgraded to COP6. I have to check it out,

    Lilybiri

  • All of a sudden, I can't create a new tab. The button is there, but when I click on it nothing happens. Firefox running 30.0

    I only have the tab open but still impossible to create a new tab by clicking on the button "open a new tab. If I'm at a Web site and right-click, I can tell the page to open in a new tab. But I can't get the new tab button to work. It will also not work Ctrl-T

    Inform your employer about this problem. The developer will have to address this add-on attachment.

  • Proposals feature: possibility to add the button to enable/disable JavaScript and Flash easily? The lack of horizontal navigation.

    It is very useful and safe to disable JavaScript and Flash is not needed. But sometimes they must be used.

    It's too frustrating toggle JS menu, and No-Script add-on is not very practical. It would be better if it had the button toggle to enable or disable JavaScript. Also necessary for Flash. You could implement this simple feature for the next update.

    Also: Ealier, it was possible to navigate horizontally rss-buttons and tabs of arrows. Later, this feature has been removed. Could get it back you.

    This module includes a button to toggle JavaScript market / stop.

    https://addons.Mozilla.org/en-us/Firefox/addon/QuickJava/

  • Get the button to change automatically after the structure of the case is completed once.

    Hi all

    The purpose of this VI (which I lightened it for the purpose of the present) is to do nothing until the START button is true. Then the structure of the case, and the string will be sent to the MSH. I need this too such that the stop command can be sent at any time and will be sent when the STOP button is true.

    At the present time, nothing happens until the BEGINNING is true, then the case structure begins and ends inside while loop. BUT then the outer while loop restarts again and the inside of a cheek through which returns once again the order of the string to the MSH (an unwanted process) because the START button is always true.

    Is there a way to get the start button to return to a State of false once inside while the loop is over?

    (Other solutions giving the same result would be very appreciated also!)

    BBRO says:

    The purpose of this VI (which I lightened it for the purpose of the present) is to do nothing until the START button is true.

    Well, your code sends a command to stop immediately after starting the program while consuming all CPU running the inner loop in parallel as fast as the computer allows. (Since there is no dependence on the data, the inner loop and the stop code both run at the same time. LabVIEW does NOT run left to right!).

    All you probably need is a simple while loop, a structure of the event with three cases and all the buttons in the action of locking.

    See attached a simple change, LabVIEW 9.0.

    (And please don't maximise front panel and diagram for full screen, especially if there isn't much here.) Sometimes we want to work on other things at the same time, for example to write this response!)

  • Conditional action to display the button next main Menu after received the visit 4 slides

    Is there a tip Action to display a next button on a slide after that 4 different slides have been opened?

    Hello

    Why are you putting this issue separately, I thought it was related with the other thread? If you ask this question, it will be more difficult to answer and resolve only in combination with other advanced action who showed the images. Because the next button must be made visible on this same blade where you show the pictures, or is that not the case?

    You must create a user variable, I'll label it v_counter. Whenever you show a picture, you must increment this variable (second statement after image) like this:

    Expression v_counter = v_counter + &

    And then you add a fifth of the decision to your advanced conditional action, which checks the value of v_counter and show the button hidden in the following departure if the meter is at least 4:

    If v_counter is greater than or equal to 4

    Then display the button

    Otherwise, continue

    But if you want a literal answer to this question, it will be something different and more complicated. Because then I need to know if visited slides will be viewed entirely until the last image? If yes you can trigger a fast action by the event leaving. BTW, still do not know how you will trigger the action of tip of the other thread, by what event?

    Lilybiri

  • The button should be VISIBLE unless the user has entered all of the required fields?

    Hello

    I have 10 fields in the form, 3 are required/mandatory fields to enter the data. And I also kept a button with caption CHECK THE FIELDS.

    I also kept a 2nd button, say legend is GOOD TO GO (this isn't a SUBMIT button, the two buttons are normalbuttons)

    At the point of HRT, GOOD TO GO button is "hidden"

    Now, say, user forgot to enter the 2 required fields and you press the button CHECK THE FIELDS, guest user 2 times with popup legends field of respect.

    Now user entered in 1 field and forgotten again to enter the data in another area and pressed the button CHECK FIELDS, guest user 1 time with a popup with the caption for field of respect.

    Now, the user entered in this field too, very well and CHECK THE FIELDS button, the user has NOT prompted with a popup.

    BUT at this POINT, I need to see THE/PRESENCE button GOOD TO GO

    Please let me know how can they do it in JavaScript?

    Thank you

    In the click event of the button CHECK THE FIELDS, you can check if all three need to fields are filled. Therefore, you can do the "Good to Go" button hidden/visible.

    If (reqField1XPath.rawValue! = null & reqField2Xpath.rawValue! = null & reqField3Xpath.rawValue! = null)

    {

    If all three fields are filled as a visible button

    GoodToGoButtonXpath.presence = "visible";

    }

    on the other

    {

    GoodToGoButtonXpath.presence = 'hidden ';

    }

    Where reqField1XPath, reqField2XPath, reqField3XPath, GoodToGoButtonXpath must be the XPath of the field.

  • The button should only VISIBLE if the user has entered all of the required fields?

    Hello

    I have 10 fields in the form, 3 are required/mandatory fields to enter the data. And I also kept a button with caption CHECK THE FIELDS.

    I also kept a 2nd button, say legend is GOOD TO GO (this isn't a SUBMIT button, the two buttons are normalbuttons)

    At the point of HRT, GOOD TO GO button is "hidden"

    Now, say, user forgot to enter the 2 required fields and you press the button CHECK THE FIELDS, guest user 2 times with popup legends field of respect.

    Now user entered in 1 field and forgotten again to enter the data in another area and pressed the button CHECK FIELDS, guest user 1 time with a popup with the caption for field of respect.

    Now, the user entered in this field too, very well and CHECK THE FIELDS button, the user has NOT prompted with a popup.

    BUT at this POINT, I need to see THE/PRESENCE button GOOD TO GO

    Please let me know how can they do it in JavaScript?

    Thank you

    You were absent; After each statement - no need after 'else '. Don't know what you're doing with b? B get used somewhere? Also, I think I've fixed your resolveNode syntax. Give it a try.

    for (var i = 0; i)< myarray.length;="" i++)="">
    If (xfa.resolveNode("VISITORINFO["_+_i_+"]").rawValue == null) {}
    b = xfa.resolveNode ("VISITORINFO [" +
    i + "]"). caption.value.text.value;
    x = "BAD";

    App.Alert (x);
    }
    on the other
    {
    If (x! = 'BAD') {}
    x = "GOOD";
    App.Alert (x);
    }
    }

    }

    Good luck!

    Stephen

  • By clicking on the button should open a url in a new window

    Hello

    I have a button, clicking on it will open the URL in a new window

    Action click the item button, I chose

    Action: Redirect URL

    Target URL: http:// URL

    The books above, but it has not opened in a new window.

    I tried below after you follow the blog http://www.inside-oracle-apex.com/opening-url-in-new-window/

    http://URL/ "target =" _blank

    Still no luck

    Any help would be appreciated

    Thank you

    Have you tried:

    Url redirection

    in the URL:

    javascript:window.open("http://whereeveryouwanttogo.com","mywindow");

  • Help button - keep the button as it is after clicking (in the "down" frame)

    As part of "low", the image of my changes button but it moves backwards to 'up' after the click. How can I let him down and allow him to move up only when I roll over or push another button? Pls help meh

    you create more keyframes with your top, to the bottom of the poster.  then when your button is clicked, you apply

    gotoAndPlay ("down"); for your movieclip button, if the chassis of down-state is marked "down".

  • All the options are greyed out, after I clicked on apply Maitenance

    Hi all

    I'm upgrading our 11.1.2.1 to 11.1.2.2 EPM system. I downloaded all the files required for e - delivery.oracle .com and unzipped. I chose maintenance applies and when I clicked then all options are grayed out. I'm not sure what I did wrong. I use the same user that has been used for the installation of hyperion 11.1.2.1 ID.

    Kindly help me.

    Find the screenshots on my blog.


    http://Hyperion-consulting.blogspot.in/2013/01/all-options-are-greyed-out-after-i.html


    Kind regards
    AS

    On your screenshot it says that 11.1.2.2 Foundation has been installed when it should say 11.1.2.1 same - http://2.bp.blogspot.com/-J_9A8U41JS0/T5WXO3JQtxI/AAAAAAAAEj8/0nqcNdo1bFQ/s1600/image022.png
    Also you need the option 'Apply the patching' as this - http://1.bp.blogspot.com/-1zQHVCODSr0/T5WXNLQN4YI/AAAAAAAAEj4/vNQ_vOT03_8/s1600/image021.png in your screenshot, you also have the option to re - install version.
    You are absolutely sure the environment did apply.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Reconstruction of the table should be performed after removal of most of its data?

    Hi all
    We are on Oracle 10.2.0.4 on Solaris 10. There is a table in my DB of production that has 872944 number of lines. Most of his data is now useless, that it must keep, based on a date column in the table just last a month of rest data and delete data. Thus, after the array will be just 3000 lines.

    However, as the table was huge earlier (872 k lines before you remove), the deletion of data releases his oracle blocks and reduced the size of the table? Otherwise, this will help in the reconstruction of the line (redefined online) table so that the query that performs a full scan on this table goes faster?

    I checked using an example of a table that simply deleting data does not remove the oracle blocks - they remain in the user_tables for this table and complete the table scan cost remains the same. I think that after this deletion, I have to do a re-definition of table online, which is the right decision so we have a query that makes the full table scan?

    Thank you

    If read you about the orders, you will find that they require a DDL lock. Your users should not notice this.

Maybe you are looking for

  • 120-1026 HP all-in-one: power on password 120-1026

    My parents have a HP omni 120-1026 and a desktop computer. Someone put the power on password and go figure, no one remembers the password. I tried to get on the line for the game of pins by oass power on password but I can't find much and isn't the k

  • Upgrade integrated Python 2.7 to 3?

    I need to upgrade the "navite" Python 2.7 that is delivered with the operating system to Python 3. Does not install another version of Python but at the current level. Is this possible? When I try to update I get sth like "This cannot be done" withou

  • Unable to print automatically trays (LJ600)

    Hello I thought that I know a little how to configure HP LJ printers (we used HP LJ4000 for LJ600). I have problem with printers 1 M601 600 LJ. I have install without problem 10 new printers and I have problem with the last of them. Whenever the user

  • Add a note to the ticket

    Anyway, is to add a note for the ticket, or to cancel a review of a submitted application. Because the package id does not correspond to the new version I am downloading I had to create a new application, so I would put a note in the two bills that t

  • Officejet 5610 starts slow printing and button / stop flashes

    This just started happening.  A document (no matter what I print) will begin to print, get the first two lines printed and then take incredibly slow.  Meanwhile, the power LED flashes and the message says "print...". "If I restart my computer and as