Many h:messages on the page

Hi
I use RichFaces for displaying Meassages (AJAX). So therefore the page has many (2) messages elements. The page should show error messages in "jsfMsgs_AB" and information in the messages "jsfMsgs_XY". That works great with the rerender-attribute in RichFaces. But the Problem is, when both messages or the whole page is rerendering, all messages have the same conent. So I see two times the same messages.
Is there a way to specific, which messages-element should be rendered? For example with the messages-Id?
            <h:messages id="jsfMsgs_AB" showDetail="false" showSummary="true"
                        warnClass="warnStyle"
                        errorClass="errStyle"
                        infoClass="infoStyle"
                        globalOnly="false"
                        layout="table" />
            <h:messages id="jsfMsgs_XY" showDetail="false" showSummary="true"
                        warnClass="warnStyle"
                        errorClass="errStyle"
                        infoClass="infoStyle"
                        globalOnly="false"
                        layout="table" />The messages are generated in the ManagedBean:
FacesContext.getCurrentInstance().addMessage(null,
                new FacesMessage( getSeverity(severity), "Some Error", ""));So can I put the ID of a messages-element (jsfMsgs_XY or jsfMsgs_AB) in addMessage? Therefore only the messages are displayed, which are defined.
Would be great, if someone could help me.

Why do you have two h:messages components? You could convert the one to a h:message which you attach to the parent form.

