[jboss-user] [JBoss Seam] - Re: How to get page view-id variable in a SB???

asookazian do-not-reply at jboss.com
Mon Aug 27 18:44:03 EDT 2007


yes thx! that works.  I've created an Authorization SLSB to use in place of #{s:hasRole('admin')}.  We are trying to avoid hard-coding and call the isDisplay() method in the SLSB authorizor to do a DB lookup to determine what role(s) is needed to access the current .xhtml (which you have told me how to do!)

thanks again.

this type of functionality needs to be added to the Seam framework.  Maintaining the roles, xhtml names in a props file or DB table is better than hard-coding the role names in the .xhtml or pages.xml...

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078525



More information about the jboss-user mailing list