Patches item #1499514, was opened at 2006-06-02 16:08 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684977&aid=1499514&group_id=119783
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: core Group: 1.2 Status: Open Resolution: None Priority: 5 Submitted By: Karri-Pekka Laakso (kplaakso) Assigned to: Nobody/Anonymous (nobody) Summary: Autocomplete broken in IE, part 2 Initial Comment: The current autocomplete menu in Wicket 1.2 has 2 major flaws in IE: 1) A page doesn't load if it has an autocomplete textfield on it, since the JavaScript tries to add the menu div directly under document body while the page is loading, which breaks IE for some reason or another. The result is an error message box and no content is rendered. 2) If the previous problem is fixed, the menu is either fully or in part covered with the select components (dropdowns or open lists), for example, if they intersect with the menu. I'm sorry to say that I broke issue 1) myself for Wicket 1.2. And that my previous patch (ie-rendering-broken.patch) didn't fix it. However, the following does. ;) The following patch fixes both of these problems by changing wicket-autocomplete.js: 1) All access to the menu div is done via calls to getAutocompleteMenu(), which returns the menu and creates it, if it doesn't exist yet. All the menu requests happen only after the user has entered something in the field, which is for sure after the whole document has been loaded. 2) The same type of component hiding that is used in the datepicker calendar is applied to the autocomplete menu as well. It's a bit creepy but it works. In addition, the code is indented and formatted in a consistent fashion. Though a patch, it practically almost replaces the whole of wicket-autocomplete.js. Tested in Opera, IE and Firefox (Windows platform) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684977&aid=1499514&group_id=119783 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop