Here is a bit more of the stack trace:
| javax.faces.FacesException: javax.el.ELException: /login.xhtml @36,93 rendered="#{s:hasRole('manager')}": | Function 's:hasRole' not found | at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:373) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:880) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892) | at javax.faces.render.Renderer.encodeChildren(Renderer.java:137) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886) I see this has been reported before, but no clear solution supplied. This is the code on the page that causes the problem: <s:div rendered="#{identity.loggedIn}"> | <s:link value="Manager Go Home" view="home.xhtml" rendered="#{s:hasRole('manager')}" /> | <s:link value="User Go Home" view="home.xhtml" rendered="#{s:hasRole('user')}" /> | </s:div> I can log in with no problem, now I want to go one step further and render a link depending on the role of the user who logged in. Any ideas? Any specific jars which I may have missed? Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056726#4056726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056726 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user