Showing af:popup from bean - the new way?

I've been using this approach in my bean, to show a popup:
My bean:
+try {+
FacesContext context = FacesContext.getCurrentInstance();
+if (popupId != null) {+
StringBuilder script = new StringBuilder();
script.append("var popup = AdfPage.PAGE.findComponent('").append(popupId).append("'); ");
+script.append("if (!popup.isPopupVisible()) { ").append("popup.show();}");+
+ExtendedRenderKitService erks =+
+Service.getService(context.getRenderKit(),+
+ExtendedRenderKitService.class);+
+erks.addScript(context, script.toString());+
+}+
However; I've read that in ADF 11g it should be possible to just access the binded element. Like this +myPopup.show+
If I use the later approach, my popup collapses to a little square in the upper left corner. If I use the javascript approach everything works fine.
*My jspx:*
+<af:popup id="found_none_popup" contentDelivery="lazyUncached"+
+binding="#{backingBeanScope.backing_view1.popup1}">+
+<af:dialog title="none" contentHeight="200" contentWidth="200"+
+id="dialog2"+
+binding="#{backingBeanScope.backing_view1.dialog1}"+
+type="none">+
+<f:facet name="buttonBar">+
+<af:group binding="#{backingBeanScope.backing_view1.g1}" id="g1">+
+<af:panelGroupLayout binding="#{backingBeanScope.backing_view1.pgl1}"+
+id="pgl1">+
+<af:commandButton text="Annuller"+
+binding="#{backingBeanScope.backing_view1.cb3}"+
+id="cb3"/>+
+<af:commandButton text="Opret Ny"+
+binding="#{backingBeanScope.backing_view1.cb1}"+
+id="cb1"/>+
+</af:panelGroupLayout>+
+</af:group>+
+</f:facet>+
+<af:panelGroupLayout binding="#{backingBeanScope.backing_view1.pgl2}"+
+id="pgl2" layout="vertical">+
+<af:outputText value="MXXXXXXXXXXUPS" id="ot5"/>+
+<af:spacer width="10" height="10"+
+binding="#{backingBeanScope.backing_view1.s1}"+
+id="s1"/>+
+<af:outputText value="HelleYYYYYYYYYY fundet."+
+id="ot6"/>+
+</af:panelGroupLayout>+
+</af:dialog>+
+</af:popup>+
Any suggestions will be highly appreciated.

Hi,
Are you trying in this way...?
        RichPopup.PopupHints hints = new RichPopup.PopupHints();
        hints.add(RichPopup.PopupHints.HintTypes.HINT_ALIGN_ID, source)
            .add(RichPopup.PopupHints.HintTypes.HINT_LAUNCH_ID, source)
            .add(RichPopup.PopupHints.HintTypes.HINT_ALIGN,
                 RichPopup.PopupHints.AlignTypes.ALIGN_END_AFTER);
        popup1.show(hints);
AdfFacesContext.getCurrentInstance().addPartialTarget(popup1);Regards,

Similar Messages

  • The new way to Log In to BT Mail

    Don't get me wrong - I may moan a bit but I am a BT fan and have been with them since before clay tablets were all the rage in the communications industry.  But why do they do such silly things?   For example I like the new way to sign in to my BT Yahoo email  from the BT.com Web site BUT when I have finished reading and sending my email, I elect to sign out I am then taken to a https://login.yahoo.com/ page instead of being returned to BT.com which I have now set as my home page. Of course, I may be doing something wrong - and any advice would be welcome.   
    << Cave quid dicis, quando, et cui. >>

    Yes and just another attempt to move frustrated BT customers to Yahho,s email site. They do have a duplicate for all BT Yahoo users. But you cant make changes there to accounts etc. I was asked by an Italian technical manager for a job as he thought I owned a large company along with another email wanting to supply weapons to me from a US registrated company in the defence trade as he thought I owned a UK protection company. Many more so I think Yahoo is making "good" commercial sense in using my account for others[special numbered account you cant delete] All very interesting  but I already know how the World runs and dont need them. I am sure the word weapons will have an effect. 

  • When I open iPhoto 9.2.1 it says that my library needs to be upgraded but when I upgrade the library I am trying to open (33 GB worth of pictures from 2006) the new application says it cannot read the files and how to find them on the system to reimport?!

    When I open iPhoto 9.2.1 it says that my library needs to be upgraded but when I upgrade the library I am trying to open (33 GB worth of pictures from 2006) the new application says it cannot read the files and how to find them on the system to reimport?! and then I'd like to erase the original files since the space requirement is huge!!!! Why is upgrading software iPhoto such a pain. I've gotta get a presentation done and all I get for my money is roadblock!!!

    hello, it sounds like the library is damaged.
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 

  • In the first itunes i had the option show dubbel parts but whit the newer one i cant find that option annymore, where is it?

    in the first itunes i had the option show dubbel parts but whit the newer one i cant find that option annymore, where is it?

    palkia wrote:
    in last 4 days, i been using the new ip4 to take important photos and creating new contact.my new ip4 never snyc to itunes
    There's your problem right there... ^
    Whatever you did prior to plugging it in and answering yes to start the restore is gone forever.

  • When trying to install new App. The Apple ID shows my old one not the new ID which is verified. Please advise

    When trying to install new App. The Apple ID shows my old one not the new ID which is verified. Please advise

    Go to Setings>iTunes and App stores and make sure you are signed into your account

  • My iPad does not show me iTunes Radio with the new iOS 7 update

    My iPad does not show me iTunes Radio with the new iOS 7 update

    Hi, Abhishek642. 
    Thank you for visiting Apple Support Communities.
    If you are a U.S. customer try forcing all applications to close and power cycle the device.
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    If the issue persists, try signing our of the iTunes & App Store on the device and signing back in.
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/HT1311
    For more information on iTunes Radio and it's availability, see the article below.
    About iTunes Radio
    http://support.apple.com/kb/HT5848
    Cheers,
    Jason H.

  • I am running OSX 10.5.8 and it won't show my sd cards for the new Nikon D7000 on the desktop.  It will recognize them in iPhoto any ideas.

    I am running OSX 10.5.8 and it won't show my sd cards for the new Nikon D7000 on the desktop.  It will recognize them in iPhoto any ideas.

    Go to: Finder Preferences and under the General tap make sure that the box for External disks is checked.

  • How to show one list  from bean two times

    Hi All,
    I am using jdeveloper version 11.1.1.6.0.
    I have a scenario where I want to bind list attribute from the my bean to two different talbes or iterators.
    I want to show this list twice on the page.
    If I keep both the tables then it shows only one of it.
    <af:table value="#{myAccShoppingCartBean.favAccountList}"
                                        columnResizing="disabled"
                                        disableColumnReordering="true"
                                        styleClass="carttbl" var="row"
                                        rows="#{bindings.favAccountList1.rangeSize}"
                                        emptyText="#{bindings.favAccountList1.viewable ? 'No data to display.' : 'Access Denied.'}"
                                        fetchSize="#{bindings.favAccountList1.rangeSize}"
                                        width="877" horizontalGridVisible="false"
                                        verticalGridVisible="false"
                                        rowBandingInterval="0" id="tblCart"
                                        binding="#{myAccShoppingCartBean.tblCartItems}"
                                        inlineStyle="border:1px solid #000000;overflow:hidden !important;">
                                <af:column sortProperty="productSizeId"
                                           sortable="false" visible="false"
                                           id="c239">
                                  <af:outputText value="#{row.productSizeId}"
                                                 id="ot2asdf"/>
                                </af:column>
    </af:table>
    <af:table value="#{myAccShoppingCartBean.favAccountList}"
                                        columnResizing="disabled"
                                        disableColumnReordering="true"
                                        styleClass="carttbl" var="row"
                                        rows="#{bindings.favAccountList1.rangeSize}"
                                        emptyText="#{bindings.favAccountList1.viewable ? 'No data to display.' : 'Access Denied.'}"
                                        fetchSize="#{bindings.favAccountList1.rangeSize}"
                                        width="877" horizontalGridVisible="false"
                                        verticalGridVisible="false"
                                        rowBandingInterval="0" id="tblCart"                                 
                                        inlineStyle="border:1px solid #000000;overflow:hidden !important;">
                                <af:column sortProperty="productSizeId"
                                           sortable="false" visible="false"
                                           id="c239">
                                  <af:outputText value="#{row.productSizeId}"
                                                 id="ot2asdf"/>
                                </af:column>
    </af:table>How to show this list two times.
    any help is apprciated

    Hi ,
    Can I replace above posts table with iterator
    Can I set value attribute for different iterators same from the bean.
    like
    <af:iterator value="#{myAccShoppingCartBean.favAccountList}" id="i1">second one like
    <af:iterator value="#{myAccShoppingCartBean.favAccountList}" id="i2">How to solve this?
    Is there any way to set same value to the different Iterators on the same page

  • I HAVE BEEN TRANSFERRING MY ITUNES/IPOD TO A NEW COMPUTER WHICH HAS ALL WORKED EXCEPT MY OLD LIBRARY, PLAYLISTS ETC SHOW UNDER MY IPOD ON THE NEW COMPUTER BUT NOTHING IS IN THE NEW LIBRARY - HOW DO I GET IT THERE?

    How do you get everything off the ipod into Library on new laptop & free up the space that was used when transferring (using ipod as hard drive to move over to new computer)? Also when try to sync music a box pops up saying are you sure as everything on the ipod will be removed & replaced with the items in the library but at the moment there's nothing in the library so don't want to lose everything?!  Thanks for your help

    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    Note if you have iOS devices and haven't moved your contacts and calendar items across then you should create one dummy entry of each in your new profile and iTunes should  merge the existing data from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
    tt2

  • How do I reduce the number of emails to show on my iPhone with the new update?

    How do I reduce the number of email messages that populate on my iPhone with the new operating system?

    You read unread messages to reduce the notifcation number.
    You delete messages to reduce the number showing as available.

  • Firefox 6.+ the navigation toolbar url almost always says "go to website" instead of the site that is showing. can i get back the old way or is it an add-on...???

    my navigation bar url area almost always shows "go to this website" instead of the page i am on. can i get the old way back...???

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Another possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • How come the song and album does not show up on top of the new iTunes?

    I just downloaded the new iTunes and when I go to play a song, the title and album does not show up on the top of the screen.  The only thing that is there is the Apple logo.  Does anyone know why this is? and how can I get it to show the song title and album.
    The song is playing right now, but it is not showing up where it used to.  (Where the Apple logo is)

    See also:
    *https://support.mozilla.com/kb/Removing+the+Search+Helper+Extension+and+Bing+Bar
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    *http://kb.mozillazine.org/Resetting_preferences

  • 1 more time: I installed Samsung 840EVO SSD and tried to clone the OEM drive to it. Disk Utility shows all files landed in the new SSD thru the USB to SATA converter cable yet my Mac won't boot. Why's that?

    The question is why won't my Mac boot with the new  840EVO SSD that I thought I'd successfully cloned all contents from the OEM hard drive by using a USB to SATA converter cable. Disk Utility seemed to indicate the SSD had captured everything from the OEM drive. Note the OEM had 2 partitions to run Parallels Windows XP

    XP is not supported externally or if you install Mavericks, and Microsoft is trying their hardest t o get people off that old tin can, rightly so.
    Usually Carbon Copy Cloner will. Usally. DU is not really meant to and you had 4 partitions before.
    This forum is not for MacBook Pro btw.
    Cloning with DU or CCC may do a perfect job but not be bootable if t he interface or case is not.
    The EVO is capable of 500MB/sec so even your mid-2010 MBP is not going to get the top performance but should be better once you swap it out than what you were using.

  • BI BEANS - the only way?

    I have one more question to You. In my company, is considered an idea to build own web reporting tool. In our project We use Oracle 9 and BEA Weblogic 8.1 application server. Are there any Java components beside BI BEANS,
    that supports building such kind of application ? Does someone use something else ? Are the BI Beans the best?
    Piotr,

    If you use AWM to create your cube, you could easily use BI beans. Also BI beans features are best utilized with OLAP. (However I think I we could use BI beans against non-OLAP as well )
    Is it the best.. I guess it'll depend on what your requirements are. Check the main bi beans web site to get an overview of the features - http://www.oracle.com/technology/products/bib/index.html
    However before you proceed... you may want to talk to your company's person who handles Oracle acct. regarding Bi beans. There's a thread that discusses the future of BI beans, but no one from oracle has answered it yet.
    Is Oracle dropping BI Beans?

  • HT5648 OS10.6.8 Firefox 24.0  The new Yahoo mail shows no graphics.  However, the new Yahoo mail displays correctly in Safari and Chrome.  I believe this has to to with the settings for Javascript.  Help me, please.

    OS10.6.8, Firefox 24.0 
    The new Yahoo mail shows no graphics using Firefox 24.0 - just identical rectangles where new icons should be.\.  However, the new Yahoo mail displays correctly in Safari and Chrome.  I believe this has to to with the settings for Javascript.  Those settings aren.t easy to access in the most recent Firefox 24.0 version.   Help me, please.

    The settings for Javascript are either on or off, Fireefox 24 doesn't give you a option to turn off Javascript, unless you installed something like NoScript extension (or some other Javascipt blocking add-on)
    If NoScript, then you need to use the View > Toolbars > Customize and drag the NoScript "Temp Allow All" button to the toolbar area to enable all enabled scripts (including Javascript) on that web page.
    Under the Firefox Help menu is a option to restart with add-ons disabled to see if something you might have installed is causing your problem.
    Reinstall Firefox or create another user account and run Firefox there to try to localize your issue.
    I'm having no problem here on 10.6.8 in Firefox, Chrome or Safari, Yahoo Mail works perfectly.

Maybe you are looking for

  • Can't re-install Lightroom from CC

    Following deleting due to not working properly. CC says it's there and up to date Help please

  • Flash Player 10.1 refuses to install

    I am using Mozilla Firefox 3.6.1 on Windows Vista, and Flash 10.1 will not install. I downloaded the installer, but after I click the Agree to terms button, it says that it cannot install due to the following conflicting applications: Mozilla Firefox

  • Icloud control panel server error in widows vista

    Had to uninstall all icloud, itunes, apple update, etc in order to clear a "file not found" message at windows boot/restart. That worked fine, but now after reinstalling icloud control panel for windows vista, I can't sign in to configure. Getting "Y

  • Filter page items by property in Javascript

    What is the Javascript equivalent to this AppleScript? set xxx to every page item whose note = "John" After looking at some of the tutorials, I pieced this together. Is there a better way of doing this? With 30,000 path items it took over a minute to

  • Native format and MPEG-4 project

    The recent topic called "native format" was flagged as answered so I thought I'd better start a new thread but it really follows on from it... If I choose MPEG-4 format when I open up a new project does iMovie actually convert MPEG-4 into DV? That se