Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-12474

rich:select with enableManuelInput="true": Validation message is not displayed when the submitted value is not on the list.

    Details

    • Sprint:
      4.3.0.M2 iteration sprint
    • Story Points:
      4
    • Steps to Reproduce:
      Hide
      1. checkout https://github.com/papousek/richfaces-sanbox/tree/RF-12474, build it and deploy on JBoss AS 7
      2. open http://localhost:8080/richfaces-sandbox-jee6/
      3. select "a" item from the first rich:select and click on the first "send" button
      4. type "AAA" into the first rich:select and click on the first "send" button
        • validation message should be present, but it isn't
      Show
      checkout https://github.com/papousek/richfaces-sanbox/tree/RF-12474 , build it and deploy on JBoss AS 7 open http://localhost:8080/richfaces-sandbox-jee6/ select "a" item from the first rich:select and click on the first "send" button type "AAA" into the first rich:select and click on the first "send" button validation message should be present, but it isn't
    • Bugzilla Update:
      Perform

      Description

      Per the RichFaces documentation:

      ...If an invalid value is entered, it is highlighted as erroneous and validation messages appear with the submission...

      The validation message is not displayed when entering an invalid value (which is not on the list) and submitting it.

      Test code:

      <rich:select id="idSelect" value="#{backingBean.value}" enableManualInput="true">
          <f:selectItem itemLabel="Option 1" itemValue="Option 1" />
          <f:selectItem itemLabel="Option 2" itemValue="Option 2" />  		
      </rich:select>
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jpapouse Jan Papousek
                Reporter:
                ivassile Ilia Vassilev
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: