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

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

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


[jira] Resolved: (TOMAHAWK-141) InputSuggestAjax should allow differentiation between text in popup and text in input box

Posted by "Gerald Müllan (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-141?page=all ]

Gerald Müllan resolved TOMAHAWK-141.
------------------------------------

    Fix Version/s: 1.1.5-SNAPSHOT
       Resolution: Fixed

Patch http://issues.apache.org/jira/browse/TOMAHAWK-818 addresses this issue.

> InputSuggestAjax should allow differentiation between text in popup and text in input box
> -----------------------------------------------------------------------------------------
>
>                 Key: TOMAHAWK-141
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-141
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: InputSuggestAjax
>            Reporter: Jean-Claude Pace
>         Assigned To: Gerald Müllan
>             Fix For: 1.1.5-SNAPSHOT
>
>
> 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

       

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

Posted by "Werner Punz (JIRA)" <de...@myfaces.apache.org>.
    [ 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


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

Posted by "Gerald Müllan (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1145?page=comments#action_12367111 ] 

Gerald Müllan commented on MYFACES-1145:
----------------------------------------

A currently working issue is the possibility to put a second value (located in a hidden field) near each td element in the suggested table. 
I have implemented it in order to select a value from the suggested table and than push the right value on top of a select one menu.

So, nearly the same idea is currently provided, i will try to add this feature (sounds really useful), it should not be the biggest issue.

In the meantime you can also do a fresh svn checkout to see the current possibilities.

> 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