How to avoid af:dialog from being showed when af:table is empty?

Hi,
Is there any way to disable af:dialog if table has no records? And re-enable when new records added..?
And also additional question about af:dialog, How can I close the dialog after my custom button is pressed?
Thanks

Hi,
Add partial Refresh to the button by setting partialTriggers property to table id. If it was already added and if you are using Jdev 11g, use visible property instead of rendered property.
Sireesha

Similar Messages

  • How can I stop text from being show when I print it?

    You can see the webpage I am working on here: http://www.peterforkes.com/Resume.html
    I created a staylesheet called "print.css" and added the following lines to my Resume.html file:
    <link href="_css/Resume.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="_css/Print.css" rel="stylesheet" type="text/css" media="print" />
    In my Resume.html file I have a link that will print a PDF of my resumé.  However, if you print the resumé then I do not want the link to print the resumé to be shown.
    In the print.css I created the following class:
    .doNotPrint {
    color: #FFF;
    I applied the class to the 'offending' text, thus:
    <p class="doNotPrint"><a href="PDFs/Peter A. Forkes - Resume.pdf">Resume.pdf</a></p>
    however, it does not seem to have any effect.  I am assuming (since the background is white) that changing the text color to white should make it invisible.
    If you can suggest either how to make my method work (or suggest a better method) that that should mean that I have finished everything I want to do with my webpage.
    Thanks,
    Peter

    I am assuming (since the background is white) that changing the text color to white should make it invisible.
    The problem with the CSS is that you've targeted the <p> tag with the rule, not the <a> tag so it has no effect. Normal text in that paragraph will print in white but links will display in #333 because of your rule on a:link and a:visited
    Nevertheless, I would avoid those tricks in case you incur the displeasure of the search engines. They're widely used by spammers and are punished accordingly (even though I know we're talking about a print stylesheet and your intentions are honourable :-).
    In your print stylesheet, change
    .doNotPrint {
    color: #FFF;
    to
    .doNotPrint {
    display:none;

  • How to stop the Dialog from being dragged

    I was hoping that someone could tell me when calling a Dialog from Jframe, a how to stop the Dialog from being dragged
    while a dialog is showing.
    When it is visible I can still click and drag the Dialog
    I want to set it so you can not drag it until the dialog has be closed.

    If you don't have access to the parent frame, a "hack" that usually works:
    Frame frame = Frame.getFrames()[0];
    if (null != frame && frame instanceof JFrame){
    JFrame jf = (JFrame)frame;
    JDialog jd = new JDialog(jf, "title");
    ... code here ...
    As each JFrame (or Frame) is opened, its stored in the array of Frames that you can get. Same thing with Dialog.getDialogs(). Almost always, at least so far for me I've never had this problem, the [0] index is the main window opened, or the parent/top frame. I'd put the check in there to be safe and make sure its a JFrame and usually you'll only have the one JFrame.

  • How do I keep McAfee from being downloaded when I update Acrobat?

    How do I keep McAfee from being downloaded when I update Acrobat?  I'm being spamed by Acrobat!

    If you are talking about this proble, the answer is in the thread:
    http://forums.adobe.com/thread/1065811?tstart=120

  • Query: how to avoid multiple POs  from being combined into  delivery

    Hi all,
    We are working on an enhancement.
    The requirement is:
    We need to avoid multiple POs from being combined into one delivery.
    Any pointers in this regard would be highly appreciated.
    regards
    Gurpreet

    Hi Murali,
    I think your suggestion should solve Gurpreets problem.
    I have a query here.
    In the copy controls VLTA, defines between sales doc to dlivery doc.
    Here we want to maintain copy control between purchasing doc to delivery doc.
    How do we achive this?
    Also in my view we should write a new combination requirement.
    Please check if combination requirement 51 can be used?
    Regards
    Abhishek

  • How to stop music folder from being created when changing media folder

    When I try to change the media folder location, a new "music" folder is created - how do I stop this from happening (I already have a music folder that I want it to default to, but when I try to select it, it creates another music sub folder)
    This is a new issue - I have been using itunes for years without ever having this problem...

    That's how itunes 9 works, now. The top-level folder is considered the "Media" folder and there are music, podcast, movie, audiobook, etc subfolders.
    Which is better in a way, since before itunes 9, everything was dumped in a music folder, even audiobooks that weren't music.
    http://support.apple.com/kb/ht3847

  • How can I prevent songs from being duplicated when adding them to my iPod?

    One feature I really like about iTunes is that if you have a song on a playlist, iTunes will notify you if you are adding a duplicate song to that playlist. I am looking for the same help managing my iPod.
    For example if I have a playlist in iTunes called "AAA" and a corresponding playlist on my iPod called "AAA", my aim is to have the same content on each. If it is a playlist that I update/change on an ongoing basis on my iTunes, my issue is that I have to remember what songs I have updated or deleted off of this playlist in order to avoid duplicated songs when I have my iPod plugged in.
    I would like to just drag this "AAA" playlist from iTunes to my iPod and have just the new songs be added to the "AAA" playlist on my iPod.
    Hopefully there something I'm overlooking and therefore a way to constrict what is added to the iPod. If you know how to do this, please let me know because this would make iPod music management just as great as iTunes management.
    THANKS!

    I turned off "manually manage music and videos" years ago and sync my iPods by syncing "selected playlists". Any playlist changes I make on the Mac are automatically synced to the iPods when connected.
    Watch this video for suggestions: http://www.apple.com/itunes/how-to/#video-sync

  • [Flex 4.5.1] How to prevent Radio Button from being selected when clicked on? No Changing Event?

    I have a very common use case where you have a few radio buttons and only one can be selected at a time. Some of them are basic and on click should be selected right away, but other are more complex and open a pop up which requires some additional user selections after which the user selected OK or CANCEL for example and only after that the selection of the radio button should be applied programatically.
    So to solve this issue I've come up with 2 workarounds:
    1) make the entire group, that holds the radio button, act as a button with buttonMode="true" mouseChildren="false" and programatically change the radio button within it.
    2) hold the current radio button selection in a variable and in the changeHandler of that radio button return the selection back to what was selected before. But this also causes a small flickering of the radio button which gets selected and deselected immediately after that.. not cool.
    So my question is... is there something I am missing that could do the job without these workarounds... like a Changing event which I use for the ButtonBar but I can't find on the RadioButton or RadioButtonGroup... thanks!

    Hi,thanks for the reply. Actually that was my third option, but not sure if it's very good also..
    Here is a simple scenario:
    User must select between 2 radio buttons:
    1) no volume -> sets variable volume=0 and selects the radio button (that is the normal use case)
    2) set volume -> opens up a pop up with a list that has a X button to close and 4 options: 25% volume, 50% volume, 75%, 100%
    At this point the set volume radio button should not be selected and the user has 2 choices:
    -> hit the X button to close - nothing changes and no volume radio button is still selected and volume is still = 0
    -> hit one of the volume % buttons -> the set volume radio button gets selected and the variable volume=25/50/75/100 depending on the button selected by the user.
    That's a pretty common scenario and it's bugging me that I can't easily alter the radio button selection logic since whenever I click it, it gets selected and I can't put a logic in between in a standard way. This should apply to any component with selection, just like ButtonBar has it with the Changing event.
    So is there any other more convenient way to accomplish this scenario that you could recommend?
    Thanks!

  • How to exclude certain playlists from being shuffled?

    I have Video IPOD and would like to know how to exclude certain play lists from being played when the "shuffle song" function is on?
    Appreciate your help.

    Going back to the beginning I think I misinterpretted your original question. I thought you wanted to be able to turn on the Shuffle Songs function of the iPod and when you played any playlist it would shuffle normally but you wanted to have some playlists that would play without shuffling without having to turn off that function.
    Now I think what you wanted to say was you want to shuffle song when playing your library on the iPod but if certain songs exist in your "do not shuffle" playlist, they would be skipped, right?
    If that is the case, you can do it with some Smart playlist manipulation. First create the "Do Not Shuffle" playlist and put everything in there that you do not want to show up when you are shuffle playing your library. Now create a new Smart Playlist where the rules are "Playlist IS NOT [do not shuffle]". Make that the only rule, check live updating and only checked songs. What will happen is that playlist will contain your entire library EXCEPT the ones you don't want shuffle played.
    Now when you listen to your iPod, you can use the Shuffle Songs option turned ON and play that smart playlist which will basically let you hear anything and everything in your library shuffled EXCEPT for those songs you designated to not include.
    Patrick

  • How can I STOP Firefox from being a glutton with my virtual memory?

    How can I STOP Firefox from being a glutton with my virtual memory?

    Yes. But, I see from the THOUSANDS of responses here concerning Firefox memory issues that other people have had no more success than I have at trying to STOP Firefox's memory gluttony. The fact that Firefox runs fine (like the good old days) for a while after re-booting and registry cleaning shows that something is going on beyond the trivial/ineffective suggestions offered in the referenced links.
    Having to re-boot several times a day to get Firefox out of the molasses is such a pain, that it's no wonder people are going back to IE, or like me, reluctantly relying more and more on Google Chrome.

  • How do i delete songs from my iphone when they don't show up in itunes? Swiping across the song on the iphone does not give me a delete button.

    How do i delete songs from my iphone when they don't show up in itunes? Swiping across the song on the iphone does not give me a delete button.

    Hello audreywisc,
    Songs can be removed from your iPhone by tapping 'Songs,' then swiping the song, then tapping Delete.
    Remove a song from iPhone. Tap Songs, swipe the song, then tap Delete. The song is deleted from iPhone, but not from your iTunes library on your Mac or PC, or from iCloud.
    iPhone User Guide - Playlists
    http://help.apple.com/iphone/8/
    Cheers,
    Allen

  • How do i delete songs from my iphone when they don't show up in itunes?

    How do i delete songs from my iphone when they don't show up in itunes?

    Hello audreywisc,
    Songs can be removed from your iPhone by tapping 'Songs,' then swiping the song, then tapping Delete.
    Remove a song from iPhone. Tap Songs, swipe the song, then tap Delete. The song is deleted from iPhone, but not from your iTunes library on your Mac or PC, or from iCloud.
    iPhone User Guide - Playlists
    http://help.apple.com/iphone/8/
    Cheers,
    Allen

  • I receive numerous messages in "Bulk Mail". Where do they come from and how can I prevent them from being received? Thanks

    I receive numerous messages in "Bulk Mail". Where do they come from and how can I prevent them from being received? Thanks

    Once you're on a spammer's list, there's nothing you can do to stop the flood of e-mail messages. You can either control it, using spam filtering (which is what files those messages in the Junk Mail folder), or you can throw out your e-mail address and get a new one.
    It's sad, but spam is simply a fact of life at this point, and there's nothing to be done about it. Legislation has been tried, with zero success, since most spam either comes from countries with no legislation or from personal computers that have been infected with malware and are part of a "botnet."

  • How do I keep emails from being deleted on my iPhone 6? Emails get deleted from phone when I startup desktop computer and they are downloaded from sever. Is POP3 no longer supported on IOS 8.1?

    How do I keep emails from being deleted on my iPhone 6? Emails get deleted from phone when I startup desktop computer and they are downloaded from sever. Is POP3 no longer supported on IOS 8.1?

    Have you seen this?
    Using a POP account with more than one device - Apple Support
    A better solution is if your email provider uses IMAP. IMAP sync email folders between multiple devices. Meaning any device will receive the email, all sent email can be seen on the devices. If you delete email from one device the email is deleted from all the other devices. Check with your email provider to see if they offer IMAP services.
    If they do not your choices are to 1) configure email on the PC to keep Mail on the mail server or 2) change email providers to something like Gmail or Outlook.com (as examples). FWIW I use Cox IMAP email and fully sync email between a Win 8.1 Update 1 laptop, a Win 7 desktop, an iPad 4, an iPhone 4 and an iPhone 5S.

  • How do I stop the iMessage conversation from automatically showing when I go into the I message center? I only want the contacts to show down the left side and nothing on the right until I select a conversation to view.

    HOW DO I STOP THE WHOLE IMESSAGE CONVERSATION FROM AUTOMATICALLY SHOWING WHEN I GO INTO IMESSAGE? I only want the contact bar on the left to show and not the whole conversation, until I pick one to see.

    You can't. You can sign out of messages and turn it off, but you can't do what you would like to do. You can send feedback to Apple.
    https://www.apple.com/feedback/ipad.html