Similar Messages

  • Trying to access a part of a website- message saying the page isn't redirecting properly

    Trying to get from one Sage page to their reference page. Message says "The page isn't redirecting properly. Firefox has detected the server is redirecting the request in a way that will never complete."

    Can you post a link to a public page where that happens that doesn't require authentication (log in) to access it?
    Then we can check if it is a problem with that site.
    Are you allowing cookies from that site?
    If clearing the cookies doesn't help then it is possible that the file <i>cookies.sqlite</i> that stores the cookies is corrupted.<br />
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete other present cookie files like <b>cookies.sqlite-journal</b> in the Firefox Profile Folder in case the file cookies.sqlite got corrupted.

  • ISA550 After upgrade 1.2.17 many error messages in the log

    Hi,
    After upgrade> 1.2.17 many error messages in the log
    Hello,
    after upgrading from 1.2.15> 1.2.17 have infinitely many errors in the log:
    Err - System: sdsd: msgq_open: Error: mq_open () failed on msg queue / sdsd, errno = 2
    Err - System: sdsd: open_control_msgq: Failed to open sdsd control message queue, errno = 2 (No such file or directory)
    These errors occur repeatedly (300 times per minute). So I went back to the FW 1.2.15.
    Does anyone have an idea?
    Thanks and regards
    Claus

    Hi John,
    Has this issue been resolved yet ?
    I'm facing the same issue after upgrading to 1.2.18
    11/11/2013 10:42    Error    System    sdsd: msgq_send: name /sdsd: pid 27242: mq_timedsend failed, errno = 9
    11/10/2013 12:42    Error    System    sdsd: http_post: Error: Failed to open connection to v1.sds.cisco.com
    11/10/2013 12:42    Error    System    sdsd: open_connection: TCP connection failed on connection 0x1B1C60F8
    11/10/2013 12:42    Error    System    sdsd: tcp_connect: Couldn't connect socket, errno = 110
    11/10/2013 0:22    Error    System    sdsd: http_get: Error: Failed to open connection to v1.sds.cisco.com
    11/10/2013 0:22    Error    System    sdsd: open_connection: TCP connection failed on connection 0x1AFC4DC0
    11/10/2013 0:22    Error    System    sdsd: tcp_connect: Couldn't connect socket, errno = 110
    11/9/2013 18:43    Error    System    sdsd: http_post: Error: Failed to open connection to v1.sds.cisco.com
    11/9/2013 18:43    Error    System    sdsd: open_connection: TCP connection failed on connection 0x1B1C60F8
    11/9/2013 18:43    Error    System    sdsd: tcp_connect: Couldn't connect socket, errno = 110
    Please let me know how to make this go away.
    What are these errors about anyway ?? What causing it ??
    Thanks
    Lutfi
    2013-11-11 10:42:29
    Error
    System
    sdsd:  msgq_send: name /sdsd: pid 27242: mq_timedsend failed, errno = 9
    2013-11-10 12:42:59
    Error
    System
    sdsd: http_post: Error: Failed to open connection to v1.sds.cisco.com
    2013-11-10 12:42:59
    Error
    System
    sdsd: open_connection: TCP connection failed on connection 0x1B1C60F8
    2013-11-10 12:42:58
    Error
    System
    sdsd: tcp_connect: Couldn't connect socket, errno = 110
    2013-11-10 00:22:57
    Error
    System
    sdsd: http_get: Error: Failed to open connection to v1.sds.cisco.com
    2013-11-10 00:22:57
    Error
    System
    sdsd: open_connection: TCP connection failed on connection 0x1AFC4DC0
    2013-11-10 00:22:56
    Error
    System
    sdsd: tcp_connect: Couldn't connect socket, errno = 110
    2013-11-09 18:43:17
    Error
    System
    sdsd: http_post: Error: Failed to open connection to v1.sds.cisco.com
    2013-11-09 18:43:16
    Error
    System
    sdsd: open_connection: TCP connection failed on connection 0x1B1C60F8
    2013-11-09 18:43:16
    Error
    System
    sdsd: tcp_connect: Couldn't connect socket, errno = 11011/11/2013 10:42    Error    System    sdsd: msgq_send: name /sdsd: pid 27242: mq_timedsend failed, errno = 9
    11/10/2013 12:42    Error    System    sdsd: http_post: Error: Failed to open connection to v1.sds.cisco.com
    11/10/2013 12:42    Error    System    sdsd: open_connection: TCP connection failed on connection 0x1B1C60F8
    11/10/2013 12:42    Error    System    sdsd: tcp_connect: Couldn't connect socket, errno = 110
    11/10/2013 0:22    Error    System    sdsd: http_get: Error: Failed to open connection to v1.sds.cisco.com
    11/10/2013 0:22    Error    System    sdsd: open_connection: TCP connection failed on connection 0x1AFC4DC0
    11/10/2013 0:22    Error    System    sdsd: tcp_connect: Couldn't connect socket, errno = 110
    11/9/2013 18:43    Error    System    sdsd: http_post: Error: Failed to open connection to v1.sds.cisco.com
    11/9/2013 18:43    Error    System    sdsd: open_connection: TCP connection failed on connection 0x1B1C60F8
    11/9/2013 18:43    Error    System    sdsd: tcp_connect: Couldn't connect socket, errno = 1

  • Is there a way that articles opened in Safari can be saved to read off line? Sometimes they are there when I opened Safari but other times I get the message that the page can't be found because I don't have Internet access.

    Sometimes they are there when I reopen my iPad, even without Internet access. Other times I get the message that the page can't be found because I don't have Internet access.

    You're welcome 
    I use Reading List all the time.
    If applicable, you can access saved Reading List articles in Airplane mode >  iOS: Understanding airplane mode

  • When trying to log into yahoo mail, I get the message saying 'The page isn't redirecting properly'. I deleted history/ restarted firefox. How can this be fixed?

    When trying to log into yahoo mail, I get the message saying 'The page isn't redirecting properly'. I deleted history/ restarted firefox. How can this be fixed?

    If it works in Safe Mode and in normal mode with all extensions (Firefox/Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: Firefox > Quit Firefox; Linux: Firefox/File > Quit)
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Display ("Please Wait") message WHILE the page loads

    Hello All,
    I have adf/jsf application. How to add message " Please Wait While Page Loads" WHILE+* the page is loading ?
    I am thinking of Window.confirm(" Please Wait While The Page Loads") Is there a better (More Modern) way to do this?_
    Many Thanks,

    John, when I type <af:statusIndicator and ctrl + space, JDev does not show statusIndicator as one of the choices. I tried adding code but it seems it does not recognize statusIndicator as one of the tags. I am using other jsf and adf tags on the same page :(
    Thanks,

  • Why appears constantly crash messages about the pages doesn´t respond

    Hi.
    Why safari doesn´t work well in Lion Mac OS X as on past versions as Snowleopard.
    Every time apears mesages talking about something like "the pages not respond"  and all my mac seem frezze a lot.
    Thanks.

    Hi...
    all my mac seem frezze a lot.
    Your profile indicates you are running Lion v10.7.4.
    Since you are having problems wtih Safari and the system freezes, "a lot", use Lion Recovery to repair the startup disk and if necessary, reinstall Mac OS X.

  • How many text messages can the iPhone 3gs hold ??

    *upto how many text message can hold 3gs ??*

    About 75,000, depending on available memory. If you get anywhere near that limit you might want to seek help.

  • I am having difficulties loading pages. For example: I am on the powerschool web site looking at my child's grades. I want to get into a specific class and the page either takes many minutes to load or I get the error message that the page can't load. He

    Can't get into specific class grades. It's not just here though; many pages load and load and load taking an extremely long time only to get an error message.
    == URL of affected sites ==
    http://ps.hibbing.k12.mn.us/public/home.html

    Hello, could this be it?
    Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality
    http://support.apple.com/kb/HT5559

  • HT1933 When I try to report a problem, it says "too many http redirects". The page will not open, so I can't report the problem!

    How can I get to the report a problem page? The song I bought will not play! It just says "too many http redirects"

    Susiebwb wrote:
    Can any one please assist me.... I paid twice for an app by mistake.... ...
    To Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Calendar in gmail now refuses to open and I get an error message saying the page isn't redirecting properly and that Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    The error message suggests that this problem can sometimes be caused by disabling or refusing to accept cookies, yet cookies are enabled.
    I want to import my calendar from Outlook but I can't even open the exisiting calendar I have already set up in associaion with my gmail account

    This issue can be caused by corrupted cookies.
    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    * http://kb.mozillazine.org/The_page_is_not_redirecting_properly

  • AT MY INTERNET BANK SITE, I'M GETTING A MESSAGE THAT THE PAGE IS BEING REDIRECTED TO A NEW LOCATION - IS THIS SOMEONE TRYING TO HACK INTO MY BANK ACCOUNT? I DON'T GET THAT MESSAGE ON INTERNET EXPLORER.

    I AM CONCERNED THAT SOMEONE IS TRYING TO HACK INTO MY BANK ACCOUNT

    Thanks,  I did and they gave me the code to unlock my SIM card. Everything is working fine now.

  • When trying to send email an error message says- the page isnt directing properly.Firefox has detected that the server is redirecting the request for this address in a way that will never complete. however the email is sent o.k. !!

    The problem is detailed above.Emails are sent ok.
    Thanks

    That issue can be caused by corrupted cookies.
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    * http://kb.mozillazine.org/Cookies
    * http://kb.mozillazine.org/The_page_is_not_redirecting_properly

  • Hello All, I have an older MAC and currently have iPhoto 09, version 8.1.2. Every time iPhoto is opened I get a message about a upgrade to a newer version of iPhoto, but when I select the link, it takes me to the Apple website and says the page I'm look

    Hello All,
    I'm Gene. I have an older MAC desktop and am running iPhoto 09, version8.1.2 (424). Each time I connect my iphone to my MAC I get a message that there is a newer version of iPhoto, but when I select the link, I am taken to the Apple webpage and get a message that the page I'm looking for is not available. All I would like to do is upgrade my iPhoto. Do I need to upgrade to the latest version of iWork, and if so, what version and how would I do that? Any assistance is appreciated. Thanks

    The iPhoto version that is currently available at the App Store os 9.5.1 and requires the Mavericks OS X.  The early 2008 24" iMac can run Mavericks.  Once you have Mavericks installed (it's free)  you can purchase iPhoto 9.5.1 from the App Store.
    If you don't want to upgrade to Mavericks you can purchase a copy of the iLife 11 disk from a 3rd party retailer like Amazon.com and install iPhoto 9.  Then up trade it to 9.4.3 via the updaters at the  Apple Downloads website: Apple - Support - Search
    OT

  • Cancel message is not shown in the page

    Hi All,
    This is my code for cancel in controller:
    if ( "Cancel".equals(pageContext.getParameter(EVENT_PARAM)) ) {
    am.invokeMethod("Cancel");
    MessageToken[] token = {};
    OAException confirmMessage =
    new OAException("MTH", "MTH_SETUP_CANCEL", token,
    OAException.INFORMATION, null);
    pageContext.putDialogMessage(confirmMessage);
    pageContext.setForwardURLToCurrentPage( null, false, OAWebBeanConstants.ADD_BREAD_CRUMB_NO, OAWebBeanConstants.IGNORE_MESSAGES);
    this is cancel code in AM
    public void Cancel() {
    getTransaction().rollback();
    but when I am clicking on cancel button ,message is not dispalyed.
    Is there something wrong in the code ?How can I get the cancel message in the page.

    PutDialog would redirect the page automatically. You dont need setForwardURLToCurrentPage().
    --Prasanna                                                                                                                                                                                                                       

Maybe you are looking for