Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss Seam] - Re: Nested EL in .xhtml and s:hasRole
 hard-coding removal

scott.stark@jboss.org

2007-08-07


Not sure if this will work, but you could look into using an el function to return the string. So, something like:

| "#{s:hasRole(my:admin())}"
|

Of course, now you're "hard coding" a method name in a string, which is probably as difficult to refactor as the string itself. Personally, I think you're better off using a straight string.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071801#4071801

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071801
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.