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

Input calendar does not respect the enabledOnUserRole property when rendering as a popup

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.6
    • Fix Version/s: 1.1.8
    • Component/s: Calendar
    • Labels:
      None
    • Environment:
      Windows XP, WebSphere 5.1

      Description

      When rendering the input calendar the HtmlCalendarRenderer does not respect the enableOnUserRole property for the popup button. This has the effect that if the user is not in a role where the calendar should be enabled the button still allows them to set a date for the calendar.

      When accessing the attached page as a user that is not in role 'Role' the input field is disabled, but the popup button is enabled. Pressing the button and selecting a date from the popup calendar modifies the date in the input field.

        Attachments

        1. test.jsp
          0.6 kB
          Steve Rees
        2. HtmlCalendarRenderer.patch
          3 kB
          Paul Rivera

          Issue Links

            Activity

              People

              • Assignee:
                lu4242 Leonardo Uribe
                Reporter:
                vimes Steve Rees
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: