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

Henning Noeth commented on TOBAGO-1689:
---------------------------------------

Second patch fix an error which occur if no <f:ajax>/<tc:event> is used.

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

Reply via email to