Custom button problem (is the closure of a popup and it shouldn't)

Hello.

In my ADF, 11.1.1.7.0 JDeveloper application, I have a popup with its dialogue and its default buttons "Ok" and "Cancel".

In addition to this, I put a custom command button. I want it, when it is selected, go to the server, do things in a method and return to the open popup.

The fact is that, when you click the custom button, the method is executed (action or actionListener, I tested both), but popup closes immediately.

So, I have to reopen the popup to see the actions performed.

How can I avoid the popup gets closed when clicking this custom button?

Thanks in advance.

AutoCancel = disabled on the popup property set. It will not close the popup.

Thank you

Tags: Java

Similar Questions

  • I woke up this morning and my iPhone 6 does not light. I tried to reboot it by holding down the button market / stop and the button "home" but the apple logo never appeared and I had on the charger for a while and still nothing. Please leave suggestions!

    I woke up this morning and my iPhone 6 does not light. I tried to reboot it by holding down the button market / stop and the button "home" but the apple logo never appeared and I had on the charger for a while and still nothing. Please leave suggestions! Thank you

    You can make an appointment at the Apple Store - Genius Bar store and bring it into service. You can also search an Apple Store - find a store - Apple.

  • I have a problem with the drag (cursor snap) video and audio stuttering!

    I have an emachine windows vista home edition and have caused problems with the drag (cursor snap) video and audio stuttering.  my hardware configuration includes an HP printer and a video camera from Microsoft with pregnant beyond the keyboard, monitor, and system speakers routine.  Are there updates or the settings that I can apply to correct this problem?

    http://www.eMachines.com/support/drivers.html

    The latest drivers/software for your machine come directly from eMachines.

    Click the link above for them.

    See you soon.

    Mick Murphy - Microsoft partner

  • Development/unfocus field custom button problem

    Hi all

    I have something weird happens.  I have a custom button field that swaps the images based on a focused state or blur.  I have been using this field custom for awhile now, and I have never had any problems.  Imagine the following provision:

    ______________    ________________________

    | Custom button |    | BasicEditField |

    ------------------------    ------------------------------------------

    When my screen is launched, the focus is on the custom button.  If I move the trackball in a downward movement, the focus is taken the custom button, and its background image changes adequately to what has been defined in the untargeted State.  The BasicEditField then has the focus.  This is the correct behavior.

    If, however, I move the trackball in a movement to the right to the BasicEditField, then the BasicEditField will indeed get the focus, however the custom button field always displays its "highlight" picture  Using print statements, I was able to determine that when I move in a movement to the right with the trackball, the custom field button loses the focus and then gets the focus back to back, that's why it shows the highlighted image.

    Additional info:  This isn't an issue on touch devices, and custom button Manager is a TableLayoutManager.

    Any ideas why this might be happening?  Here's the code to my custom button field:

    public class BitmapButtonField extends Field {
        private String text = "";
        private Bitmap bitmap;
        private Bitmap bitmapHighlight;
        private Bitmap b;
        private boolean highlighted;
    
        public BitmapButtonField(String image, String imageHighlight, long style) {
    
            super(style | Field.FOCUSABLE);
    
            this.bitmap = Bitmap.getBitmapResource(image);
            this.bitmapHighlight = Bitmap.getBitmapResource(imageHighlight);
    
            b = bitmap;
    
        }
    
        public BitmapButtonField(String text, String image, String imageHighlight,
                long style) {
    
            super(style | Field.FOCUSABLE);
    
            this.text = text;
            this.bitmap = Bitmap.getBitmapResource(image);
            this.bitmapHighlight = Bitmap.getBitmapResource(imageHighlight);
    
            b = bitmap;
    
        }
    
        protected void drawFocus(Graphics graphics, boolean on) {
            // Do nothing
        }
    
        public int getPreferredHeight() {
            return bitmap.getHeight();
        }
    
        public int getPreferredWidth() {
            return bitmap.getWidth();
        }
    
        protected void layout(int width, int height) {
            setExtent(getPreferredWidth(), getPreferredHeight());
        }
    
        protected boolean navigationClick(int status, int time) {
            fieldChangeNotify(1);
            return true;
        }
    
        protected void onFocus(int direction) {
            b = bitmapHighlight;
            invalidate();
            System.out.println("FOCUSED");
    
        }
    
        protected void onUnfocus() {
            b = bitmap;
            invalidate();
            System.out.println("UNFOCUSED");
        }
    
        protected void paint(Graphics graphics) {
    
            int topTextPadding = (b.getHeight() - getFont().getHeight()) / 2;
            int sideTextPadding = (b.getWidth() - getFont().getAdvance(text)) / 2;
    
            graphics.drawBitmap(0, 0, getWidth(), getHeight(), b, 0, 0);
            graphics.setColor(Color.WHITE);
            if (text.length() > 0) {
                graphics.drawText(text, sideTextPadding, topTextPadding,
                        Graphics.ELLIPSIS, b.getWidth());
            }
        }
    }
    

    Have you looked at navigationMovement in the TableLayoutManager?  I confess that I rewrote it because it handles no left and right as I wanted.  Perhaps, you might be able to do the same thing.

  • How to disable a custom button field, extending the field 4.5

    Hi all

    I'm working on an application that builds in 4.5, but should work on almost all BlackBerry 4.5 devices from.

    My query is, I need to enable and disable a button custom field that extends the class of the field. I do use if the methods navigationMovement() and moveFocus() for devices not tactile, but on BB 9800 (Tourch) when I touch the button on the screen, it is worn.

    I don't want to use any API touch, can all about suggest me how disabled button on the ground without the help of the Touch API. Please don't suggest also on setEnable(), coz this is not supported in 4.5.

    Thank you

    Let isFocusable return false, for example

  • Paint custom button problem

    Hi, I have a custom button that must be next to a labelfield.

    The paint of the button code is:

     protected void paint(Graphics graphics) {
    
       graphics.drawBitmap(13, 0, fieldWidth, fieldHeight, button, 0, 0,);
    
    }
    

    Where '13' is the space between labelfield and button. But when the font size is larger, the result is the following: [IMG]http://i34.tinypic.com/xeq2hu.jpg[line]

    The button is cut off and other times, its even more. What could be a solution?

    Thanks in advance.

    A HorizontalFieldManager defines the fields from left to right, it only wraps to the next line.  You can use a FlowFieldManager to achieve that has the fields from left to right, then on the next line below.

  • How can I create a custom button to format the table borders?

    I often paste to Excel in a message e and would like a button or a context menu for the PROPERTIES of TABLE FORMAT it takes 2-3 clicks each time to access. Is there such a thing? I searched the Add-ons nothing helps. There may be a change in config I can do which would have the table to stick with borders already in place (I have to change the thickness of the border on '1' each and every time that she missed to '0' - maybe there is a place to have it by default on '1'?)

    I have attached a picture of the menu on that I wonder.

    I don't know of a setting for this...

    It would be easier to click on, but based on underscores bit indicating the keys Accelerator, the keyboard sequence would be:

    • ALT + o b o
    • ALT o b o
  • Problems with the closure, by opening the Task Manager and Norton Internet Security. Help, please!

    Hello

    I have a HP Pavilion dv7 with Windows Vista Home Premium (64-bit). Until Monday, there is no problem whatsoever with my computer at all. I have not installed or uninstalled, whatever it be, changed settings, done anything differently with my computer. Suddenly it now "hangs" on the screen of closing down. I'll try to reboot or stop using the menu start, and it will stay on this screen indefinitely. Now, I have to manually turn off the computer. I spent on the Support page and studied the Performance issues, and all I get is I have Visual settings that interfere with closing... except my Visual settings have not changed in any way. In addition, I can not properly update my computer or do a system restore because the computer will shut down.

    In addition, the Task Manager will appear no more. I'll press ctrl alt del and nothing appears, just the green icon in the corner of the screen. If I try to right click, no response.

    I tried to do a full system scan in Norton Internet Security but she "leaves" scanning. It will scan correctly when I'm in safe mode, but it comes with no virus, trojan or other problem.

    So in essence, I tried everything I can think of to fix my computer nothing works. It was working perfectly before this week. I have no idea where to go. Any thoughts?

    Thanks in advance,

    G

    Hello
     
     
    Method 1.
    First check to see if there are external devices attached to the computer, if so remove and check.
     
    Method 2.
    Step A.

    Start your computer in safe mode and check if it starts.
     
    Step B.
    If it starts on the desktop in safe mode and then set your computer to the clean boot and check if it starts successfully. If it starts successfully can be a third-party application or service is causing the problem. We can use the approach 50 / 50 to narrow down the root cause of the problem.

    See the article below for instructions on how to start your computer in a clean boot state.
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: When the diagnosis is complete, don't forget to reset your computer to normal startup. Follow step 7 in the above article.
     
     
    Method 3.
    I recommend to run the restore of the system in safe mode and check if it works very well.
    Reference:
    System Restore: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/system-restore-frequently-asked-questions
    Note: If you use system restore when the computer is in safe mode, you can not undo the restore operation. However, you can run System Restore again and choose a different restore point if any.
     
     
    I hope this helps.
     

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Problems with the Thinkpad E560 keyboard/keypad and mouse mats

    I bought my Thinkpad around time of December-January, and since there has been some recurring problems.

    On the one hand, with the keyboard, sometimes some of the keys stick: say I'm going to hold the S key and then release, sometimes it keeps acting as if he is still in detention. In addition, the entire keypad has stopped working; at this time last week, it worked perfectly fine, I used to use the calculator, lock the buttons on the internet Explorer and file at the top of the key all the time, but one day they just stopped working. The numbers themselves, as well as the NumLock key and others, also do not work. I tried to reboot, perform analysis, installation of the drivers and all sorts, but without success.

    Finally, with the mouse pad, sometimes sections of it will stop working. As I type this, I can use the right side of my mousepad to move the mouse, but the left side does not work. Sometimes it will change, with the center of the mouse pad does not, while the very right and left mouse do. Usually reinstalling a driver or reboot the computer solves this problem, but it keeps happening and is very frustrating.

    This laptop is a few months old only, I'm not too happy with the problems that keep popping up, and I hope that someone can be useful!

    Thank you

    My mistake! I had completely missed the BIOS update, I installed and fixed this problem. I found it here, if anyone else has similar problems

    http://support.Lenovo.com/GB/en/products/laptops-and-netbooks/ThinkPad-edge-laptops/ThinkPad-E560/do...

  • Problem with the Macbook, it "goes off" and suddenly crashes

    I bought a new macbook pro 13 inch screen retina early 2015 (bought in November 2015) processor: 2.7 GHz Intel Core i5, memory: 8 GB 1867 MHz DDR3, graphics: Intel Graphics Iris 6100 1536 MB, Version OS X Yosemite 10.10.5. After some time of use (about 2 months), I've been havin this problem: occasional, the screen goes black (as if it was closed) and the trackpad blocks and don't click. When this occurs, the computer does not react with anything, and there is no way to turn and knit. Once it's "off" o whatever it is, can't do bu wait until it works again. When he started to arrive it is stayed "off" and blocked for a few minutes or a few hours, but now when it comes it stays like that for several days or even weeks. I already took it to be fixed and SEEN, and they told me that the 'motherboard' has been damaged, then they changed it for a new one, but in any case I still having the same problem. This same problem also happens to people I know who have the same macbook as I do. I don't know what is happening to this computer, can someone help me please? I really need this problem to be solved quickly.

    See which shows the Apple Hardware Test.

  • Problems with the compatibility of Lightroom 6CC and ElCapitan on older iMacs

    When I upgraded to ElCapitan, Lightroom CC seems to continue to work without problem.  Then I did the first update and since then, I have not been able to use development module in the program.  I posted these problems on the Lightroom forums (see link below), but it is clearly an Apple problem, is not a problem of Lightroom. Lightroom people think it's the graphics processor in the older iMac which poses problem, but as I said above, it happened on the first update, not on the initial installation.  There is now another update on hold, and I fear that other programs will no longer work.  Apple made contact with Lightroom on those very real inconsistencies and what is their consensus?  This is a serious problem for a person using an older iMac and photo editing using Adoble products.  For a fuller discussion, please see the link below for the Lightroom Forum (information was also posted on the Forum from Adobe).

    Information on my version of Lightroom and my computer are in posts on the forum.

    pgrade-Lightroom-CC-2015-3-Camera-Raw-9-http://www.lightroomforums.NET/showthread.php?27159-develop-module-problems-in-u...

    Thanks to anyone who can help solve this problem.

    Should I worry about several incompatibilities with the new pending upgrade to El Capitan?

    FWIW, iMac 24 "early 2009 may have at least 512 KB of VRAM (typical models

    only had 256 K).  The specification of Lightroom CC, minimum is 1 GB of VRAM.

    Operation on this machine was borderline at best and probably just lucky it worked at all.

    In addition, a huge impact on the works of Lightroom is the amount of RAM installed.  With

    El Capitan installed, try to run Lightroom CC with anything less than 8 GB will be

    issue (despite what can say Adobe).

  • I have a problem with the previous results of LEDs and indicators of compensation

    I'm working on a proper VI for my building project, but there is a problem... The project here is to define the occurrence of the error and the error type to decide what actions are required to protect the circuit. This isn't a problem here...

    The problem is when I run the VI for the first time... Everything is good and I got what I need... But when I run it after that... The new results to come out with the results of the first round... So my problem is with the previous results of LEDs and indicators of compensation

    Hope my question is clear and not confusing

    Well, show us a code instead. How do you call the VI?

    Have you tried the option: "properties of the VI... run... clear the flags when called?

  • Having problems capturing the image with 2 cameras and the PCIe-1430

    I have problems of switching between my two cameras and breaking or capture images in Labview or MAX. I can switch between cameras and capture images very well so that in the Vision Development Module, but not in Labview or MAX. However, it does not work the first time I have capture an image of a port, but not after that.

    This the error I get LabVIEW:

    1074397150 error occurred at Snap.vi IMAQ

    Possible reasons:

    NOR-IMAQ: A timeout error has occurred while you wait for it
    specified event.  If you expect a picture, check that all the videos
    data are acquired during the period.  If waiting for a
    signal, check that the assertion of signal occurs within the time limit
    period.

    This error I get from MAX:

    The IMAQ error

    Error 0xBFF60022

    A timeout error occurred while you wait for the specified event.
    If you expect a picture, make sure all video data is acquired
    during the period. If you wait for a signal, check that the
    affirmation of signal occurs within the time limit.

    The following list is what I currently use:

    1 card PCIe-1430

    2 cameras JAI Pulnix CM-140MCL

    LabVIEW 9000 f3

    Vision Assistant build 20090611041452

    MAX 4.6

    NEITHER Vision 9.0

    IMAQ 4.3


  • Problems with the windows player video media and internet explorer?

    Original title: Windows Media Player

    I have Windows Media Player 11. I can't play the videos with her. Videos MSN don't is not at all and YouTube loading starts playing and closes exactly 11seconds every time regardless of what particular video. I recently updated my IE 8 browser and tried to use Microsoft Fix it Center Online. It has fixed some problems but not this problem. Any ideas out there? Thanx.

    Hello

    (1) windows operating system you are using?

    (2) have you made changes before the start of this issue?

    (3) what is the exact error message or error code?

    (4) what type of video file you try to play?

    (5) in difficulty he makes you run?

    Step 1: Search for the codecs

    Codecs: Frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/codecs-frequently-asked-questions

    For reference:

    Solve problems in Windows Media Player

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-in-Windows-Media-Player

    Resources for the resolution of problems in Windows Media Player

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

    According to the problem with the playback of videos in Internet Explorer, try the steps in the following article

    The video problems when you use Internet Explorer

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

  • Problems with the installation of windows updates and reboot the computer

    When you try to restart the computer it freezes on "installation updates.do not turn off computer.". Currently have 20 updates which will not be installed. computer says CCC.exe prevents the computer from restarting and getting error code 80240016 when you try to install the updates

    Restore point:

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

     

    If restore work not and you do not have a Vista DVD from Microsoft, do a repair disc to do a Startup Repair:

    Download the ISO on the link provided and make a record of repair time it starts.

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu.

    When you have changed that, insert the Bootable disk you did in the drive and reboot.

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    Link above shows what the process looks like and a manual, it load the repair options.

    NeoSmart containing the content of the Windows Vista DVD 'Recovery Centre', as we refer to him. It cannot be used to install or reinstall Windows Vista, and is just a Windows PE interface to recovering your PC. Technically, we could re-create this installation with downloadable media media freely from Microsoft (namely the Microsoft WAIK, several gigabyte download); but it is pretty darn decent of Microsoft to present Windows users who might not be able to create such a thing on their own.

    Read all the info on the website on how to create and use:

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    ISO Burner: http://www.snapfiles.com/get/active-isoburner.html

    It's a very good Vista startup repair disk.

    You can do a system restart tool, system, etc it restore.

    It is NOT a disc of resettlement.

    And the 32-bit is what normally comes on a computer, unless 64-bit.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

    Error message when you try to install the updates on the Windows Update Web site or the Microsoft Update Web site: "0 x 80240016.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    If the above does not resolve the problem:

    Windows Update Forum:

    It's updated operating system Vista, upgraded installation and activate Forum.

    You will get the best help for any problem of Update/Service Pack in the Windows Update Forum; the link below:

    http://social.answers.Microsoft.com/forums/en-us/vistawu/threads

    When you repost, are kindly Error Codes and exactly what happens when you try to update.

    In this way, you will receive the best help.

    See you soon.

    Mick Murphy - Microsoft partner

Maybe you are looking for