af:message sometimes does not show error message

Have a page that has a popup to show some information.
In page, used this to show error message that occured during save.
          <af:messages globalOnly="true" inline="true"  inlineStyle="padding:10px;" id="m4"/>
In popup, used this to show error messages that occurred while performing some action.
          <af:messages globalOnly="true" inline="true" id="m2"/>
Whenever any error occurs while performing some action in page, error message is shown.
Then open the popup
Whenever any error occurs while performing some action in popup, error message is shown properly in popup
But after closing popup, not able to show any error message in page. In bean error message is added to FacesContext, but not shown in UI.
What would be the problem here?
JDev version: 11.1.1.6.0
Thanks,
Bhaskar Pola

Thanks Vinay for the link. However still facing the issue.
This method will be invoked from page.
    public void onDelete(ActionEvent actionEvent) {
        RowKeySet rksSelectedRows = table.getSelectedRowKeys();
        int count = rksSelectedRows.getSize();
        if(count == 0){
            FacesContext facesContext = FacesContext.getCurrentInstance();
            facesContext.addMessage(null,
                                    new FacesMessage(FacesMessage.SEVERITY_ERROR,"Atleast one row should be selected.",null));
            facesContext.renderResponse();
        } else {
           ADFUtils.showPopup(deletePopup);
This method will be invoked from popup withing same page.
    public void multipleSelListner(ActionEvent actionEvent) {
        List<String> list = (ArrayList<String>)ADFUtils.getPageFlowValue("selList");
        try {
            if(list != null && list.size() > 0){
                if(list.size() > 25){
                    error = true;
                    FacesContext facesContext = FacesContext.getCurrentInstance();
                    facesContext.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR,
                                            "Maximum 25 items can be selected.", null));
      facesContext.renderResponse();                                           
                    return;
        } catch (SQLException e) {
            System.err.println(e.getMessage());
            e.printStackTrace();
I have removed some extra code...
Looks like problem is with 2 af:message tags. When popup shown with error message second af:message within popup gets preference. Subsequent messages are pointed to that one.
May be related to unloading popup content from document. Not sure though.
Thanks,
Bhaskar

Similar Messages

  • Dmstool sometimes does not show all metrics

    Platform: HP-UX B.11.11 U 9000/800
    9iAS: 9.0.3.1
    Sometimes dmstool does not show all metrics. there are different output generated by dmstool in different time. Who can explain why this occurs?
    $ dmstool -t JVM
    FLEXMON ERROR: Unknown type: JVM
    prod1*J2SA02-/u02/app/oracle/product
    $ dmstool -l -t
    Host
    Process
    dms_cProcessInfo
    modplsql
    modplsql_Cache
    modplsql_DatabaseConnectionPool
    modplsql_HTTPResponseCodes
    modplsql_LastNSQLError
    modplsql_SQLErrorGroup
    ohs_child
    ohs_module
    ohs_responses
    ohs_server
    ohs_virtualHost
    opmn_oc4j_proc
    opmn_ohs_proc
    opmn_process
    # but after 5 min:
    $ dmstool -l -t
    Host
    JDBC_Connection
    JDBC_Driver
    JDBC_Statement
    JVM
    Process
    dms_cProcessInfo
    modplsql
    modplsql_Cache
    modplsql_DatabaseConnectionPool
    modplsql_HTTPResponseCodes
    modplsql_LastNSQLError
    modplsql_SQLErrorGroup
    oc4j_context
    oc4j_ear
    oc4j_jsp(threadsafe=true)
    oc4j_jspExec
    oc4j_opmn
    oc4j_servlet
    oc4j_task
    oc4j_web_module
    ohs_child
    ohs_module
    ohs_responses
    ohs_server
    ohs_virtualHost
    opmn_oc4j_proc
    opmn_ohs_proc
    opmn_process

    DMStool displays the DMS metrics of the system dynamically. DMS will not have the DMS metrics for the component, if the component is NOT up and running. In your first case, there was no OC4J JVM up and running. Therefore, there was no metric related to OC4J including JVM. To verify this, you could issue the following command:
    dmstool -t opmn_process
    dmstool would list DMS metrics of the processes started by OPMN. You would see there is no JVM process started.
    In your second case, OC4J finally started. So you saw the metrics for OC4J JVMs.
    DMS obtains process information from OPMN. It takes some time for OC4Js to start up and register themselves with OPMN. This is why you noticed the delay.
    Hope this help.
    Zhunquin Wang

  • I tried to rename a file, it gave me an error message (can't remember the number - 43??) and then the file disappeared from the original folder. When I do a search, the file comes up under the new name, but it does not show a path, and even though preview

    I tried to rename a file, it gave me an error message (can't remember the number - 43??) and then the file disappeared from the original folder. When I do a search, the file comes up under the new name, but it does not show a path, and even though preview shows the contents, I can't open the document (Powerpoint) and I can't move the document. I tried "Copy" and paste but it doesn't work. I tried "Share" with Airdrop and iChat, but the file is inaccessible. When i try to rename the file, it says the filename is too long.
    When I try to open it, it says the alias is not good, and asks if I want to fix the alias. I'm afraid to do that and lose all access to this document.
    Right now, it feels like a ghost document - it is on the computer intact, but it is in an undisclosed location and inaccessible.
    Please help!!

    I was able to resolve this by repairing permissions, even though no permissions error was listed specifically for that file.
    I could also have recovered it through Time Machine, but I'm interested in knowing how not to have this happen again!
    I was afraid of rebooting and possibly losing track even of the ghost.
    I did not try EasyFind - I'll keep that in mind next time.
    Thanks for all the comments.

  • Change Password does not show Correct Error Message

    Hi,
    I am using a password policy which says that Characters not allowed are @&()|\";'<>+=/?. :}{][
    When the user try tochange the password and try to put any of the above character,
    then OIM Web console shows an Password Policy error, which is correct.
    The Problem comes in when the Webconsole does not show the full range of the unsupported characters,it only shows the below error
    Password Policy Error
    The following password policy rules are not met:
    Invalid Chars=/?. :}{][
    Ideally it should have shown the full set of unsupported characters, which led the user to do the mistake again by selecting same old special charcter.
    Although,the logs at the back end, shows full set of characters.
    My Question ,is how could this be fixed,what customization has to be done if any ,for reflecting this change on WebConsole page.
    Cheers
    Ak

    Hi,
    I resolved the issue by changing the Characters not allowed to =@&()|\";'+/?. :}{][
    instead of @&()|\";'+=/?. :}{][
    What i figured out is all the charcters after = are only getting printed at the Web Console, so i reshuffle the charcters and put = in the beginning.
    And it is working fine.....
    Strange huh.....:)
    Cheers
    Ak

  • Package does not exist error-message

    When I try to compile a java servlet with the following piece of code I get a compilation error referring to the import statement.
    I have just included the initial import statements. A large number of errors follow, as a result of this 'package does not exist error-message'.
    Has anyone encountered this or any ideas?
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.* ;
    import java.io.* ;
    import java.sql.* ;
    import com.ericsson.snf.mps.mppapi.mtlr.*;
    The error messages come from the 'import com.ericsson.snf.........' statement.
    I am trying to integrate ericsson software, into my application.
    Thanks,
    java-mobile-user

    That's probably because you are trying to integrate j2me suff with j2se/ee. That won't work without los of extra work..

  • Does anybody know why my ipod touch 3rd generations screen does not show anything? The screen is all black, when I try to synchronise my ipod to my library it comes up with a message saying "iTunes could not back up the ipod because a session could not be

    Does anybody know why my ipod touch 3rd generations screen does not show anything? The screen is all black constantly. When I try to synchronise my ipod with my iTunes library it comes up with a message saying " iTunes could not back up the ipod because a session could not be started with the ipod. Please help and reply if you know an answer!!!

    Try this previous discusssion:
    https://discussions.apple.com/message/12518406#12518406

  • A friend of mine sent me a voice memo via text message, it shows and plays in my iPhone as a quicktime voice clip:  So how do i import the clip to my iMac?????? When I sync my iPhone it does not show as a voice memo, I tried emailing it but the email come

    A friend of mine sent me a voice memo via text message, it shows and plays in my iPhone as a quicktime voice clip:  So how do i import the clip to my iMac?????? When I sync my iPhone it does not show as a voice memo, I tried emailing it but the email comes through empty. Please help.

    Copy that voice memo, create a new email and paste it and send it to yourself! You can save it to your computer now and send it to someone else

  • APEX does not show 'Process Success Message'

    Hi,
    I was hoping to get help on a weird APEX issue.
    I have two identical APEX pages with the same templates. One of the page does not show the process success message after it inserts to the database. It does insert, just the message does not show up.
    I looked at the page that works and it is identical to this page. Does anyone have any good advice? I would really appreciate it.
    Thanks!

    When I see this, it usually turns out that I forgot to tick the check box for "include process success message" on a "Branch" object.

  • 6280 does not show timestaps in message screen

    I've recently bought 6280. I've found that it does not show date and time when sms was sent/recived. When I view any message, it shows only the sender name/number, after it there is a little free space and next there is message body. I don't know how I can change it.
    Moreover, Nokia PC suite correctly shows every timestamp.
    Thanks for any advices.
    Regards
    Stanley

    when you have the message open press options then go down till you see message details
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • Is it free to send messages in iMessage to another county? if yes why it does not show that these messages from iMessage?

    Is it free to send messages in iMessage to another county? if yes why it does not show that these messages from iMessage?

    if you receive an imessage not on any internet connection you will receive it as a sms (green) and yes it counts toward your texting plan

  • Compressor does not show success message

    Compressor finishes job but not give message. Message is 0:00:00 remaining.
    Does not give success message even though the job is finished.
    Compressor 4.0.7 on iMac 21,5, Core i5 2.5, 4GB RA,  OS X 10.8.3 (12D78) - Mountain Lion
    Not long ago it worked normally.
    Now, finishes rendering, however, does not show the message finished

    I know what you mean. When it has happened to me, I have been able to get it to complete by hitting cancel. Then in the file info field of the job pane, adding a numeral to the name. Then re-submitting. The encoding progress bar would quickly go to the end and complete,
    Russ

  • HT1937 i have a white iphone 4 that says it was approved but restoring from itunes does not show (congrats unlocked message)

    i have a white iphone 4 that says it was approved but restoring from itunes does not show (congrats unlocked message)
    hel

    MaDCrackeR wrote:
    Email from AT&amp;T says the IMEI number was approved for unlocking
    ..........4S that worked fine and it shows the message "congrats unlocked" in itunes
    When restored. But the 4 does not. AT&amp;T insists its unlocked but they are only going off
    Of the request and IMEI number. Is there a way from the phone i can verify it was unlocked?
    If AT&T e-mail says it is unlocked, then believe it is so. Insert non-AT&T SIM inside and after backing up restore in iTunes again. Unlock gets attached.
    You can check the status of the unlock request on AT&T web-site.

  • HT3529 Messages does not show Add Contact

    Using iPhone 4S with iOS8. When I touch Details in a message, it does not show the Add Contact, and does not allow to change the name of a group.
    Is this down to it being on the 4S?

    HI,
    iChat and Messages can Display the pics that are in the Contacts/Address book list.
    If you have  Chat window is open in iChat  then the View Menu Show Buddy Pics is the first port of call.
    For Messages and iChat the next is the View Menu > Messages > Show Buddy Pics and Names.
    The Show Pics and Names items also works for Buddy list in either app.
    For AIM Buddies this will tend to be the On Line broadcast pic of the moment.
    It can the pic in the Card in the Contacts List (Or Address Book)
    In the case of your Own Pic this in fact can have been called from System Preferences > User and Groups (formerly Accounts) .
    All of them can be changed individually, so for yourself in the Mac Account pic, the Contacts > My Card and Messages Buddy Pic can have different pics set to them.
    I don't have a Facebook Account so I can't say if the Contact's pulling of Pics is what is causing them not to show in Messages.
    I suspect the general option to display them is not On.
    4:36 PM      Friday; November 2, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • When someone messages me their contact name does not show up as how i saved them!!! does this mean someone has access to my phone?

    When I get a message from my friend, her contact name does not show up the way I saved her and I am wondering if someone has hacked my phone or something

    That is what I am trying to work through. I understand you are seeing it in Notifications, that was what I was trying to confirm. When you open the message, what is displaying on the phone, Juan? Is Notification the only place that you are seeing this name differently? And yes, if you have the name saved as John, it should display as John. How are you backing up/syncing your contacts? Are you using a supported application on the computer, or are you using a cloud service, such as iCloud? If you go into your contacts and look in the upper left corner of the application, does it list more than one source for your contacts? Do you have more than one person with the same phone number listed in contacts, similar to having two people that work at the same place? Is the Notification only displaying a first name and no last name? Do you have first names only in your contacts?

  • Hello am using ios 7.0.4 I have a question about messages that it does not show the time of a particular message after first message that I recive form a paricular person so please in the next version change this and with every message show time and date

    hello am using ios 7.0.4 I have a question about messages that it does not show the time of a particular message after first message that I recive form a paricular person so please in the next version change this and with every message show time and date

    Hi,
    How is everything going? Have you checked this issue from OWA? If so, please let me know the result.
    In adition, please also try to use the following powershell commands to check if the assistant has right permissions:
    Get-MailboxFolderPermission -Identity
    CEO’s email address:\Calendar -User assistant’s email address
    Also check with:
    Get-Mailbox -Identity CEO’s mailbox
    | fl *GrantSendOnBehalfTo
    Please let me know the result.
    Best Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

Maybe you are looking for

  • Query Based Problem

    HI Experts, I have Generated One Query based Report for Invoice Details I have Generated that report in Last Years Posting Period now Posting Period Has Been Changed Now if i will execute that report it will show correct data but while i will drill i

  • Art brush question

    When I use an art brush on a rectangle the corners all have a flat, angled outside edge. It doesn't matter what art brush I use, it happens with all of them. I've tried changing the miter type but that doesn't do anything with art brushes. Is there a

  • Illustrator CS6 - hidden tools do not appear

    Normally a double-click on certain tools in the tool palette will reveal other tools hidden within it. For example, the direct selection tool (white arrow), when double-clicked will reveal the group selection tool. Double clicking has suddenly failed

  • Opening files from java application by other programs

    Hi! Could you tell me how to solve such task. After saving of file on local drive by applet i need to show a link "View file" that will open file by assotiated programs (.doc - MSWord, .pdf - Acrobat Reader etc. applet will work on Linux platform too

  • Skype won't let me chat with my friend

    Last night I was chatting with my friend with my iPad mini while multitasking. Then I get a message from and tapped the notification. But then soon after I get kicked out. At first I thought nothing of it and went back to Skype and tapped the chat. T