[ http://issues.apache.org/jira/browse/MYFACES-422?page=comments#action_12332236 ]
Dave Brondsema commented on MYFACES-422: ---------------------------------------- Also, it returns a value of "-1" if the user types something in instead of selecting a choice > [ s:inputSuggest ] Bad values when back to the model > ---------------------------------------------------- > > Key: MYFACES-422 > URL: http://issues.apache.org/jira/browse/MYFACES-422 > Project: MyFaces > Type: Improvement > Components: Sandbox > Versions: 1.1.0 > Reporter: Clément Maignien > Priority: Minor > > When accessing the selected entry in the model, the value equals : > orm:<componentID>_choice<SelectedEntry> instead of <SelectedEntry> > The reason this happens is that the value that's set comes from the rendered > HTML id for the choice. In order to allow you to have multiple inputSuggest > components on one page with values in common, it is necessary to prepend the > component id to ensure the generation of a unique HTML id for every choice. > It should be possible to add code to the component so that it can remove > what it puts in on the way back to the model. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
