You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Marcus Kroeger (JIRA)" <de...@myfaces.apache.org> on 2017/02/06 13:14:41 UTC

[jira] [Comment Edited] (TOBAGO-1689) change event is not executed for

    [ https://issues.apache.org/jira/browse/TOBAGO-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15853937#comment-15853937 ] 

Marcus Kroeger edited comment on TOBAGO-1689 at 2/6/17 1:14 PM:
----------------------------------------------------------------

TOBAGO-1678 change event is not executed for <tc:suggest>
* When using <tc:suggest/> the <tc:event> as well as <f:ajax> are now supported and
[developed by sub_ft1]


was (Author: sub_ft1):
Patch added to support tc:event as well as ajax

> change event is not executed for <tc:suggest>
> ---------------------------------------------
>
>                 Key: TOBAGO-1689
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1689
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Themes
>    Affects Versions: 3.0.2
>            Reporter: Henning Noeth
>            Assignee: Udo Schnurpfeil
>         Attachments: tobago-1689.patch
>
>
> A change event is not executed for <tc:suggest> if a suggestion is selected.
> {code:xml}
> <tc:in value="...">
>     <tc:suggest query="...">
>         <tc:selectItems ... />
>     </tc:suggest>
>     <tc:event/>
> </tc:in>
> {code}
> Same if <tc:event/> is replaced by <f:ajax>.
> The change event is only executed if no suggestion is available for the entered string or if the suggested string is completely written by the user.
> Example:
> <tc:suggest> knows the values "Sun, Moon, Stars".
> If the user enter 'Su' and select 'Sun' from the suggestion list: no change event is executed.
> If the user enter 'Su' and press TAB to complete the string 'Sun': no change event is executed.
> If the user enter 'Sun': change event is executed.
> If the user enter 'Jupiter': change event is executed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)