3 Replies Latest reply on Aug 8, 2008 2:33 PM by Jens Weintraut

    Seam Exceptions: Declare detail message

    Jens Weintraut Apprentice

      Hi,


      I want to i18nize some Seam messages (e. g. org.jboss.seam.loginSuccessful). It works quite well, but I've one problem: I use just one h:messages to display messages with detail=true. But it seems that Seam doesn't follow JSF specs. I think so because this:



      org.jboss.seam.loginSuccessful=Welcome, #{user.name}.
      org.jboss.seam.loginSuccessful_detail=bla



      results in Welcome, <Name>.Welcome, <Name>.. I don't know if I'm right, claiming that Seam ignores _detail or if I - once again - did something wrong. I see that there is almost no use for a detailed description for most of the Seam messages, but if Seam would accept _detail, I could overwrite them with a whitespace to let them disappear.


      Thanks in advance
      Newlukai