[richfaces-issues] [JBoss JIRA] (RF-11332) Improve AutoComplete component to support Object values separate from AutoCompleteinput field
Brian Leathem (JIRA)
issues at jboss.org
Wed Aug 13 20:22:30 EDT 2014
[ https://issues.jboss.org/browse/RF-11332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem resolved RF-11332.
--------------------------------
Labels: (was: gss)
Fix Version/s: (was: 4.5.0.Beta1)
Resolution: Done
> Improve AutoComplete component to support Object values separate from AutoCompleteinput field
> ---------------------------------------------------------------------------------------------
>
> Key: RF-11332
> URL: https://issues.jboss.org/browse/RF-11332
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.1.0.Milestone1
> Reporter: Cody Lerum
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> {code}
> <rich:autocomplete id="client" value="#{newService.client}" autocompleteMethod="#{entitySearch.appEntityClients}" var="_a" fetchValue="#{_a}">
> <h:outputText value="#{_a.name}" />
> </rich:autocomplete>
> {code}
> Given the above code the fetchValue which is placed in the generated inputText box is what is actually submitted with the form.
> To support POJO selects what is needed is to have a value and a valueLabel so that the fetchValue can be displayed to the user but the acutal converted object value is submitted to the form.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the richfaces-issues
mailing list