You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Adam Winer (JIRA)" <ad...@incubator.apache.org> on 2006/10/11 07:12:20 UTC

[jira] Updated: (ADFFACES-227) ONKEYPRESS ATTRIBUTE NOT FUNCTIONING AS EXPECTED IN IE

     [ http://issues.apache.org/jira/browse/ADFFACES-227?page=all ]

Adam Winer updated ADFFACES-227:
--------------------------------

    Priority: Minor  (was: Major)

Lowering priority to minor.  This is most likely a "won't fix";  I suspect we're just seeing different browser behavior regarding cancelling keypress events, and it is not Trinidad's responsibility to abstract away the differences between Javascript handling on the browsers.

> <tr:inputText> ONKEYPRESS ATTRIBUTE NOT FUNCTIONING AS EXPECTED IN IE
> ---------------------------------------------------------------------
>
>                 Key: ADFFACES-227
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-227
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>         Environment: Windows Xp, IE 6 and IE 7
>            Reporter: K SRINATH REDDY
>            Priority: Minor
>
> the onkeypress attribute of an <tr:inputText> tag doesn't operate as expected in IE 6.0. In particular, the following tag should produce a text field that does not accept any input:
> <tr:inputText onkeypress="return false;" />   but it allows you to enter the Text.
> The Bug is reproducible in IE 6 and IE 7 and it works as expected in Mozilla and Firefox.
> This could be because, the onKeyPress rendered on the form overrides the onKeyPress on the inputText. In _submitOnEnter function called on onKeyPress on form returns true for all the keys Except 'Enter'/'Return' key which overrides the false returned in inputText onKeyPress.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira