Results 1 to 2 of 2

Thread: rich:message and h:message, should they both work?

  1. #1

    Default rich:message and h:message, should they both work?

    I am trying to output messages placed in the MessageContext from a Java bean called by my flow, but the messages are only rendered in my XHTML view if I use a rich:messages tag. Should I be able to utilize the h:messages tag or is this the correct behavior? If it is a bug, I am more than happy to file a ticket.

    Thanks.

    Spring 2.5.6
    Spring Webflow 2.0.8.RELEASE
    Spring Faces 2.0.8.RELEASE
    RichFaces 3.3.1.GA
    JSF 1.2

  2. #2
    Join Date
    Feb 2009
    Posts
    28

    Default

    you need a placeholder like a4j:outputpanel to display messages in h:message. h: message cannot be displayed without placeholders.you should be able to view messages usinh h:message if you place it within a4j:outputpanel tag.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •