Problem with opening an af:popup

Hello

I create a simple project that does something like this:

< af:form >

< af:inputText id = "1" / >
< af:inputText id = "Number2" / >
< af:commandButton action = "#{mybean.makeSum}" / >

< af:popup id = "popupResullt" >
< af:outputText value = "is the sum: #{mybean.result}" / >
< / af:popup >

< / af:form >


# In my backBean:
public void makeSum() {}
This.Result = this.number1 + this.number2;
}


Problem: How to open the context menu and run my method "makeSum.

I tried to do this:

Attempt 1:
< af:commandButton action = "#{bean.makeSum}" >
< af:showPopupBehavior popupId = "popupResult" >
< / af:commandButton >

Problem here: the popup is open, but the makeSum method is not called.

Attempt 2:
< af:commandButton action = "#{bean.makeSum}" >
< / af:commandButton >

Here I I invoke the popup to my grain of support with this code:

# In my backBean:
public void makeSum() {}
This.Result = this.number1 + this.number2;
ExtendedRenderKitService erks is Service.getRenderKitService (FacesContext.getCurrentInstance (), ExtendedRenderKitService.class);.
StringBuilder strb = new StringBuilder("AdfPage.PAGE.findComponent(\"popupResult\").show ();");
erks.addScript (FacesContext.getCurrentInstance (), strb.toString ());
}


Problem here: the popup is not open, but the 'makeSum' method is called.

My Question: How to the best way to call my method and open the popup of too.

Thank you.
Victor Jabur.

Hello

If you're on JDeveloper 11.1.1.3 then you can open the pop-up window of Java. To do this, you create a binding component to a bean managed the "binding" of the af:popup component property. This creates a getter/setter for RichPopup. The RichPopup exposes a method to open and close a pop-up dialog box

Frank

Tags: Java

Similar Questions

  • Problem with opening programs of text and photos after the upgrade of computer for Windows 8

    Original title: Photos open in Notepad

    Hello

    Laptop with win 8.

    Recently upgraded XP to win8 with purchased MS DVD.

    All text programs open graphics (pictures) in Irfanview & if I send them WORD show as hieroglyphics jeeperish.

    And all the photos to open Notepad in hieroglyphs jeeperish but if I open them with "Sendto" Irfanview or MS photo editor pictures appear.

    Seems the association went haywire. How can I fix this please?

    8 win in my PC is not that.      .. thanx... .Nick

    Hi Nick,

    Please contact Microsoft Community. I understand that you have a problem with opening the programs of text and pictures after the computer upgrade to Windows 8. I appreciate your efforts to solve this problem, I'll probably help you solve this problem.

    This problem could occur if the default applications are not set correctly.

    I suggest you read the article that will help define the default applications that Windows automatically uses when you open a particular type of file, such as a song, film, photo or Web page.

    Choose the apps Windows uses by default
    http://Windows.Microsoft.com/en-us/Windows-8/choose-Programs-Windows-uses-default

    Hope this information helps. Reply to the post with an up-to-date report of the issue so that we can help you further.

  • Problem with opening Windows store after upgrade to 8.1 Windows

    Original title: cant access window 8 app store

    I had a 8.1 window update to my laptop.but 8 window whenever I try to open appstore, I gives me error that cannot cannot to the authentintion, due to errors, .i tried to open AppStore 3 g, wifi and broadband connection.but I still get the same error.

    Help, please.

    Hello

    Please contact Microsoft Community. I understand that you have a problem with opening Windows store after the upgrade to Windows 8.1. I appreciate your efforts to solve this problem. I've surely you will help solve this problem.

    To better understand the issue, I would need more information on your side.

    1. are you able to open other Apps of metro?
    2. What is the full error message?

    This problem might have occurred because of these reasons:

    1. Corrupt the App Store.
    2. Incorrect settings App.
    3. Corrupt system files.

    Try the steps listed here and see if it helps:

    Method 1:
    I suggest to try the procedure described in the article to reregister the App Store and check if that helps.

    http://blogs.msdn.com/b/notime/archive/2013/10/21/10458031.aspx

    Note: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information on how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base.

    Method 2:
    If the problem persists, I suggest you perform the Scan SFC (System File Checker) and check if it helps. SFC scan will search the system files corrupted on the computer and replace them.

    Use the System File Checker tool to repair missing or corrupted system files
    http://support.Microsoft.com/kb/929833/en-us

    Hope this information helps. Reply to the post with an up-to-date report of the issue so that we can help you further.

  • Possible problems with opening and El Capitan

    I just bought a mbp 15 "and upgrade to el capitan for I had read that work with the new OS, but when I tried to install a pop - up came saying that installation will take place, but that it could damage the computer, so I called apple for more advice on the issue, but given the fact that I live in the Mexico proapps guy could not help me. Now I'm going to try my luck, but what would be the possible problems that I could meet and would be set by an errase 'factory '?

    Specifications of the computer:

    MacBook Pro (retina, 15 inch, mid-2015)

    Processor: 2.5 GHz Intel Core i7

    Memory: 16 GB 1600 MHz DDR3

    Thanks and forgiveness English...

    I have the opening on the MBP, where I El Capitan (10.11.1) installed and I had no problems with it.  What version do you have?

    Ciao.

  • Problem with opening of Nikon NEF files

    Separated from this thread.

    I have the same problem with a single Nikon reflect the lens of the camera.  He said that it is a NEF file type.  And windows media player does not recognize and cannot play.  Help, please.

    Hello

    NEF files are owner of Nikon RAW format and cannot be opened in Windows Media Player.

    You have a few options, including:

    • Download and install Nikon ViewNX2 which can open NEF files.
    • Install Microsoft Camera Codec Pack which will then allow your NEF files to be perceived as file/Windows Explorer and the Windows Photo Gallery (check your camera for taking pictures is listed in the Details section, or it may not work). The links are:

    Microsoft Camera Codec Pack  (Windows Vista/Windows 7)

    Microsoft Camera Codec Pack (Windows 8.1)

    • Use the photo editing software owner (with necessary plug-ins installed if necessary) to open and edit NEF images.

    When you open an NEF image in an application, you should then be able to record it in a much more widely supported such as JPG image format. There will be a loss of quality when you do well, but still, good results can be obtained.  Once in JPG format (for example), Windows Media Player will be able to open the images.

    If you don't want to use NEF files in the future, your camera should be able to take/save directly the images in JPG format. Check the settings of your camera.

  • Problem with 'open with' records not of programs on external hard drive

    Hi - I have several large programs installed on an external hard drive. Previously, there were no problems with the program and files associated with the other. My computer had to be rebuilt recently and all re-installed with the exception of those programs on the external hard drive. My files get recognized by windows - when I am asked to browse to find the program and I select this program from the ED - windows will not add to the 'open with' list of programs. I don't see what the problem is and a little lost. If anyone can help I'd be really grateful, as I have quite a few files that I have now correctly open questions.

    Thank you

    The game, 13 May 2010 19:45:23 + 0000, minat wrote:
     
    > Hi - I have several large programs installed on an external hard drive. Previously, there were no problems with the program and files associated with the other. My computer had to be rebuilt recently and all re-installed with the exception of those programs on the external hard drive. My files get recognized by windows - when I am asked to browse to find the program and I select this program from the ED - windows will not add to the 'open with' list of programs. I don't see what the problem is and a little lost. If anyone can help I'd be really grateful, as I have quite a few files that I have now correctly open questions.
     
     
     
    When you install a program, two things happen: the program get
    When you say let it go, and * pointers to many parameters and references
    It is set in the registry and elsewhere in \windows (there are
    an occasional exception, but usually only with a small single
    programs).
     
    Thus, when Windows has been reinstalled, all these many pointers, settings,.
    and references to it in the registry and elsewhere in \windows
    have been lost. Programs cannot operate without them.
     
    For this reason, separating \Windows and installed programs
    (especially on an external drive) is a bad thing to do.
     
     
    --
    Ken Blake
    Please reply to the newsgroup
     

    Ken Blake

  • Problem with opening of Windows Update - "application failed to initialize (0xc0000005) property.

    I can't open "Windows Update" - it will momentarily Flash on the screen, then disappears.  When I start my computer (Vista) I also get an error message 'property initialization failed (0xc0000005) - don't know not if associated with Windows Update not opening

    I can't open "Windows Update" - it will momentarily Flash on the screen, then disappears.  When I start my computer (Vista) I also get an error message 'property initialization failed (0xc0000005) - don't know not if associated with Windows Update not opening

    Error could be caused by a virus/malware, programs or simply corrupted system files.

    Search for malware: http://www.microsoft.com/security/pc-security/malware-remove.aspx

    or http://www.microsoft.com/security/pc-security/scans-and-software.aspx

    To check if it is a program:

    http://support.Microsoft.com/kb/929135
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    To fix corrupted - files

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    How to analyze the entries in the log file generating the program Checker (SFC.exe) resources of Microsoft Windows in Windows Vista
    http://support.Microsoft.com/kb/928228

    For the WU issue:

    Suggestions-

    How to reset the Windows Update settings?
    http://support.Microsoft.com/kb/971058

    Diagnose and automatically fix common problems with Windows Update
    http://support.Microsoft.com/mats/windows_update/

  • Problems with opening the mobile version on my phone

    Hello guys,.

    I made a Web site for a company called B6Administratie.

    The site is http://www.b6administratie.nl

    When I go on this site on my desktop it just opens the office website, no problem with that.

    But when I got to my phone and I type the exact same address (http://www. b6administratie.nl) he brings me to the same page of office.

    But when I type in http://b6administratie.nl or b6administratie.nl or http://www.b6administratie.nl/phone it will bring me to the mobile page.

    Now, my question is can I get muse to put viewers on their phone to the mobile page when you type the address with the www. (http://www.b6administratie.nl)?

    Thanks, Daan

    Hi Daano48934932,

    I just tried to visit http://www.b6administratie.nl on my android phone and it redirected to the version site telephone.

    Can you clear the browser cookies and then try to visit the link again. Also try to check the same on a device with a different network.

    Kind regards

    Vivek

  • Problem with opening the flash drive

    I can't open any Flash drive. I try to install the latest version they wil not open, even with the plugin and activex. What should do? While trying to fix it, I uninstalled all the flash player aswel and activex plug-in. How to fix this?

    To help out we will need the following system information:

    When troubleshooting problems with Internet Explorer, we recommend that go you through the steps described in these two FAQS:

    Thank you

    Chris

  • problem with opening pdf file of the web browser

    I have Acrobat Pro ver 6 and Adobe Reader 9.1 on a computer.  When my user tries to open a pdf file from the web as it gets the following error message:

    "Adobe Acrobat/Reader that not running to view the PDF files in a WEb browser.  ADBE Acrobat/Reader version 8 or 9 is required.  Quit and try again. »

    What also happens is that Acrobat Pro 6 worm opens and nothing is there.

    I don't know why he received this message from Reader 9.1 is installed.

    One can shed some light on this for me.

    This user must have Acrobat and Reader on its system.  I understand that there are problems with having both.

    It has also set up so that any PDF opens using Reader 9.1.

    Thank you

    Configuration of your PC drive by default for embedded PDFs has become confused, because of multiple solutions of Adobe PDF documents installed on a PC.

    Solution 1:

    Go to start > run

    Type regedit, and then click OK.

    Navigate to the following key: HKEY_CLASSES_ROOT\Software\Adobe\Acrobat\Exe

    Make sure that the correct default data value is set to the path where are installed the Adobe Reader or Acrobat.

    The default installation values are:

    "C:\Program 9.0\Reader\AcroRd32.exe Adobe.

    or

    "C:\Program Files\adobe\acrobat 6.0\acrobat\Acrobat.exe" (not sure of this path.  Make sure that on your PC)

    If Adobe Reader or Adobe Acrobat is installed.

    Solution 2:

    Configure the browser to use Acrobat or Adobe Reader as a helper application.

    If you use Firefox to browse the web, you can change this setting in Firefox by clicking on:

    Tools > Options

    Click on the "Applications" tab

    The first item in the list should be "Adobe Acrobat Document".  In the Action list, click the drop-down arrow and select the application you want to read a PDF file in the web browser.  Click OK and you should be done.

    If you use Internet Explorer to view a PDF file, try the steps below.

    After you configure Acrobat or Adobe Reader as a helper application, the browser starts the helper application in a separate window and displays PDF files within this window. Acrobat and Adobe Reader both include a preference that allows you to specify the Acrobat or Adobe Reader as a helper application.

    To configure Acrobat or Adobe Reader as a helper application:
    Start Acrobat or Adobe Reader.
    Choose Edition > Preferences.
    Select Internet on the left.
    Deselect Display PDF in browser using [Acrobat application], and then click OK.
    Quit Acrobat or Adobe Reader.
    The next time you select a link to a PDF file in the browser, a dialog box asking what you want to do with the file. If you select open, the browser opens the PDF file in Acrobat or Adobe Reader (request for assistance); If you select save it on the disk, the browser saves the PDF file on your hard drive.

  • Problems with opening files Acrobat Pro 9 PDF

    Hello. We use Acrobat Pro version 9.0.0 to convert our files of Word of documentation produced in PDF format. In recent weeks, our clients report a problem more with the opening of these files. We usually deliver those on a DVD with Acrobat Reader 5 or an older version. (Please do not ask me why we are always on these older versions!) Anyone done the experience of similar problems with Acrobat Pro 9 PDF files and older versions of Acrobat Reader? Acrobat Pro version 9.0.0 works without problems with the most recent Acrobat Reader 9.1 download?

    Please post your comments. Thx a lot - Kay

    You must save them to be backward compatible. You can only set your printer Adobe PDF option. In Acrobat, you do not save, but use reduce the size of file or PDF Optimizer for backward compatibility. You might have added something that was specific AA9 that causes the problem. Depends on if you create forms or what. When you are dealing with a company, it's probably a good idea to keep backward compatibility at least version 6, but it looks like 5 for your case if you distribute Reader 5 on the CD. I maintain AA5 compatibility of files that I create.

  • Problem with opening of library saved on the remote server. Can anyone advice please?

    I saved the library on the remote server. When I try to open it, I get the following message:

    "Libraries cannot be saved to this location. . The format of the selected hard drive or network volume is not supported. Select another location. »

    Can anyone help please?

    I don't think I have made it clear that the problem is with iMovie on iMac ElCapitan 10.11.3 running. Thank you

  • Problem with opening files and programs after the attack "rogue security."

    Earlier this year, I met a rogue security program called Windows Security 2011. I had removed it, but I'll still have some serious problems. I found another user here, who had a similar encounter: http://answers.microsoft.com/en-us/windows/forum/windows_xp-windows_programs/exedirectory-file-association-problems/5dcd9044-8b57-43e0-a3bc-0c966326f0da

    "But since the incident, the PC has struggled to open .exe files. If I open Mozilla Firefox, for example, it will ask me to specify the program to run it with. I can browse the OS and find the firefox.exe and open it with that, but it won't allow me to check the box "always use this option. "

    It's exactly the same problem that I have now, as well as some sections of the control panel not working not at all, but there is no answer about what to do after the malware has been removed. Is there a way this can be fixed now?

    Hi Lapeul,

    You can create a new user account and check if you can solve the problem.

    How to create and configure user accounts in Windows XP

    If you are able to resolve the problem, you can consult the following article to fix the damaged user account.

    How to recover damaged Windows XP user profile

  • Problem with opening files and demand, everything opens with Java.

    I think I clicked the wrong application to open a file and now all the application and the files are open with Java (TM) Platform SE binary.

    And now I do not know how is back to normal.

    Please help me with this problem.

    Hello

    This should help you.

    'Restore. Association of exe in Windows 7/Vista after incorrectly associating it with another program"

    http://www.Winhelponline.com/blog/restore-exe-file-Asso-Windows-7-Vista-incorrectly-associated/

    "When you run an .exe on a Windows XP, Windows Vista or Windows 7 computer file, the file can start another program.

    Run the Mr.Fixit here or you can use the manual method it y to correct yourself

    http://support.Microsoft.com/kb/950505/en-us

    And also, read information please.

    'Change the programs that Windows uses by default'

    http://Windows.Microsoft.com/en-us/Windows7/change-which-programs-Windows-uses-by-default

    See you soon.

  • Problem with opening port (pat)

    Hello

    I am trying to open port 80 (www) on my pix and send all queries to my internal web server (192.168.0.150)

    I'm currently running Pix V 5.1 (5) on a classic old pix (stable)

    I'm not having much luck opening the port.

    I have 200.220.230.136/29 assigned to me

    Here's my ip address

    Router LAN: 200.220.230.137

    WAN Firewall: 200.220.230.138

    NAT firewall: 200.220.230.139

    LAN Firewall: 192.168.0.252

    I think the problem I have is with the static command.

    If someone could please take a look at my config and give me any advice on where I might be wrong, it would be a great help

    Thank you

    Clint

    PIX Version 5.1 (5)

    ethernet0 nameif outside security0

    nameif ethernet1 inside the security100

    access-list 101 permit ip 192.168.0.0 255.255.255.0 any

    access-list 101 permit tcp any host 192.168.0.150 eq www

    access-list 100 permit tcp any host 192.168.0.150 eq www

    access-list 100 permit icmp any any echo response

    access-list 100 permit icmp any one time exceed

    access-list 100 permit everything all unreachable icmp

    interface ethernet0 car

    Auto interface ethernet1

    Outside 1500 MTU

    Within 1500 MTU

    IP outdoor 200.220.230.138 255.255.255.248

    IP address inside 192.168.0.252 255.255.255.0

    ARP timeout 14400

    Global 1 200.220.230.139 (outside)

    NAT (inside) 1 192.168.0.0 255.255.255.0 0 0

    public static 200.220.230.142 (Interior, exterior) 192.168.0.150 netmask 255.255.255.255 0 0

    Access-group 100 in external interface

    Access-group 101 in the interface inside

    Route outside 0.0.0.0 0.0.0.0 200.220.230.137 1

    SNMP-Server Community public

    No trap to activate snmp Server

    enable floodguard

    No sysopt route dnat

    I think your 100 access list should look like this.

    access-list 100 permit tcp any host 200.220.230.142 eq www

Maybe you are looking for

  • activity app sharing just turns

    I'm trying to share my info in the application of the activity and my friend accepted the invitation, but on both of our phones (7 more with os 10) it keeps just go!  Help!

  • Satellite Pro M70: ConfigFree says that WLAN is not enabled

    Hello I'm running on wireless on my Satellite Pro M70.The WiFi light is orange (yellow), then the communication is running. The internet doesn't work, no problem. But when I run the free app Config and search for wireless networks, I get the message

  • Confusion/Questions about Java

    Running Windows XP Pro, SP2 I just downloaded and installed the latest version of Java (update version 6, 15). 1. when I look under Program Files / Java, I found 3 files: JRE 1.5.0 dated 09/11/2005 JRE 1.6.0_0, dated 2007-06-21 JRE 6, date dated 02/0

  • D110 won't print

    Hello - I installed and followed all failure on my HP D110 printer, but I can't print from a PC on the network.  I ran the HP print and scan doctor and he succeeded.  I am able to print from another printer wireless just not this other one that I'm w

  • Of MagicJack Internet phone connection

    IFor the first MB, 8 I only had MINOR problems with my MJ, and then all of a sudden couldn't re - connect.  Their customer support is really BAD. Long story short, they finally sent me a replacement which I immediately plugged on comp. USB when I rec