I done as u said, but page doesn't work properly. All app properties names are not visible and other stuff. anonymous wrote : | #{messages['login.portal']} | #{messages['login.login']} |
Here is my code | <page view-id="/home.xhtml"> | <action execute="#{sessionAction.redirectIfLoggedIn}" /> | </page> | anonymous wrote : | public void redirectIfLoggedIn() { | try { | if (identity.isLoggedIn()) { | facesContext.getExternalContext().redirect("/mlm/pages/system.xhtml"); | | } else { | facesContext.getExternalContext().redirect("/mlm/home.xhtml"); | | } | } catch (Exception e) { } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105467#4105467 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105467 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user