New style attributes for component which impl UserRoleAware, e.g. 
<t:commandLink/> and <t:commandButton/> to show disabled state
--------------------------------------------------------------------------------------------------------------------------------

         Key: MYFACES-638
         URL: http://issues.apache.org/jira/browse/MYFACES-638
     Project: MyFaces
        Type: New Feature
  Components: Tomahawk  
    Reporter: Sascha Groß


A component which impl. UserRoleAware, e.g. <t:commandLink/> and 
<t:commandButton/> should use another CSS-sytle if the user hasn't the role of 
the attribute 'enabledOnUserRole'.
The idea is that a disabled link could be rendered e.g. in grey and so on do 
signal the user that there is an action, which can't be used currently.

New Attributes:
- enabledOnUserRoleStyle or disabledStyle
- enabledOnUserRoleStyleClass or  disabledStyleClass

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to