made by programming the pop-up windows when running

Jdev 11.1.2.3.0

I have problems with popup...

I want to create a popup that displays information programmatically based on a user action. what I did:

1. I created an af:popup (popupMess1) in a page of the adf. In this document, I inserted an ad: dialog box. in the af:dialog (dialogMess1), I inserted an output active text (testMess1), my goal is that the value of assets (testMess1) text will change according to the user's action. For example, the program checks if the value of the main code is null

2. in my managed bean, this is how I implemented, however when I ran the program, it gave me java.lang.NullPointerException

RichPopup.PopupHints ph = new RichPopup.PopupHints ();

check the main code

If (this.getMainCodeId () .getValue () == null) {}

this.testMess1.setValue ("hand Code invalid. Enter a valid key code. ») ;

popupMess1.show (ph);

Return (false) End Function

}

3. when I put the value of the text output (testMess1) n on the property inspector to "invalid key Code. Enter a valid key code' and he commented out in my managed bean, it displays correctly

this.testMess1.setValue ("hand Code invalid. Enter a valid key code. ») ;

popupMess1.show (ph);

,

Frank,

If you get a NPE it would help if you could tell us where to get it.

From the back of your code, I get that you bind components to bean that allows you to set the values. Binding of components is permitted if the scope of the bean is extended backingBean or ask for the scope. What are your beans in?

The simplest way around this problem is not to the value of the component of the bean, but define the inputText store a value into a variable of pageDef example (create Variables and bindings of attribute to store values temporarily in the PageDef |) JDev & amp; ADF Goodies)

then, change the variable pagedef of your bean.

Then, you must set the distribution of content of the popup to lazyUncached as otherwise reads data only once when the page is rendered the first time.

Timo

Tags: Java

Similar Questions

  • Problem with the pop-up windows when you use Safari

    Since Friday, February 12, 2016, when you use Safari, I get pop-ups on various internet sites.  Then I get a pop-up message for Massachusetts users to contact Apple Support @ 1 866 405 - 2214.  (http://www.ris4.com':).

    Use the EtreCheck to www.etrecheck.com and see what is running on your Mac.

    Perhaps you have Adware/Malware.

    But DO NOT contact this fake/Scam Apple support.

  • The Web site address does not appear on the pop-up window

    Hello

    I am running Firefox 19.0.2 on a Win 7 64 bit PC version and have noticed that on the pop-up windows, when the address bar is present, I get the message "go to a Web Site" on it rather than the address of the Web site. If I click with the right button on the icon of the little world on the address bar and choose Customize and then close this window without making any changes, the address of the site is full. Does anyone know how to get the address of the site to automatically display on the popup? My PC Win XP Pro is not this problem and popups always display the address of the Web site without having to do anything.

    Thank you

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the start safe mode window or make changes.
  • I have firefox clear history when it closes and it clears my exceptions to pop up windows whenever it closes. How firefox can erase history without deleting the exceptions to the pop-up windows?

    I have firefox clear history when it closes and it clears my exceptions to pop up every time it closes. How firefox can erase history without deleting the exceptions to the pop-up windows? Allow this makes it difficult to play of Facebook games like farmville, because I have to allow him every time, and I have to type in rather than it to automatically. Thank you, Jamie

    Do not remove the navigation, search and download history on Firefox to clear the "Site preferences".

    Compensation of the "Site Preferences" clears all exceptions for cookies, images, windows pop up, installation of software and passwords.

  • the pop up Windows Defender when you are connected to the internet by dial-up readings; change of system in known application, type of change; running applications, cwindowssystem32mswsockdll, I am disconnected and then reconnected___

    the pop up Windows Defender when you are connected to the internet by dial-up readings; change of system in known application, type of change; running applications, cwindowssystem32mswsockdll, I disconnected and then reconnected.

    I just ran windows update on a large number of files all successful before this happened, it happens when I am connected to the internet, I use dial-up access

    added on 25/11/09 still have the problem mentioned above, even explore two windows are runnibg on the system, or two IE browsers running?

    Added 27/11/09 I ave followed all instructions up to and including thefix tool kb/93623, stiil I have this report of windows Defender quickly appearing twice in a row, then I'm disconnected from the internet. any more ideas thanks sam

    Visit this link:
    http://support.Microsoft.com/kb/936213

  • How can I disable 2 pesky pop-up windows when you compose a new e-mail message?

    How can I disable 2 pesky pop-up windows when you compose a new e-mail message?

    In Yosemite-Mail I am waisting a lot of unwanted pop ups 2 closing time I have never

    achieved in previous systems in the mail before calling or fixing spelling:

    and:

    Thank you for your time and patience.

    When exactly these pop-ups appear? Normally they only appear while ctrl-click and disappear automatically. What behavior do you see?

  • Get the pop error 3 when emailing photos

    Get the pop error 3 when emailing photo

    Internet Exployer and send it as an attachment again sorry to learn

    Internet Explorer is a browser and not an e-mail program. You're obviously using Webmail, but who is your mail server? Gmail? Yahoo? Webmail from your ISP?

    In order to use the right click | Send to | Recipient of the message, you must have a program or a default mail client. If you tell us who he is, we are able to offer a solution. Otherwise, you will need to start a new e-mail message, and then attach the image instead of trying to start a new message by right-clicking on the image.

    Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • Blocker is enabled in IE9, also tried Google Chrome and still get the pop up windows.

    Blocker is enabled in IE9, also tried Google Chrome and still get the pop up windows.  Popus mount on most but not all websites regardless of the browser used.  Most are a square add in the lower left corner - some with a VCR command prompt.  I don't know how to get rid of them.  I was wondering that if I had a virus that is allowing them to appear - especially since I also noticed that when I click on the links on some Web sites, the link is instead directed to something more than one character of advertising and not where it was supposed to go.  I use MS Security Essentials and also run Malwarebytes periodically.  Aslso ran "Microsoft SafetyScanner" and no sign of a virus or malware.  Someone at - it ideas?

    Just for fun, take a look at this website because it has some great information for the verification of the malware, etc.. You may need to do your scans in safe mode.

    http://www.selectrealsecurity.com/malware-removal-Guide/

    I hope this helps.

  • Disable the pop-up window

    A small window opens in are at the top right of my page. He has the ability to zoom and change the position of the current page. The window seems to open when I quickly scroll using the mouse wheel. I tried to find what is called the pop-up window and any other information, but I was unable to locate anything.

    The window doesn't help for me and often blocks read page. Anyone who is familiar with this small pop-up window and is anyway to disable?

    Thank you

    Judd

    Try to close this pop-up window by clicking X.

    Also check if there are updates available for Acrobat Reader, Open player > help > Check for Updates...

    Let us know the results.

  • How to disable the pop-up window of assisted reading?

    How to disable the pop-up window of assisted reading?  It is so boring, and this terrible program aid is non-existent.  If I find a different program I won't use it.

    Not easy to use at all.

    Hello

    Please, try the following:

    Open Acrobat/Reader

    Go in Edition > Preferences

    Under categories, click Accessibility

    Other Accessibility Options pane

    Uncheck the option Enable assistive technology support

    Thank you

    Abhishek

  • Action button and actionlistener doesn't work is not inside the pop-up window!

    Hello

    I have a popup launched at the click of the button say "open popup.

    Inside the pop-up window, even, I have a button, when click on which the popup is closing its not trigger and any action or actionlisteners!

    all that exist on the same page.

    How to go to this topic

    Thank you

    This is controlled by the autoCancel = "disabled" property of the pop-up window. The default setting is enabled which closes the popup.

    Timo

  • Strange behaviour of the context menu in the pop-up window to disable the option

    Hello

    I have the table with the context menu of the pop-up window

    < f: facet name = "contextMenu" >
    < af:popup binding = "#{backingBeanScope.backing_jsf_fragments_postoffice_ContentMovementsView.p1}" id = "p1" contentDelivery = "immediate" > "
    < af:menu text = "menu 2" binding = "#{backingBeanScope.backing_jsf_fragments_postoffice_ContentMovementsView.m2}" id = "m2" > "
    < af:commandMenuItem text = "#{web_Bundle ['label.toolbar.menu.item.record.edit']}" "
    Binding = "#{backingBeanScope.backing_jsf_fragments_postoffice_ContentMovementsView.cmi3}" id = 'cmi3' "
    actionListener = "#{backingBeanScope.backing_jsf_fragments_postoffice_ContentMovementsView.showEditBookRecordPopupActionListener} '"
    Disabled = ' #{bindings. " RecordStateName.inputValue == 'ARRANGED'} "/ >"

    disabled the option works strange. When I right click on the folder with RecordStateName.inputValue = 'ARRANGED' menuItem is enabled. By selecting this menuItem enabled, nothing happens but menuItem is disabled. Disabled menuItem never going back active even I right click RecordStateName.inputValue "ARRANGED" <>and click on disabled menuItem does nothing.

    Help me how do to turn menuItem in context menu of the pop-up window.

    I use JD Studio Edition Version 11.1.1.5.0 on Weblogic 11.1.1.5

    Thanks in advance

    Hello

    You must use contentDelivery = "lazyUncached" to the context menu for re-read its content.

    Frank

  • Need to insert text next to the image in the pop-up window.

    Hello. I picked up a wall to free image here:

    http://tympanus.NET/Codrops/2011/08/30/automatic-image-montage/

    It works fine, but now I play with her.

    I managed to get the images, or at least the first one to open in a popup, great. Problem is I want to be able to have the text next to the image in the pop-up window. < Title > I tried to see if I could do it with a ToolTip, which could have trouble, but did not work anyway. I do not see where to put the text and how? < h1 > doesn't work either, it flashed up before the opening of the imagewall.

    Here's the code for popup:

    <!-- starts here--><script type="text/javascript">

                function newPopup2(url) {

            popupWindow = window.open(

            url,'popUpWindow','height=700,width=800,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=no,menubar=no,location=no,directories=no,status=yes')

            }

            //]]>

            </script><a href=

                    "JavaScript:newPopup2('images/1.jpg');"><img src="images/1.jpg"></img></a>

    I think I should use a legend, but God knows how. I think I could do a second image with the text included next to him like a popup, but that's a dress rental store and that would imply photoshopping the second image, whenever a change has been made. I want text editable in a text editor.

    I also want to add a link from the context menu.

    Long live the people

    The problem is that you open a .jpg image in the context menu.

    All that works... all you get is an image.

    A better way to make the popup is to create a page HTML Web new, small containing your image as any text or other content that you are interested in. Because it's just a standard HTML page, you can style the text and presentation page (including links) with CSS, just as you would any other Web page.

    then you href should look like this:

    For working example:

    http://www.worldbarefootcenter.com/

    Highlight at the bottom of page and see several popups, each being a small HTML Web page just displayed in a pop up window instead of a new tab view source if you want more information. I use a slightly different method to open the context menu, but the idea is, use an HTML page rather than just an image.

    Best wishes

    Adninjastrator

  • Save the form before you open the pop-up window

    Can someone share with me the best way to save a form before clicking on a button that opens a popup window? I have a button on a form that opens a pop-up window with a form. Once a user enters data into the context menu, the information is saved, the popup closes and the parent page is reloaded to display the newly added area of report data. B/c that each parent page refresh, any changes the user made before clicking on the button to open the pop-up window is erased once the pages are reloaded.

    I currently have a button with a redirect to URL in option ("javascript:openPopup(&FACID.)"). The first function opens a new window (for a fraction of a second), and then a doSubmit ('SAVE') to save the parent page, and then put the focus on the pop up window. This works, but there are a lot of flicker of the page I want to avoid.

    Is there a "smoother" way to perform these steps? I understand that the parent page should be provided so that the data is saved, but it doesn't have a difference if I call the doSubmit('SAVE') before opening the pop-up window (in the function openPopup)... I always get the same results.

    I have it working now, but I was wondering if anyone knew a better way to do this.
    Thank you
    Tammy

    Hello

    OK - code 'opener.location.href... '. ' may be replaced by 'opener.doSubmit ('SAVE'); "because that should trigger the normal submit on the home page.

    Andy

  • How to activate the pop-up windows?

    I can't fill a demand for services with ASCAP because I've not enabled popups. So, how to activate the pop-up windows?

    You can uncheck the block pop-up windows under the Orange Firefox button > Options > Options > content tab.

    See more details here

Maybe you are looking for