[jboss-user] [JBoss Seam] - Re: Function 's:hasRole' not found
chrismalan
do-not-reply at jboss.com
Mon Jun 25 01:09:33 EDT 2007
Hi Shane,
I downloaded 1.3.0 and tried. That caused a whole new universe of problems. If I remove jboss-seam.jar from the ear and copy it to $JBOSS_HOME/server/default/lib everything works well. The only problem was <s:link value="User Go Home" view="home.xhtml" rendered="#{s:hasRole('user')}" /> should be <s:link value="User Go Home" view="/home.xhtml" rendered="#{s:hasRole('user')}" />
This is clearly a class loading problem. Is the JBoss AS responsible for class loading, or the application? I would think it is the AS, in which case the problem lies with JBoss 4.2.0. I'll go and read up in the wiki about class loading.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057235#4057235
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057235
More information about the jboss-user
mailing list