Maybe you are looking for

  • Split-Join, unable to set SOAP:HEADER in OSB at Invoke Service Component.

    Hi Experts,     i created a Split-join for parallel processing and invoke third party services, but this service requires some mandatory elements in soap:header like WS-Addressing and, WSA-TO and some security infomation, but i don't know  how to pas

  • Page Information in which Table

    hi, i need to know, when we create a Page in APEX, in which table information is stored and alos i need to know who created a page and last updated by ,all there information is stored in DB, in which table it is stored?

  • Strange behavior with NI 9401

    Hi everyone! I think I have a strange problem with the NI 9401 modules. My hardware is a CompactRIO and I'm using Labview 8.0. I'm reading a 13 bit encoder with two NI 9401 modules: the first for 8 input channels and the second for the other remainin

  • Output on existing file at the begining??

    Hi, I have a problem about outputing. I want to write some texts at the begining of existing file. eg... file A "Hello then i want to insert some texts at the begining e.g. insert "YOU" then file A will become "YOU HELLO any idea? thank alot

  • Create Dimension in 9i/10g

    Hi all.. Happy New Year 2005. Is there a possibility that I can create dimension using normal view or materialized view. OEM (both 9i and 10g) only provides the table names in the drop down. If I can create how can I? thanks in advance. Saumen