[richfaces-issues] [JBoss JIRA] Created: (RF-10617) autocomplete: submit of the new value broken

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Fri Feb 25 07:09:06 EST 2011


autocomplete: submit of the new value broken
--------------------------------------------

                 Key: RF-10617
                 URL: https://issues.jboss.org/browse/RF-10617
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-input, regression
    Affects Versions: 4.0.0.Milestone6
            Reporter: Ilya Shaikovsky
            Priority: Critical


	<h:form>
		<rich:autocomplete mode="cachedAjax" tokens=", " minChars="0"
			autoFill="false" selectFirst="false" id="ac2" value="#{autocompleteBean.svalue}" var="a"
			autocompleteMethod="#{autocompleteBean.autocomplete}" fetchValue="#{a.state}">
			<h:outputText value="#{a.state}" />
			<a4j:ajax event="change" render="out2"/>
		</rich:autocomplete>
		<h:outputText value="#{autocompleteBean.svalue}" id="out2"/>
	</h:form>

type a - List appears fine
choose any entry - applied to input fine. (e.g. Arizona)
blur the field - "a" appears instead of Arizona in input text.

hidden input value which set as submitted value contains just "a"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list