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

rich:select - clarify usage of autoComplete

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Partially Completed
    • Affects Version/s: 4.5.4
    • Fix Version/s: 4.5.13
    • Component/s: component-input
    • Labels:
      None
    • Environment:

      tomee 1.7.1, myfaces 2.1.13, firefox 37.0.1

      Description

      When using "value", "required" and "autoCompleteMethod" in a rich:select, required attribute is not applyed.

      <rich:select id="anId" enableManualInput="true"
      	autocompleteMethod="#{myBean.autoCompleteMethod}"
      	minChars="2" mode="ajax"
      	value="#{myBean.valueString}"
      	required="#{myBean.valueRequired}">
      </rich:select>
      
      • When myBean.valueRequired = false, then the facesMessage required validation appear (wrong behaviour).
      • When myBean.valueRequired = false but "value" attribute is removed from component used, then no facesMessage required validation appear (correct behaviour)

      I need value attribute to set a default value, and get value set by component.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  michpetrov Michal Petrov
                  Reporter:
                  joeleclems Clément Romain
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: