Hi All,
I would like to thanks in advance for your valuable answers.
Here my problem is, I am using h:commandLink, h:commandButton, a4j:commandLink or h:commandButton depends on requirement.
I want to disable some of the link based on user role privilege. (i.e. Delete operation can be allowed for onlysuper user or admin).
How can i achieve this in xhtml itself.
Can i write some attribute for this requirement if yes then how?
Or do we have some existing attribute in JSF/RichFaces to solve this problem?
Please help me out.
Take a look at this article: