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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.6
    • 1.1.8
    • Calendar
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: