Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-100

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • UserRoleAware
    • None

    Description

      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

      Attachments

        Activity

          People

            mmarinschek Martin Marinschek
            sascha.gross Sascha Groß
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: