[jboss-user] [JBoss Seam] - Re: rights to see a buton

2008-01-01 Thread [EMAIL PROTECTED]
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

[jboss-user] [JBoss Seam] - Re: rights to see a buton

2007-12-27 Thread [EMAIL PROTECTED]
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 ___

[jboss-user] [JBoss Seam] - Re: rights to see a buton

2007-12-27 Thread Marx3
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

[jboss-user] [JBoss Seam] - Re: rights to see a buton

2007-12-27 Thread [EMAIL PROTECTED]
"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