When you try and access the main page (index.seam or whatever) seam detects that you have not logged in yet and throws a NotLoggedInException. It then redirects you to the login page and adds 'Please login first' to the FacesMessages (which are displayed via the s:messages component) . The message is controlled in pages.xml as specified in section 13 of the docs.
When you just go the the login page without the NotLoggedInException beging thrown the message is not added. If you really want it you could try one of the following: - Just use a static Message - Add a page action with something like: public void PageAction() { if(FacesMessages.instance().getMessages().isEmpty()) FacesMessages.instance().add("Please Log in first") } Hope this helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092509#4092509 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092509 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user