Command button does not correctly disabled

I use a commandButton control and its partial trigger is defined on a table. The reason is that I need to update the label with the number of lines selected in the table. And if no row is selected, it should be disabled. So to start, I put the 'disabled' attribute to true.
Now I am facing this problem. The button is disabled. But when I pass the mouse over it, I can see it highlighted and apparently activated and I can click on it when the mouse is on it. Otherwise muted. Why it behaves like this?

I have tested a 11.1.1.4 to 11.1.6.0 upgrade and see the same question. CommandButton that are disabled seem to be activated when you hover over. By clicking on watch it invalid later and does nothing.

I was able to fix by adding this to my skin
/ * Fix for 11.1.1.6 jdev which shows disabled buttons as enabled when you hover over. */
AF | commandButton:disabled,
AF | commandToolbarButton:disabled
{
background-color: #E5E5E0! important;
background-image: none! important;
border-color: #B9B9B4! important;
color: #737373! important;
}

Published by: Don Kleppinger on 24 may 2012 13:35

Tags: Java

Similar Questions

  • apply the filter command button does not

    Hello experts, I have the code to apply the filter of order button below, but when I click on the command button, it runs under code but works.   Array is not be filtered:

    {} public void applyTableFilters (ActionEvent actionEvent)

    FilterableQueryDescriptor qd = (FilterableQueryDescriptor) myTable.getFilterModel ();

    QueryEvent queryEvent = new QueryEvent (searchResultTable, qd);

    myTable.queueEvent (queryEvent);

    AdfFacesContext.getCurrentInstance () .addPartialTarget (myTable);

    }

    < af:commandButton text = "ApplyFilter".

    ID = "applyFiltersCB" styleClass = 'blue '.

    actionListener = "#{viewScope.myBean.applyTableFilters} '"

    Binding = "#{viewScope.myBean.applyFilterCB} '"

    immediate = "true" >

    < / af:commandButton >

    < af:table value = "#{bindings.myList.collectionModel}" var = 'row' "

    Rows = "#{Bindings.myList.rangeSize} '"

    emptyText = "#{bindings.myList.viewable?" "{'No RECS found': 'Access Denied.'}".

    fetchSize = "#{bindings.myList.rangeSize} '"

    disableColumnReordering = "true" rowBandingInterval = "1".

    inlineStyle = ' height: 400px; "

    filterModel = "#{bindings.myListQuery.queryDescriptor} '"

    queryListener = "#{bindings.myListQuery.processQuery} '"

    filterVisible = "true" varStatus = "vs."

    selectionListener = "#{viewScope.myBean.currentSelectionListener} '"

    rowSelection = "#{viewScope.myBean.rowSelectionMode} '"

    ID = "t1".

    Binding = "#{viewScope.myBean.MyTable}" >

    < af:column sortProperty = 'year' filterable = "true" sortable = "true".

    shortDesc = 'AnnΘe Prg'

    headerText = "Year" Prg"id = 'c4' >

    < af:outputText value = "#{row.yearCode}" id = "ot6" / > "

    < f: facet = name 'filter' >

    < af:inputText label = "" id = "it1" shortDesc = "Prg Yr Filter" "

    value = "#{vs.filterCriteria.yearCode} '"

    maximumLength = "5" >

    < / af:inputText >

    < / f: facet >

    < / af:column >

    ......................................

    < / af:table >

    Appreciate any help.

    Finally it worked.    The question is the table PPR using backing bean does not display the filtered data rather than it shows full data.  If I use UI PPR, then apply filter method works very well.

  • Whose action command button does not redirect me to another page. Why?

    Hello

    I have a command button in a jspx page and an unlimited workflow with two pages, where there is a rule of flow control between them, which needs to redirect the user from the first page to the second page. However when the user clicks the button, the updated page actually without having to navigate to the second page. Why does this happen?

    Here are the details:

    ADFC-config:

    <-flow-control id rule = "__42" >
    <-activity-id id = "__43" > first < /-activity-id >
    < control-flow-case id = "__44" >
    < result id = "__49" > go < / de-results >
    <-activity-id id = "__45" > second < / to-activity-id >
    < / control-flow-case >
    < / control-flow-rule >

    command button:

    < af:commandButton text = 'Go' id = "cb1" action = "go" / >

    Well, can you give more details?
    Jdev version?
    You start the app with a url ending with ".jspx' by chance?
    If so, you must remove this ".jspx" ending as it does not start the workflow.

    Timo

  • Click the command button DOES not

    Hello

    I have a single command button on an UIR embedded in a dll I call TestStand. The button does nothing when you click sort, but when I press or , it works fine. Does anyone can say why this is happening?

    int CVICALLBACK TERMINATE_BUTTON (int, int int event, control panel,
    void * callbackData, int eventData1, int eventData2)
    {
    switch (event)
    {
    case EVENT_COMMIT:

    event action

    break;

    case EVENT_LEFT_CLICK:

    event action

    break;

    case EVENT_LEFT_CLICK_UP:

    event action

    break;

    }
    return 0;
    }

    Thank you in advace,

    JulianC

    Hello JulianC, a little research on the forum showed this thread that describes nearly the same situation as yours: you might find helpful advice, especially in LuisG post marked as solution and following.

  • The home of the iphone 5 s screen button doesn't work does not correctly

    Home screen (middle button) does not work smoothly. Sometimes, it works very well and sometimes it doesn't. Someone might suggest it is a hardware or software problem that must do to solve this problem

    Hello

    Try a reboot press and hold the power button / stop and menu button hold both down until you see the apple logo.

    Also updated software iOS 10.1 over your WiFi

    See you soon

    Brian

  • with firefox 43 yahoo and yahoo mail doesn't work does not correctly

    With the help of win 7 and firefox 43.0.1, I have 4 computers and now all have problems with yahoo and yahoo mail doesn't work does not correctly. Loading sites, but most of the features are missing and clicking on what whether changes to the lists of text. I have disabled flash / anti-spam etc., cleared cookies and cache and even firefox loaded down once again and have upgraded, no help. I'm forced to use IE now.

    I tried Yahoo support, they said try Firefox... In any case, it's Firefox and I found a solution using the 'Refresh Firefox' button. Whatever the problem was fixed on two of my computers so far. Got to update my setting again but it's 10 m, compared to the 10 hours I spent trying all that is nothing.

    Thanks for the help!

  • Minimize/maximize/close buttons does not...

    Minimize/maximize/close buttons do not work when you run Aero.  Whenever I change my Aero, reduce it and expand buttons work but the close button still does not work.  This happens with all the windows and I'll have to use the Task Manager to close the windows and I have to close the task with the exit button Manager because the close button does not work on either.

    Hello

    Thank you for using the Microsoft Windows Vista Forums.

    I will need some additional information to help you best.

    O if it works well before?

    Ø summers - get you any error message?

    O have changes made to your computer recently?

    In the meantime, follow the instructions below that may help you resolve the issue.

    Method 1:

    To perform the clean boot procedure, follow the instructions in the link below.

    Step 1: Perform a clean boot

    Step 2: Enable half the services

    Step 3: Determine whether the problem returns

    Step 4: Enable half of the startup items
    Step 5: Determine whether the problem returns

    Step 6: Resolve the problem

    Step 7: Reset the computer to start as usual

    How to troubleshoot a problem by performing a clean boot in Windows Vista

    http://support.Microsoft.com/kb/929135

    After checking the problem, turn the computer back to the Normal mode.

    Uninstall or update the program that is causing the problem.

    Method 2:

    Windows Live OneCare safety scanner is a free service designed to help ensure the health of your PC.

    • Check and remove viruses
    • Get rid of junk on your hard disk
    • Improve the performance of your PC

    Click on the link below for Online Virus scanner.

    http://safety.live.com/

    Check whether the problem is resolved.

    Method 3:

    Analysis of auditor of file system (CFS) that might help you resolve the issue.

    To determine if the problem you are experiencing is caused by one or more system files that are used by Windows Vista, run the System File Checker tool. The System File Checker tool analyzes the system files and replaces incorrect versions of system files by using the correct versions.

    To determine if the problem you are experiencing is caused by one or more system files that are used by Windows Vista, run the System File Checker tool. The System File Checker tool analyzes the system files and replaces incorrect versions of system files by using the correct versions.

    To run the System File Checker tool, follow these steps:

    1. Click Start and type cmd in the box start the search.

    2. right click on cmd in the list programs and then click Run as administrator.

    If you are prompted for an administrator password or a confirmation, type your password or click on continue

    3. at the command prompt, the following line, and then press ENTER:

    sfc/scannow

    When the analysis is complete, test to see if the problem you are experiencing is resolved. If the problem you are experiencing is not resolved, use the procedure that is described in the section "the System Restore tool.

    Follow the instructions in the link below for more information on scan SFC.

    http://support.Microsoft.com/kb/936212/

    Please post back and let us know if it helped to solve your problem.

    Kind regards

    KarthiK TP

  • Command button is not activated after action is completed

    Hi all

    I am creating an Excel since the command button using a method of bean support. The command button is not activated after that action is completed. but the information load in Excel and excel also created correctly.

    Code method as follows:


    public void exportToExcelEventForm () throws IOException
    {


    Date dt = new Date();
    SimpleDateFormat fmt = new SimpleDateFormat("yyyy-MM-dd_HHmmss");
    String filename = fmt.format (dt) + ".csv".
    String contentType = "application / vnd.ms - excel";

    FacesContext fc = FacesContext.getCurrentInstance ();
    HttpServletResponse response =
    (HttpServletResponse) fc.getExternalContext () m:System.NET.FtpWebRequest.GetResponse ();
    response.setHeader ("Content-disposition",
    "attachment; filename ="+ filename);
    response.setContentType (contentType);
    PrintWriter out = response.getWriter ();
    out.println ();
    out.println ("event details");
    out.println ("testing");
    out. Close();
    fc.responseComplete ();
    FC. Release();

    }

    What is at stake in this? pls guide me

    Why not put an af:fileDownloadActionListener in the command button. In the bean you need a method like

        public void exportExcel(FacesContext aFacesContext, OutputStream aOutputStream)
        {...
    }
    

    You can use the stream output and when you finished just rinse. Do not close the stream and does not complete the answer.

    Timo

  • Rescue E-mail button does not?

    I've forgotten the answers to my security questions, then I tried over and over again, until I made too many attempts and now I'm stuck on my account. There is an option to send me an email to my email of relief, but the button does not work and it will not send it to my email.
    I already checked and I know that I am interested in the correct rescue email! All I want to do is change my security questions, so I can finally buy my music.
    How can I reset my security questions when I'm stuck on my account?

    Try to contact support in the country where you are (and therefore the country on your account) to get the reset questions: Contact Apple for the Apple ID account security support

    If your country is not on this page, then try this form to contact Support: https://www.apple.com/emea/support/itunes/contact.html

    When they have been reset, you can verify that you save email address is correct, and if necessary correct, for possible future use: on your Apple ID - Apple Support email addresses

    Or if it is available in your country, you can substitute 2-step verification: frequently asked questions about two-step for Apple ID verification

  • IPhone 6 button does not

    I have an iphone 6 and I use it for 11 months now my wake/sleep button does not work correctly. It is within the warranty period.

    Apple will replace my iphone 6?

    Teke your device at the Apple Store for other diagnoses. They will offer you the best solution if your device is still covered by the warranty.

  • Call button does not

    OK so basically that my call button does not work. My command /golive work which is really strange. This started yesterday (8-31) and is still a persistent problem even after I upgraded the latest version of Skype. I checked the forum and have not found anything that has helped me. I, I am the host of this call and have been for several months; It is the first time that this has happened. My status says Skype online, so this isn't my problem. I'm on Mac OSX 10.10.5. Help me

    Thank you that was the answer I was looking for. Thank you for your time and sorry if it was a stupid question.

  • Volume up button does not work like the shutter of the camera

    I have an iPhone 5 with iOS 9.2.1 (13D 15). The volume up button does not work on it like a camera shutter. I think that it used for, and iPhone to my wife 6 with the same iOS version works fine. It is a problem, because I am using this phone with a stick of selfie, which triggers photos by simulating the volume press up button, so it doesn't work at all for me. The physical button works - I can control the volume with her settings. And when I try to use the stick selfie, I get the volume until the display on the phone, so I can see that the signal of the selfie stick is received correctly by the phone. And the stick of selfie works with my other phone that is not a problem with the volume up button.

    Work began after restarting the phone. So it's a bug to Apple report, the solution is to reboot the phone.

  • Re: Satellite L655 - the Touchpad on/off button does not work

    This morning, I noticed that the power button of the touchpad of my Satellite does not, although the Fn + F9 key combination works by enabling and disabling my touchpad.

    It was working well until what I slept last night when I woke up, my laptop has rebooted due to updates of Windows during the night. I don't read anything since I have been using a wireless mouse. Then reach work and check if I can activate my touchpad (Windows has loaded and connected), the display screen that shows if the touchpad is active or not does not appear and my touchpad, power button does not work.

    Any help is greatly appreciated.

    Thank you.

    Is this problem only you?
    I mean it's not so important, and I would not reinstall or change anything because of this.
    Until you can use the FN + F9 key combination I put t think it's a serious problem.

    What do you think of this?

  • Re: Left mouse button does not work on Satellite L

    Hello

    I bought this computer notebook June 2010 and I never had no problem recently while watching movies has suddenly stop and happens quite often... and recently, I noticed that my left mouse button does not work correctly

    all useful suggestions please

    Thanks in advance
    Pramod

    Hi pramod_1,

    Have you tested an external mouse if the problem is maybe a few related software?

  • Satellite A300-15J: touch button does not work properly from standby

    Recently I bought this laptop, works great except one problem...

    There is touchbutton for LED switching power.
    When I close or put the laptop in sleep, this button does not work like that but activates or disables the sound.

    I'm using Vista, I wonder if there is any patch or something for this problem.
    Thank you

    Andrew

    Can you please tell me if that happen after the day before, or after using the hibernation mode too?

