Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.2
-
Fix Version/s: 1.7.2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ICEfaces Revision 17572 from https://anonsvn.icefaces.org/repo/icefaces/trunk/icefaces
Firefox 3.0.1, Internet Explorer 6 & 7, Opera 9.52, Safari 3.1.2
-
ICEsoft Forum Reference:
Description
Component Showcase can be used to reproduce the error.
There is a JavaScript error as soon as I type a character in the input text.
Error is "form is not defined". I got this error message from Firebug. Firebug says that error comes from "onkeypress(keypress charCode=97, keyCode=0), iceSubmit(form, this, event);"
But the autocomplete list comes for the typed character.
In Firefox, the focus is lost when I type another character.
In Internet Explorer, the focus goes to the beginning of the text.
In Safari, the focus goes to input text and the text is selected. After that the list disappears.
There is a JavaScript error as soon as I type a character in the input text.
Error is "form is not defined". I got this error message from Firebug. Firebug says that error comes from "onkeypress(keypress charCode=97, keyCode=0), iceSubmit(form, this, event);"
But the autocomplete list comes for the typed character.
In Firefox, the focus is lost when I type another character.
In Internet Explorer, the focus goes to the beginning of the text.
In Safari, the focus goes to input text and the text is selected. After that the list disappears.
Issue Links
- depends on
-
ICE-3321 Create a outputText and inputText component that uses ResponseWriter instead of DOMContext
-
- Closed
-
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Firefox 3.0.1 with Firebug showing the JavaScript error
Show
Isuru Perera
added a comment - Firefox 3.0.1 with Firebug showing the JavaScript error
I checked why Autocomplete is not working properly in 1.7.2
It was working well in ICEfaces 1.7.1 and I compared the ICEfaces 1.7.1 sources with latest sources.
I have the sources with revision 17622.
I thought that the problem is with JavaScript, and I checked the modified JavaScript files in the 1.7.2 trunk.
I saw that there is a change for "element.js" inside "bridge\lib". Latest change for that file is done by "mircea.toma" on August 19, 2008. Revision number is 17365. The comment says "
ICE-3335Simplify how 'input' elements are updated."Then I updated the "element.js" inside "bridge\lib" to revision 17022, which is the revision number for previous change.
Adnan Durrani has changed the "autocomplete_ext.js" inside "bridge\lib\extras". I updated that file to revision 16338. Since that change is not needed as I know.
After these changes, Autocomplete is working well in all browsers...
So, I think the fix for http://jira.icefaces.org/browse/ICE-3335 has caused the problem for SelectInputText. Please check that..