Add the following class:
@Scope(ScopeType.APPLICATION)
| @Intercept(NEVER)
| @Name("org.jboss.seam.core.pages")
| @Install(precedence=BUILT_IN)
| public class Pages extends org.jboss.seam.core.Pages {
|
| public getCurrentPage() {
| return getPage( getCurrentViewId() );
| }
|
| }
And then use #{org.jboss.seam.core.pages.currentPage.loginRequired}.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050681#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...