Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4656

Component with overriden isRequired method does not evaluate plain string value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 4.0.2
    • 5.0.0, 4.1.0-RC2, 4.0.3
    • None
    • None

    Description

      Component with overriden isRequired() method using "required" instead PropertyKeys.required string as in UIInput parent class (you can add default value here if attribute is not found or set). Works with #{true} or #{xxxController.isComponentRequired} but not with plain string like "true".

      See ThirdComponent in attached example. You can execute the sample with mvn jetty:run -Pmyfaces40 command and hit http://localhost:8080/primefaces-test to run the page.

      Attachments

        1. primefaces-test-git.zip
          372 kB
          chaloma1

        Activity

          People

            Unassigned Unassigned
            chaloma1 chaloma1
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: