internet explorer 6 - Wicket autocomplete with comboboxes and IE6 -
i have form in there autocompletetextfield , 2 combo boxes (dropdowns in wicket).
when drop down autocomplete shown, combo boxes hidden in ie6.
my test page code is:
package net.betlista; import java.util.iterator; import java.util.linkedlist; import java.util.list; import java.util.locale; import org.apache.wicket.session; import org.apache.wicket.extensions.ajax.markup.html.autocomplete.autocompletetextfield; import org.apache.wicket.markup.html.webpage; import org.apache.wicket.markup.html.form.dropdownchoice; import org.apache.wicket.markup.html.form.textfield; import org.apache.wicket.model.model; public class autocompleteanddropdowntestpage extends webpage { public autocompleteanddropdowntestpage() { final dropdownchoice<integer> drop1 = new dropdownchoice<integer>("drop1", getnewlist(15)); drop1.setoutputmarkupid(true); final dropdownchoice<integer> drop2 = new dropdownchoice<integer>("drop2", getnewlist(10)); drop2.setoutputmarkupid(true); session.get().setlocale(locale.english); final autocompletetextfield<integer> auto = new autocompletetextfield<integer>("auto", new model<integer>(null)) { @override protected iterator<integer> getchoices(final string input) { return getnewlist(20).iterator(); } }; add(auto); add(drop1); add(drop2); add(new textfield<string>("text")); } private static list<integer> getnewlist(final int upto) { final linkedlist<integer> list = new linkedlist<integer>(); (int = 0; < upto; i++) { list.add(i); } return list; } }
test page markup is
<!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3.org/tr/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>insert title here</title> </head> <body> <form> <input type="text" wicket:id="auto"/><br> <select wicket:id="drop1"></select><br> <select wicket:id="drop2"></select><br> <input type="text" wicket:id="text"/><br> </form> </body> </html>
wicket not support ie6, i'm looking workaround.
you should try upgrade 6.7.0, issue sees fixed : https://issues.apache.org/jira/browse/wicket-4893
Comments
Post a Comment