Maybe you are looking for

  • Photosmart 7510: Photosmart 7510 print offset of text to the right

    I use MS Word 2010 and when I print the text it seems 7 mm offset to the right. e.g. fixed left margin at13 mm starts printing at 20 mm, and right margin at19 set stop mm 12 mm printing. The same offset is displayed when you use other applications fo

  • Equium M50 shows black lines on sceen followed to blue screen

    Help please! I have Equium M50-192, who suffered with this problem for some time. More often, looking at youtube. APPER of black lines on the screen and no response from the mouse or the keyboard. But the sound continues. In a few seconds - a blue sc

  • Migrate ReadyNAS to ReadyNAS 516 314

    Hello I'm looking to migrate my 4 discs of my ReadyNAS 314 with the purchase of a new 516 ReadyNAS. Can someone give me instructions step by step on what I have to do to pass? Will my app structure remain intact, Plex Media Server, SickRage etc., or

  • HP Z840: Z840, bunch of several Raid 1 s

    I'm about to implement our new machine to run the modellign software.  We have several sets of disk Raid 1 running windows.  Each set contains modelling data, operating system, software support, etc. The raid controller will support us switching on r

  • BlackBerry Q10 callers can't hear me phone earpiece / normal, just speaker! Help?

    Hello I just bought a Q10 and love all that, except for the fact that the appellants can only hear me when I use the speaker. The microphone seems fine, I ran the diagnostics... is therefore not a hardware problem. And he does not pick up my voice wh