You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Werner Punz (JIRA)" <de...@myfaces.apache.org> on 2006/02/20 22:30:25 UTC

[jira] Commented: (MYFACES-1145) InputSuggestAjax should allow differentiation between text in popup and text in input box

    [ http://issues.apache.org/jira/browse/MYFACES-1145?page=comments#action_12367086 ] 

Werner Punz commented on MYFACES-1145:
--------------------------------------

This behavior should be achievable by the inputsuggest table, as far as I can see, but Gerald probably can comment on that more than I do.


> InputSuggestAjax should allow differentiation between text in popup and text in input box
> -----------------------------------------------------------------------------------------
>
>          Key: MYFACES-1145
>          URL: http://issues.apache.org/jira/browse/MYFACES-1145
>      Project: MyFaces
>         Type: Improvement
>   Components: Sandbox
>     Reporter: Jean-Claude Pace

>
> InputSuggestAjax requires JSF to return a list of suggestions. This list of suggestions is diplayed in the popup. Selection of an item in the popup results in the item being entered into the text box.
> There are occasions where it is desirable to be able to display an entry in the popup but enter a different entry in the input box. An example, of the top of my head, is a case where we want the user to enter a short country code into an input box. The suggestions might include things like "United Kingdom (UK)" or "United States (US)" or "Italy (IT)". However, selecting, say, Italy, should only enter "IT" into the input box.
> This behaviour, I believe, is not possible with the current InputSuggestAjax.

-- 
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