Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-165

showRequired attribute won't work

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 1.0.0-incubating-core
    • 1.0.0-incubating-core
    • None
    • None

    Description

      The showRequired attribute is currently broken as implemented in trunk. I noticed it on components base on the class
      org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.LabelAndMessageRenderer

      1st issue is the labelShowRequired() method ORing || both the required and showRequired flag making the second one useless in case required is true. I would recommend changing the conditional to && and setting the default value for showRequired to true.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            spod Stefan Podkowinski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment