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

displayValueOnly on input elements who are required triggers validation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.5-SNAPSHOT
    • 1.1.5
    • Validators
    • None

    Description

      Hi,
      using the latest SVN snapshot, I get a validation error message when I use an UIInput (for example InputText) with displayValueOnly="true" and required="true". It is simple to reproduce:

      <f:view>
      <h:form id="form">
      <t:inputText id="input" value="Test" required="true" displayValueOnly="true"/>
      <h:commandButton id="button" value="press me" action="success"/>
      <h:message id="message" for="input"/>
      </h:form>
      </f:view>

      The replacement of my value bean lookups by static strings hasn't affected the outcome, a validation error ("input": Value is required.) is always triggered.

      Attachments

        Issue Links

          Activity

            People

              cagatay_civici Cagatay Civici
              betermieux Stefan Betermieux
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: