[ 
https://issues.apache.org/jira/browse/TOBAGO-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henning Nöth resolved TOBAGO-2223.
----------------------------------
    Fix Version/s: 5.8.0
       Resolution: Fixed

> No submit from button if ajax input field is focused
> ----------------------------------------------------
>
>                 Key: TOBAGO-2223
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-2223
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 5.7.0
>            Reporter: Henning Nöth
>            Assignee: Henning Nöth
>            Priority: Major
>             Fix For: 5.8.0
>
>
> To reproduce the issue see the following example and steps:
> {code:xml}
> <tc:in id="inputAjax" label="On Change" value="#{inController.changeValue}">
>   <f:facet name="before">AJAX</f:facet>
>   <f:facet name="after">on change</f:facet>
>   <f:ajax render="outputAjax" listener="#{inController.update}"/>
> </tc:in>
> <tc:out id="outputAjax" label="On Server" 
> value="#{inController.changeValue}"/>
> <tc:button label="Submit" defaultCommand="true"/>{code}
> Steps:
> 1. focus input field
> 2. change input to "123"
> 3. klick on button
> Expected result:
> An ajax event should be triggered, because of the ajax "change" event. After 
> that, a submit is executed.
> Actual behavior:
> Only the ajax event is triggered. To execute the submit, you have to klick a 
> second time on the button or press the button a bit longer.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to