4 Replies Latest reply on Mar 14, 2008 1:34 PM by Jens Weintraut

    Security: How to override messages

    Jens Weintraut Apprentice

      See old Seam forum post.


      I'm using Seam 2.0.1.GA and want to override the messages appearing when someone logs in. The documentation says that I only have to specify values for 'org.jboss.seam.loginSuccessful' and so on. But this doesn't work for me.


      Pete Muir asked me to output this property manually. The result is that I can see this property as it should be. So I have to say, the property is correct.


      My apologies, Pete, for not knowing how to address a property like 'org.jboss.seam.loginSuccessful' (you have to do it this way: #{messages['org.jboss.seam.loginSuccessful']}. And not like this: #{messages.org.jboss.seam.loginSuccessful}). I'm using the dot too often.


      OK. Now I know that the property can be addressed. But how does this help with my problem? My login message isn't shown instead of the one specified by Seam.


      Thanks in advance.