If you put a @Restrict on your action method with the same security expression
as your button then it will throw an AuthorizationException if the security
check fails when the button is clicked.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116297#4116297
There is nothing built into Seam to handle this specific situation.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115757#4115757
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115757
___
1)i'm opening a page with a button. Now i have rights to see and click it.
2)Somebody revokes my right to click this button, but I still see it because
page has been opened before.
3)I'm clicking button
For now page refreshes without any info (button of course isn't visible after
refresh) which
"Marx3" wrote : How properly implement visibility of button based on
role/rights. Should I fill 'rendered' attribute?
Yes
anonymous wrote : What, if i see a page with button and somebody will hold my
rights to press this button and I will click it? I would like to refresh page,
hide button and