Enapling a previously disabled Button!

Please I need help with this..
I am tring to enable a button in a form that is initially beeing disabled. when reading a particular user name the button should be enabled. The problem is that after being enabled , its not functioning and saving without being PRESSED TWICE!.
HOW TO SOLVE THIS PROBLEM....
THANX IN ADVANCE

Try this:
SET_ITEM_PROPERTY ('myButton', ENABLED, PROPERTY_TRUE);
SYNCHRONIZE;

Similar Messages

  • I have tried all the methods in previous logs btu nothing works... how do i get my facebook id to work in settings on my ipad? there is no disable button in privacy only an app on my ipad

    ok so ive tried everything except for complete reset where i lose all my data and stuff... i reset my settings and i tried the privacy then facebook and disable there is no disable button... i am fedup i cant acces any of my games because its registered to that facebook which cannot log in please give me an answer that works because its really ******* me  off...

    Your backlight is out, it's a hardware problem and you'd be best served to take it in for an estimate. Or you could purchase an external display and use it as a desktop computer. You'll have to decide if repairing a 6 year old computer is worth it.

  • Previous/back button for lock screen (Android)

    I would like to see a previous song button on the lock screen of Android. I dislike having to unlock my phone just to start a song over or to get back to another.

     I didn't do anything specifically, as far as I can remember, other than installing the Spotify app. Of course, these controls do not show up unless I already opened the app beforehand and started playing a song. Once it's already playing, then the controls appear after locking the screen. I even changed my security because I had pattern unlock and changed it to PIN in order to take the screenshot I posted above.But in both security modes (pattern/pin) I can see the controls. My only guess is that it could be something related to the phone model itself. I have a Samsung E7, which has a large screen. I don't know the size of the Sony z3, and I don't have an smaller phone at hand at the moment to test. If this is the issue, then it can be more of a phone model related bug. I'll attach some links with some information that could be helpful for you. Pay close attention to the last one, as it seemed that it was the solution for most of the users. On this link there are several suggestions of apps that may be preventing the music controls to show up in the lock screen. Maybe one of those could help?http://forum.xda-developers.com/google-nexus-5/help/lock-screen-music-controls-disappear-t2514983 Some mention that uninstalling smart key fixed the issue."I just had this problem on my Sony Xperia Z3 Compact. Disabling Smartkey did the trick. Thanks so much guys! I have a feeling fixing this might not be high on Sony's priority list." http://talk.sonymobile.com/t5/Xperia-Z1-Z1s/Problem-with-Music-widget-on-lockscreen-bug/td-p/382277/page/5   I hope it works out for you!

  • Accessibility - Disabled Button Issue

    Hello,
    I am using Jdev 11.1.1.6 with ADF Faces technology stack.
    I have implemented accessibility option setting in my application. I am facing one issue that when accessibility options are "on" and it is tested for accessibility compatibility, it fails for disabled command buttons with message:
    3.48:1 Fail. Either improve the ratio to 4.5:1 or increase the font size to 14pt bold or 18pt normal - (STYLE-3)I am using OGHAG Toolbar for Firefox. This is a firefox plugin that has a option of "Colour Contrast Analyzer", which when pressed, while my application, produces a report. Everything looks good except disabled buttons.
    This is happening for inbuilt buttons like "Wrap" on af:table surrounded with af:panelCollection or simple First/Previous/Next/Last navigation button. So the enabled buttons has no issues but disabled appears "red" (highlighted as error) on page
    Just to clarify that there is no custom style/skin applied on command buttons.
    My questions:
    1. Does the ADF out-of-box buttons compatible with accessibility option?
    2. What fix is required in this case? Do I need to use darker background/foreground color or a bigger font for disabled button?
    Any help here is highly appreciated.
    Thanks,
    Jai

    Here is the official doc http://www.oracle.com/technetwork/developer-tools/jdev/documentation/accessibility-462550.htm
    Otherwise support can help you sort this out. All weed can do is to advice to skin the buttons yourself.
    Timo

  • Disabling button gives property not found exception

    I am trying to disable a button in jsp using disabled property of the button. But I am getting property not found exception.
    Here is the code.
    In JSP
              <h:commandButton value="Previous"
                disabled="#{b_mainTest.previousDisabled}"/>In my backing bean
        public Boolean isPreviousDisabled(){
            if (queIdHash.get(testSession.getCurQueId()) == 1)
                return true;
            else
                return false;
        } I hope it is some silly mistake!

    What happens when you use boolean instead of Boolean as return type?

  • How to enable Previous Step Button in First  Substep of FPM Road Map

    Hello All,
    I have created three MainSteps M1 M2 M3.
    In Main Step M2 having Substeps Say S1 S2 S3 S4.
    In M2 of S1 Previous Button by default it is disabled. Means user can't go back from First Substep(S1) to Main Step2 (M2).
    Please let me know how to enable  "Previous Step"  Button in First  Substep (S1) of FPM Road Map in M2.
    Thanks in Advance.
    Br
    -CW

    Hello BS,
    Thanks for your suggestions.
    Yes we can do with custom button.
    Is there anyway to enable standard  Previous Step Button in First  Substep instead of creating cutom button.
    Please guide me if any other options.
    BR
    -CW

  • How to enable or disable buttons on an interactive ALV report

    I have two buttons on Interactive ALV report. Before displaying the ALV report, I want to enable or disable buttons on ALV depending on some conditions.I dont want to make the buttons visible or invisible. This is not an OO ALV report.
    Please suggest !!!

    Then you have to use the event set_pf_status or parameter I_CALLBACK_PF_STATUS_SET for this pass the form name.
    You have to Implement the form Routine.
    FORM PF_STATUS using status type SLIS_T_EXTAB.
    SET PF-STATUS 'STS' excluding status.
    ENDFORM.
    First create the pf-staus using SE41 or double click on the status name and create . By default you make them Disable mode.

  • The restore previous session button is not working on Firefox on any of my three machines. How can I fix this?

    I have a desktop at work, and a desktop and laptop at home and just recently the "restore previous session" button that comes up when I use the desktop icon to start a Firefox Web browser session does not work. It is there and I click it but nothing happens. I have Windows 7 on the two computers at home and thought that is what I had on this computer at work, but it may be Vista. It's not XP.

    Had this trouble myself, just did some research and solved it!
    Go to the '''Help''' menu, go to "'''Troubleshooting Information'''"
    On the new window, click "'''Open Containing folder'''" next to ''Profile Directory'' (This opens the folder on your PC where Mozilla stores some settings, like a tab history)
    In the new Windows Explorer window, Find the file "'''chromeappsstore.sqlite'''"
    You'll want to close Firefox and then '''delete''' that file (don't worry, Firefox will create a new one, and you won't even lose the open tabs)
    Start Firefox again and the button should work!
    (For completeness's sake, the profile folder for windows7 is: C:\Users\Tiberion\AppData\Roaming\Mozilla\Firefox\Profiles\c6xu23fh.default\
    where you replace Tiberion with your own username, and the random characters in the final folder will be different.)

  • Read-only textbox and/or disable buttons in Infopath 2013

    In a InfoPath 2013 custom list form, my requirement is to make textboxes read-only, disable buttons, and/or create new buttons so users can not update fields in a custom list once the user has updated data in the list. Basically after the user hits the 'save'
    button so that the data is saved.
    The requirement is not to set up custom permissions since my SharePoint administrator said I should find another option. This administrator said he does not see a reason for only an 'add' permission.
    Thus can you tell me how to meet my requirements? Can you show me screen prints, pictures, or urls on how to solve the problem?

    Hi,
    According to your description, you might want to prevent users from editing the existing items.
    There are two workarounds I can provide as below:
    As the first workaround, you can remove Ribbon from SharePoint InfoPath List Form via modifying the OOTB settings of InfoPath Web Part.
    Here is a link about more details, you can use it as a reference:
    http://the-north.com/sharepoint/post/Remove-Ribbon-from-SharePoint-InfoPath-List-Form
    As the second workaround, you can apply the CSS code below to your page, it will hide the “Edit Item” button in the Ribbon:
    <style type="text/css">
    #Ribbon\.ListItem\.Manage\.EditProperties-Large{display: none !important;}
    </style>
    About how to add JavaScript/CSS into SharePoint page:
    http://blog.cloudshare.com/2012/10/29/how-to-insert-custom-javascript-code-in-sharepoint-2013-pages-part-i/
    Best regards
    Patrick Liang
    TechNet Community Support

  • How setup browser laces import Bookmarks HTML security disable button open Device Manager security warni vewing mixed

    how to alter these settings?
    1.browser laces import Bookmarks HTML?
    2.security disable button open Device Manager?
    3.security warni vewing mixed?

    We didn't get a reply from you.  I just wanted to try and follow up before I close this out. 
    I'd like to know if the issue went away, and/or if you could confirm whether it's Firefox specific or happening in all browsers.

  • I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button

    I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button to navigate back to my starting point the bookmarks are replaced by "page thumbnails". Is there anyway to stop this from happening?

    Hi Pusman,
    While setting up the links, if you choose to open the file in a new window then you won't face this issue, then you can simply switch to the previous file and bookmark view will remain as it is.
    Does that helps with your query?
    Regards,
    Rahul

  • Enabling/disabling buttons problem

    Hello,
    I'm using jdev 10.1.3.3.0 and I want to enable/disable buttons based on the value in a tableSelectOne. I wrote a function isNextButtonEnabled() in my backing bean and I have set the disabled option of the nextButton (=CoreCommandButton) to #{!backing_bean.nextButtonEnabled}. Then I putted the autoSubmit option of the TableSelectOne to true and made a partialTrigger on the nextButton to the TableSelectOne. In the print statements everything is fine, but it is never displayed.
    Does anyone know what to do about this.

    Well,
    the nextButton is in a cellFormat which on itself is in a HtmlRowLayout. I putted partial triggers on the cellformat, the rowLayout and the panelPage to the TableSelectOne, but this doesn't do the trick neither. Strange.

  • Disabled button getting focus

    My problem is that a disabled button are getting focus, which is bad when the application are operated without a mouse.
    I made this litlte demo to illustrate the problem.
    Try pressing button no.1. This will disable button no.1 and button no.2,
    but why are button no.2 getting focus afterwards?
    * NewJFrame.java
    * Created on 29. september 2005, 16:55
    import javax.swing.*;
    * @author  Peter
    public class NewJFrame extends javax.swing.JFrame {
        /** Creates new form NewJFrame */
        public NewJFrame() {
            initComponents();
            printButtonStatus();
        private void printButtonStatus () {
            printFocus (jButton1);
            printFocus (jButton2);
            printFocus (jButton3);
            printFocus (jButton4);
         * Just debug inf.
        private void printFocus (JButton button) {
            System.out.println ("Button=<" + button.getText () + ">, Enabled=<" + button.isEnabled() + ">, Focus=<" + button.isFocusable() + ">");
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        private void initComponents() {
            jPanel1 = new javax.swing.JPanel();
            jButton1 = new javax.swing.JButton();
            jButton2 = new javax.swing.JButton();
            jButton3 = new javax.swing.JButton();
            jPanel2 = new javax.swing.JPanel();
            jButton4 = new javax.swing.JButton();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            jButton1.setText("jButton1");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
            jPanel1.add(jButton1);
            jButton2.setText("jButton2");
            jPanel1.add(jButton2);
            jButton3.setText("jButton3");
            jPanel1.add(jButton3);
            getContentPane().add(jPanel1, java.awt.BorderLayout.NORTH);
            jButton4.setText("jButton1");
            jPanel2.add(jButton4);
            getContentPane().add(jPanel2, java.awt.BorderLayout.CENTER);
            pack();
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
            // TODO add your handling code here:       
            jButton1.setEnabled(false);
            jButton2.setEnabled(false);
            jButton3.setEnabled(false);
            printButtonStatus();
         * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new NewJFrame().setVisible(true);
        // Variables declaration - do not modify
        private javax.swing.JButton jButton1;
        private javax.swing.JButton jButton2;
        private javax.swing.JButton jButton3;
        private javax.swing.JButton jButton4;
        private javax.swing.JPanel jPanel1;
        private javax.swing.JPanel jPanel2;
        // End of variables declaration
    }

    Very courius.
    I have made a little change in your code.
    1) scenario
    Simply changing .setEnabled(false) invokation, the class works fine.
    so
    jButton2.setEnabled(false);
    jButton3.setEnabled(false);
    jButton1.setEnabled(false);
    2) scenario
    the class works fine also using your .setEnabled(false) order invokations and putting after those:
    FocusManager.getCurrentManager().focusNextComponent();
    I do not know exactly why, I suppose that is there something not properly
    syncronized in events dispaching.
    In my opinion:
    a) setEnabled(false) at last calls for setEnabled(false) of JComponent
    that fires a propertyChange event
    so:
    scenario 1)
    buttons 2 and 3 are disabled before of button1 that has the focus in
    that moment (given by a the mouse click on itself)
    When botton1.setEnabled(false) is performed buttons 2 and 3 are
    just disabled, so focus is got by button4 (that is enabled)
    scenario 2)
    button1 that has the focus (given it by the mouse click) becames
    disabled before that button2 becames disabled too.
    So, probably, when the event of PropertyChanged is fired and processed, button2.setEnabled(false) invokation has not been
    just performed and swings looks for it as a focusable component
    So, using FocusManager.getCurrentManager().focusNextComponent(),
    we force the transer focus on next focusable component.
    This is only a my suppose, looking what happens.
    Regards.
    import javax.swing.*;
    * @author Peter
    public class NewJFrame extends javax.swing.JFrame {
    /** Creates new form NewJFrame */
    public NewJFrame() {
    initComponents();
    private void printButtonStatus () {
    printFocus (jButton1);
    printFocus (jButton2);
    printFocus (jButton3);
    printFocus (jButton4);
    System.out.println("--------------------------------");
    * Just debug inf.
    private void printFocus (JButton button) {
    System.out.println ("Button=<" + button.getText () + ">, Enabled=<" + button.isEnabled() + ">, Focus=<" + button.hasFocus() + ">, Focusable=<" + button.isFocusable() + ">");
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    private void initComponents() {
    jPanel1 = new javax.swing.JPanel();
    jButton1 = new javax.swing.JButton();
    jButton2 = new javax.swing.JButton();
    jButton3 = new javax.swing.JButton();
    jPanel2 = new javax.swing.JPanel();
    jButton4 = new javax.swing.JButton();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    jButton1.setText("jButton1");
    jButton1.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jButton1ActionPerformed(evt);
    jPanel1.add(jButton1);
    jButton2.setText("jButton2");
    jPanel1.add(jButton2);
    jButton3.setText("jButton3");
    jPanel1.add(jButton3);
    getContentPane().add(jPanel1, java.awt.BorderLayout.NORTH);
    jButton4.setText("jButton1");
    jPanel2.add(jButton4);
    getContentPane().add(jPanel2, java.awt.BorderLayout.CENTER);
    pack();
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    // TODO add your handling code here:
    // I have simply change the order
    jButton2.setEnabled(false);
    jButton3.setEnabled(false);
    jButton1.setEnabled(false);
    // with this sentence the class work with original .setEnabled order
    //FocusManager.getCurrentManager().focusNextComponent();
    SwingUtilities.invokeLater(new Runnable()
    public void run()
    printButtonStatus();
    * @param args the command line arguments
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new NewJFrame().setVisible(true);
    // Variables declaration - do not modify
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton4;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    // End of variables declaration
    }

  • My "Restore Previous Session" button is not working anymore. When I click it, nothing happens. How can I fix this?

    When I click the "Restore Previous Session" button on my Firefox home page, nothing happens. It usually restores all of my tabs from the previous session, and now it does nothing.

    Hi cor-el
    After deleting the file, that bug is solved. HOORAY!
    But it seems like it crashes my About:Home page. Now, there's a blank box below the search bar and it is not responding. Can't use it to search etc.
    Does this happen to your FF?
    Thanks. Much appreciated.

  • Disabling button Control.

    Hi all,
    i am creating custom add-on for Landed Cost screen, in that, i am placing a button say 'get cost'..
    now if i open landed cost in Find/Display mode, i want to disable that 'get cost' button.
    Can any body explain how to disable button in Find/Disable mode?
    in short,
    how to find whether the form i.e, landed cost is in Find Mode or Add Mode..?
    I appreciate your help...
    Thanks and Regards,
    KaviPrashu

    Hi,
    Try This............
    If pVal.FormType = "992" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_ACTIVATE And pVal.BeforeAction = False Then
                oform = sbo_application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
                If oform.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE Then
                    Dim oitm As SAPbouiCOM.Item
                    oitm = oform.Items.Item("get")
                    oitm.Enabled = False
                End If
            End If
    Thanks
    Shafi

Maybe you are looking for

  • I am receiving an A12E5 error when trying to install my Creative Cloud desktop

    I am receiving an A12E5 error when trying to install my Creative Cloud desktop. So I cannot proceed to a free trial. Thoughts?

  • FI CA ( Contract accounts payable)

    I don't know whether this is the right forum for asking this question: When I am trying to create a contract account in FI CA I get the following  error message Account holder relationship is not uniquely defined Account holder relationship is not un

  • Java.lang.ClassCastException in Servle while using EJB

    I m trying to get a ejb instant in a servlet.I am using Blazix EJB server as a EJB contianer and Blazix Web server as servlet container.I get a java.lang.ClassCastException. I m using Demo bean with DemoHome as home interface and DemoBean as EJB name

  • Apache Server Port

    I'm attempting to configure a router to forward traffic to my apache server....however I do not know what port the server uses...is there a way to determine this or even change the port? Thank you...

  • Car bluetooth issue.

    when my iphone is connected to my car's bluetooth and is also plugged in via the data cable for playing iphones music, upon receiving an incoming call, the iphone music playing through my stereo doesn't mute out during phonecalls? this only started a