myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volker Malzahn (Commented) (JIRA)" <>
Subject [jira] [Commented] (TRINIDAD-354) Using autoSubmit on a text field suppresses the ActionEvent on a button
Date Wed, 04 Jan 2012 08:49:39 GMT


Volker Malzahn commented on TRINIDAD-354:

It's a pity that we still don't have a solution for this. Why isn't this issue reactivated
(see comments above)? Can you please reactivate it? And it would be nice to have this issue
planned for the next Trinidad release.

> Using autoSubmit on a text field suppresses the ActionEvent on a button
> -----------------------------------------------------------------------
>                 Key: TRINIDAD-354
>                 URL:
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.0.1-incubating-core-SNAPSHOT
>            Reporter: Adam Winer
> First reported on OTN for ADF Faces:
> ... but presumably applies to Trinidad too.  The report:
> "Adding an InputText component on the page that has autosubmit set to true and
> a value change listener attached will suppress a button action event if the
> user directly clicks onto the button when leaving the field
> To reproduce:
> - Create ADF Faces page with backing bean
> - Add InputText components to ADF Faces page
> - Set autosubmit property in the InputText to true
> - Add CommanButton to ADF Faces page
> - Create action method for command button (double click on the button to
> create the method
> - Add System.out.println("Action event fired"); into the method
> - create a ValueChange listener for the textfield and put
>   System.out.println("Value Change Listener fired"); into it
> - Run the ADF Faces page
> - Type hello into teh textfield and hit the button
> The output you see is "Value Change Listener fired". Pressing the button
> twice shows "Action event fired" as well. Obviously an event on a autosubmit
> InputText overrides the event on the component that is clicked on."

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message