myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joris Verschoor (JIRA)" <>
Subject [jira] Commented: (MYFACES-771) action in a submit button is not triggered on IE
Date Wed, 02 Nov 2005 08:43:56 GMT
    [ ] 

Joris Verschoor commented on MYFACES-771:

Ofcourse it should only be done when internet explorer is detected.

> action in a submit button is not triggered on IE
> ------------------------------------------------
>          Key: MYFACES-771
>          URL:
>      Project: MyFaces
>         Type: Bug
>   Components: Implementation
>     Versions: 1.1.0
>  Environment: linux 2.6.9-11 running java 1.5.0_05-b05
> internet explorer 6.0.2900.2180.xpsp_sp2_gdr.050301-1519
>     Reporter: Joris Verschoor

> We have  a form with:
> * a submit button (commandButton, type="submit") with an action (action="#{bean.go}")

> * a single textinput field (single textbox is key)
> * several selectboxes
> If you press enter, when the textbox has focus, it's expected to submit the first submitbutton.
> This works fine under firefox. However, under IE, when you press enter, yuo get a different
results than clicking the submit button.
> This results in unexpected behaviour: Because the name/value pair is not submitted by
pressing enter, myfaces does not know that the button was clicked, and therefore does not
invoke the action (bean.go())
> The problem is also described:
> The input pixel image solution did not work for us, but we've found another way:
> At the beginning of the form, we've put:
> <f:verbatim>
> <input type="text" name="input_for_enterkey_submit" style="display: none;">
> </f:verbatim>
> The myfaces renderer should count the number of textinputs, and if there is only one
textinput, it should create a hidden textinput.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message