[jboss-user] [JBoss Seam] - using <s:div rendered="..."> instead of <s:hasRole>
asookazian
do-not-reply at jboss.com
Fri Aug 10 19:10:05 EDT 2007
JBoss 4.0.5
SEAM 1.2
is it possible to call a method on a SLSB as follows?:
<!-- in place of <s:hasRole> restriction -->
<s:div rendered="#{authenticator.display}">
<s:button view="/CustomersEdit.xhtml"
id="edit"
value="Edit"/>
</s:div>
display is a method that returns true or false after evaluating user's role (access level) for that component/page.
I'm getting the following stack trace:
javax.faces.el.PropertyNotFoundException: /Customers.xhtml @92,46 rendered="#{authenticator.display}": Bean: org.javassist.tmp.java.lang.Object_$$_javassist_79, property: display
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073226#4073226
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073226
More information about the jboss-user
mailing list