f:messages / not working with subviews

Hello,
in our JSF application, we have a problem with messages queued with FacesContext.addMessage() not propagating to other subviews than the one defining the sending JSF component. Are the messages really intended to stay within the defining subview only?
For example, we have code something like this:
<f:subview id="messages"> 
    <f:messages/>
</f:subview>
<f:subview id="content"> 
    <f:messages/> 
    <h:commandButton  action="#{Bean.action}" actionListener="#{Bean.listener}" value="{Messages.SUBMIT_VALUE}" />
</f:subview>Now, if the submit handling code sends JSF message(s) using the FacesContext.addMessage(), it is only shown in the content-subview, not in the messages-subview. No messages are shown in the messages-subview either if we remove the <f:messages /> tag from the content-subview.
Currently we have a workaround bean that functions as a message placeholder, having its contents read in the messages-subview using the <h:outputText>-tag. I believe that using framework-provided messaging system would be better, only if it worked in the situation.
Should we start improving our own workaround bean, or wait for the messages mechanism to be improved in a following JSF release, ie. is the functionality shown intended in the JSF design, and if so, how should we be showing our component messages to the end user when there are multiple subviews used in the application?
-Pietu

Yeah. That was a typo in cut'n'paste; the original code uses <h:messages />, ofcourse. The problem, however, still persists.
(If the original code used f:messages, why would the messages be shown in the subview that contained the message sending object ?)

Similar Messages

  • [svn:bz-trunk] 16395: Bug: #2621264 [Regression] Small messages not working with NIO-HTTP endpoints in LCSD/trunk.

    Revision: 16395
    Revision: 16395
    Author:   [email protected]
    Date:     2010-06-02 05:00:56 -0700 (Wed, 02 Jun 2010)
    Log Message:
    Bug: #2621264 Small messages not working with NIO-HTTP endpoints in LCSD/trunk.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: This is the BlazeDS side of the fix. This wasn't a regression, it probably never worked correctly. So, in the scenario where there's a Producer and a Consumer, and Producer sends a message for the Consumer, there are 2 messages from the server. The ACK message for Producer's send, and the actual message Consumer receives. I found that the ACK message was in small form, but the actual message was not in streaming messages. This was because we never really tried to convert streamed messages into small messages before.
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseStreamingHTTPEndpoint.java
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/StreamingAMFEndpoint.java
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/StreamingHTTPEndpoint.java

  • Message not working with gtalk on Mac in office network, but Gtalk is working in the same network on Windows machine

    I was using Windows machine at my workplace (Office network), gtalk used to work absolutely fine.
    Now I started using, Mac everything is working fine but my Gtalk account configured in Message is not working.
    Gtalk is working fine as soon a connect to my home network.
    I have tried configuring Nimbuzz and Psi , but of no use.
    Please suggest.

    Ok, after 40 minutes on the phone with the most patient and helpful Apple tech ever, the problem was fixed. Still not sure what did it though. Basically what I did was this-
    Completely uninstalled iTunes, details here:
    http://support.apple.com/kb/HT1224
    I even removed all files associated with iTunes, which is further down the same page. Don't worry, you won't have to delete your music.
    Then, I emptied the Trash and restarted the machine. I then checked for updates for every single App on my machine, upgraded to 10.6.4, and downloaded the iPhone SDK - not sure how this helped but anyway....
    Then I restarted the machine again.
    I then verified and repaired all permissions through the Disk Utility (Applications > Utilities > Disk Utility)
    Restarted the machine...again.
    I then downloaded the latest version of iTunes and installed it...and it worked.
    Now, at this stage I was skeptical as anyone who has read my first post will know, restarted the machine previously left me back at the start. Well, I just restarted the machine and all seems good.
    So, I'm not sure (neither was the tech actually hehe) which step specifically fixed the problem, so you might want to try them all.
    If this doesn't fix your problem, my heart goes out to you! Perhaps try calling tech support-
    http://www.apple.com/support/contact/phone_contacts.html

  • Messaging not working with one person

    I got my LG G3 in December and it has been working great until about a week ago. The problem started relatively small where occasionally a message would tell me it was sent but my girlfriend never received the message. The problem has gotten worst over time and especially yesterday it seemed any message of substantial length would not go through although it would tell me it had, yet any shorter message (>100 characters) would go through almost every time without problems. Starting this morning it is even worse with more messages not sending than do and now it is any length. None of my messages seem to be getting through to only this one person and I can text anyone else just fine. My default messaging app is Messaging+. I thought last night that switching to the normal messaging app might fix the problem But every time I tried to use that app (still with that one person) it would shut down. Messaging+ app will shut down sometimes, but the normal messaging app did not work at all. Could the problem be the large amount of messages between me and this one person, far greater than me and anyone else, or is there possibly another thing I don't know? I downloaded the app Advanced Task Killer and it said there were no problems with the app and I don't have any other options of what I can do. Please help? I would like to not erase all of the messages if possible.

    A large number of messages, or messages large in size, basically total size of all messages can hang things up.  Back up your messages with a GPStore app.  Erase them.  Lower your message character size.  IF it still continues, its the recipients phone.  Both of you should power down, remove SIM, reinsert, power up.

  • JMS messaging not working with LCDS and Fiorano

    Hi there,
    Been struggling at this all day with no luck. I have a finished Flex application which uses JMS messaging, and it has worked just fine on my Tomcat server while using ActiveMQ. As soon as I switched to using the JMS provider Fiorano however, my application can no longer use JMS resources. It fails whenever the application tries to subscribe or publish to a JMS topic. I made all the appropriate JMS related changes to messaging-config.xml.
    In the tomcat log, I turned on LCDS debugging and saw this error whenever a publisher or subscriber was trying to start:
    "JMS invocation caught exception: SECURITY_EXCEPTION :: Security exception occurred while trying to perform operation :: CreateSubscriber failed,creation of Non-durable Subscriber NOT allowed."
    I am passing my JMS security credentials via messaging-config.xml AND even tried doing it via the Flex application (setRemoteCredentials(..)). I know they are correct because I have a working Java application with the exact same credentials and other JMS settings working just fine. It seems only the Flex application fails using the same JMS credentials/settings.
    Is there some other file that needs modification other than messaging-config.xml to get a new JMS provider to work? Any idea what may be going on?
    Thanks!

    A large number of messages, or messages large in size, basically total size of all messages can hang things up.  Back up your messages with a GPStore app.  Erase them.  Lower your message character size.  IF it still continues, its the recipients phone.  Both of you should power down, remove SIM, reinsert, power up.

  • Addressbook and Messages not working with iPhoto-Faces

    Hey
    I've set up ML with an clean-install.
    I also set up iPhoto 11 (Mac-App Store updates installed directly after installing iPhoto 11) with my existing picture-library (upgrade of the library on first run was successfully).
    My problem: I cannot select any faces from iPhoto anymore. In Lion, I was able to set a Addressbook-picture from iPhoto, this doesnt work anymore
    Next, Messages is not showing my Addressbook-picture (currently set one) - but Mail does!
    If I try to select a new profile picture over Messages, Iam still not able to select something from iPhoto.
    So, where is the iPhoto-Faces integration?
    Thanks for help

    Hi,
    After setting up the iPhone and the Mac they should remain in fairly close contact as the Mac uses the iPhone's Carrier service to send the SMS.
    Whilst the setting up does not mention it the procedure looks a lot like Pairing Blue Tooth devices which gives you a range of 30 feet or so depending on surroundings.
    Having said that the specs say they two should be on the same WiFi Network (or network that the iPhone is WiFi Connected to be be correct) which would also limit coverage somewhat but  larger area than Blue Tooth.
    You then have to decide if it is possible your son went out of range of a suitable carrier service or whether your phone was moved too far form your Mac.
    If both your Mac and the iPhone are not maintaining the connection it would seem it is at the far end that the issue is happening.
    Is your son's phone maintaining:-
    1) Connection to a suitable service ?
    2) an SMS ability during that connection ?
    9:42 PM      Saturday; December 6, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     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

  • Messages not working with iOS8, Yosemite, and Android

    I am running a MBA with Yosemite. I also have several iOS devices (IPhone 6, iPad Mini, iPad 2Gen).  I have gone over the set up time and time again and believe it to be correct.  However, some (not all) messages to Android (presumably) devices fail.  I also am not sure if I am receiving all messages.
    Example: My son initiated a text to me tonight and it came through. I received it on my MBA and was able to reply from my MBA. He responded fine, but my response failed (see screen cap).  This is the same behavior on the iPhone 6 as well.  He is running an HTC brand new latest Android phone on Verizon.  My plan is also on Verizon and I have Verizon for my WiFi as well.  Another friend has a crappy Android that was bought at Walmart and has some lower tier cell carrier and I get a similar behavior there.
    Any suggestions?

    Hi,
    After setting up the iPhone and the Mac they should remain in fairly close contact as the Mac uses the iPhone's Carrier service to send the SMS.
    Whilst the setting up does not mention it the procedure looks a lot like Pairing Blue Tooth devices which gives you a range of 30 feet or so depending on surroundings.
    Having said that the specs say they two should be on the same WiFi Network (or network that the iPhone is WiFi Connected to be be correct) which would also limit coverage somewhat but  larger area than Blue Tooth.
    You then have to decide if it is possible your son went out of range of a suitable carrier service or whether your phone was moved too far form your Mac.
    If both your Mac and the iPhone are not maintaining the connection it would seem it is at the far end that the issue is happening.
    Is your son's phone maintaining:-
    1) Connection to a suitable service ?
    2) an SMS ability during that connection ?
    9:42 PM      Saturday; December 6, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     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

  • E75 & Nokia Messaging not working with Gmail prope...

    Hi there,
    I'm having problems in getting my new E75 to function with Gmail (I'm using Gmail via IMAP, custom domain and Google Apps) and I'm, therefore, here in order to search some help from more tech-savvy users. The most annoying problem I'm having at the moment is that E75 creates duplicate messages in "sent mail" -folder in Gmail when sending mail from it. I would also be delighted if I could delete messages using my phone so that msges would be moved to Gmail's trash folder instead of "All Mail" -folde. Any advice in getting these functionalities? Thank You!  
    All in all, I would like to be able to configure E75 mail client to function like a "normal" IMAP client.  

    Maddmaxx is correct, check this article for more information: http://mail.google.com/support/bin/answer.py?hl=en&answer=78755
    A workaround to delete emails from Gmail is to go into Google Labs, enable Advanced IMAP Controls, go to Forwarding and POP/IMAP and switch When a message is expunged from the last visible IMAP folder: to either Move the message to the Trash or Immediately delete the message forever depending on your preference.
    We're working on this. 

  • Character sets in RTF messages not working with RTFEditorKit

    I'm using RTFEditorKit.read() to get the text from an RTF document. The text is written in Russian and starts with the following
    {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\froman\fprq2\fcharset204{\*\fname
    Times New Roman;}Times New Roman CYR;}{\f1\fswiss\fprq2\fcharset0 Arial;}}
    {\colortbl ;\red0\green0\blue128;\red0\green0\blue0;}
    \viewkind4\uc1\pard\tx360\cf1\f0\fs20\'c1\'ee\'eb\'fc\'f8\'e8\'ed\'f1\'f2\'e2\'eeThe reader sets the translation table based on the \ansi\ at the start of the document, which simply maps all bytes to themselves. The initial text, which should be '&#1041;&#1086;&#1083;&#1100;&#1096;&#1080;&#1085;&#1089;&#1090;&#1074;&#1086;', is then converted as latin-1. The 'fcharset204', which is CP1251, is completely ignored, and there's a lovely line in the RTFReader class
    /* TODO: per-font font encodings ( \fcharset control word ) ? */Does anyone know how to extract non latin1 text from RTF or what other tools can be used to extract text from RTF.
    Thanks
    Antony

    Hello,
    Specifying the character set for a WebLogic webservice (see:
    http://edocs.bea.com/wls/docs81/webserv/i18n.html#1069629) is one of the
    many enhancements made since the 6.1 release. If possible, the best
    solution for your webservice development would be to upgrade.
    Bruce
    "özkan Demir" wrote:
    >
    Hi all;
    I am developing RPC style webservices on weblogic server 6.1 with service pack
    2.
    I have a problem about character sets. I have to turkish language so that the
    character sets must be ISO-8859-9. But the soap messages are default UTF-8 so
    that turkish characters becomes undetermined.
    Is there a way that I can send soap messages in ISO-8859-9 character set or what
    do I have to solve the problem of turkish characters between the client and the
    server applications with webservices...Please Help!
    Thanks

  • Outgoing messages not working with POP e-mail account

    I am getting a strange message each time I try to send outgoing e-mail messages with my iPhone 3G. It says that my recipients e-mail address in invalid. I have tried multiple e-mail addresses and it always says the same thing when I try to send. My outgoing mail settings look like they are entered correctly and I am recieving e-mail just fine. Any suggestions?

    Hi. I was having the same problem with my Gmail/Googlemail account, which i've just managed to fix, by changing the port number for my SMTP server, as per Google's suggestion.
    Specifically, I changed my SMTP port number to 465.
    Link to relevant Google help page can be found here -
    https://mail.google.com/support/bin/static.py?page=troubleshooter.cs&problem=bug flow&selected=bugflow_imap07
    Hope this helps some of you.

  • Group messaging not working with groups that contain non iphone users

    I have an Iphone 5 and for some reason I can't send/receive group messages with groups that contain non Iphone users.  Basically I recieve single text messages/imessage from each person who responds to the group message.  This is incredibly annoying.

    Hello, megbu36. 
    Thank you for visiting Apple Support Communities.
    Check to make sure that group messaging is enabled.  Go to Settings > Messages and turn on Group messaging.
    iOS: Understanding group messaging
    http://support.apple.com/kb/HT5760
    Cheers,
    Jason H.

  • I messaging still not working with ios7.3 update

    My I Messaging not working with IOS 7.3 update.  I have an Ipad2.

    I have turned I messaging on and off and I have reset network settings.  Ugh

  • I bought the Keynote app for my MacBook, but when I open the application and try to install it, I get an error message saying that the application will not work with my MacBook. What gives? And, can I please request a refund? ($19.99 = a week's groceries)

    I bought the Keynote app for my MacBook, but when I open the application and try to install it, I get an error message saying that the application will not work with my MacBook. What gives? And, can I please request a refund? ($19.99 = a week's groceries).
    Thank you for your help! - I did try looking for all available specs about Keynote on the Apple iTunes website, and found nothing that could help me. HELP!

    1
    Close all iWork applications
    2
    Uninstall Keynote; this must be done with an application remover tool to delete the installation properly. Appcleaner is known to work correctly for this purpose, it is free and can be downloaded from here: Appcleaner Download
    3
    empty the trash
    4
    shutdown the Mac and restart. After the start up chime, hold down the shift key until the apple logo appears
    let the Mac complete the start up procedure completely, it will take longer than usual as the hard drive is being repaired
    5
    Reinstall Keynote by logging into the Mac App Store using download / install

  • I am running an Apple imac G-5 with OS 10.5.8. I am getting the message that my version of Safari is no longer working. I downloaded a newer version of Safari and I got the message that it would not work with my OS 10.5.8. Does any one have a suggest

    I am running an Apple imac G-5 with OS 10.5.8. Processor: 2 GHz. Memory: 2 GB DDR SDRAM.  I am getting the message that my version of Safari is no longer working. I downloaded a newer version of Safari and I got the message that it would not work with my OS 10.5.8. Does any one have a suggest

    Your post somehow found its way to a little-viewed forum for an obsolete Apple productivity program. I have asked the Hosts to move you to a more active and appropriate forum for your product.

  • Tried to download version 4, which replaced old 3.6, but I'm getting a message that version 4 will not work with Mac OS 10 (I have OS 10.4.11). How can I download previous Firefox version?

    Tried to download version 4, which replaced old 3.6, but I'm getting a message that version 4 will not work with Mac OS 10 (I have OS 10.4.11). How can I download previous Firefox version?

    You can download firefox 3.6.16 here: http://www.mozilla.com/en-US/firefox/all-older.html

Maybe you are looking for

  • A little help in AWT.. (reading a textfield from another class)

    I got this Panel with a varying number of TextFields (to input a matrix). so i did (in the Panel sub-class) TextField Determinant[] = new TextField[l*l];           for (int i = 0; i < l*l; i++)                add(Determinant[i] = new TextField(""+i))

  • PSE 11 Organizer keeps telling it is time to back it up and I have just backed it up  Why?!

    I have backup up my Organizer when prompted to do so but it appears to stop before it finishes.  I checked my backup drive and it appears to have enough storage space and I see the "B" files listed from the backup.  Then when I open the Organizer for

  • Final Cut renders motion files, but displays them as blank

    I ran into a problem today with final cut. I had a clip I wanted to stabilize, so I selected the clip, right clicked, and sent to a motion project, stabilized the clip all fine in motion, saved it, and returned to final cut. Like it is supposed to, t

  • Mbp gone slow!

    my macbook pro 13' has slowed down a lot despite me having almost 120gb of free space! i upgrade it from time to time too! not only that, i keep resetting through command+option+p+r and that shift+control+option thing! i have stopped hearing the chim

  • Clean unused Recording Audio File in the pool??

    Hi, did anyone know how to clean up the unused recording files??then,we can have more capacity of H.Disk... Is it do it everything in (File ->Project ->Consolidated? Have no idea...please help Thanks Ray