<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


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

        

Reply via email to