Re: Re: AutoCompleteTextField and wicket 1.3.5
I have the same problem using IE6. I get an 'Error on page' message when I press the first key in my AutoCompleteTextField type field. The complete IE6 error massage as: Line: 288 Char: 9 Error: Type mismatch Inspecting the recent changes in wicket-autocomplete.js (1.3.4 - 1.3.5), I found that there was a change around that line: in 1.3.4: container.style.zIndex=(Number(index)!=Number.NaN?Number(index)+1:index); container.style.left=position[0]+'px' container.style.top=(input.offsetHeight+position[1])+'px'; in 1.3.5: container.style.zIndex=(!isNaN(Number(index))?Number(index)+1:index); container.style.left=position[0]+'px' container.style.top=(input.offsetHeight+position[1])+'px'; As you can see, there is no semicolon in the end of the second line. I think putting a semicolon there solves the problem for IE. -- View this message in context: http://www.nabble.com/Re%3A-Re%3A-AutoCompleteTextField-and-wicket-1.3.5-tp20423114p20435361.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Re: AutoCompleteTextField and wicket 1.3.5
rzsolt mailto:[EMAIL PROTECTED] wrote: I have the same problem using IE6. I get an 'Error on page' message when I press the first key in my AutoCompleteTextField type field. The complete IE6 error massage as: Line: 288 Char: 9 Error: Type mismatch Inspecting the recent changes in wicket-autocomplete.js (1.3.4 - 1.3.5), I found that there was a change around that line: in 1.3.4: container.style.zIndex=(Number(index)!=Number.NaN?Number(index)+1:index); container.style.left=position[0]+'px' container.style.top=(input.offsetHeight+position[1])+'px'; in 1.3.5: container.style.zIndex=(!isNaN(Number(index))?Number(index)+1:index); container.style.left=position[0]+'px' container.style.top=(input.offsetHeight+position[1])+'px'; As you can see, there is no semicolon in the end of the second line. I think putting a semicolon there solves the problem for IE. Have you testet it? I just have testet it on IE7 and the missing semicolon did not solve this problem. See https://issues.apache.org/jira/browse/WICKET-1504 for tracing this issue... Kai - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re: AutoCompleteTextField and wicket 1.3.5
There is another typo in AutoCompleteTextField.java. Line 257 should be like this: tag.put(autocomplete, off); instead of this tag.put(autocomplete, false); A temporary workaround: myActf.add(new SimpleAttributeModifier(autocomplete, off)); -- View this message in context: http://www.nabble.com/Re%3A-Re%3A-AutoCompleteTextField-and-wicket-1.3.5-tp20423114p20437568.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AutoCompleteTextField and wicket 1.3.5
There seems to be a problem with the AutoCompleteTextField in wicket 1.3.5. The search results pops up in the wrong place (not below the search field). When I downgrade to wicket 1.3.4 it works perfectly. And the problem only occurs when I use Internet Explorer, not firefox. I still wish to use wicket 1.3.5, does anybody know a sollution for this? -- View this message in context: http://www.nabble.com/AutoCompleteTextField-and-wicket-1.3.5-tp20422758p20422758.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AutoCompleteTextField and wicket 1.3.5
use firefox On Nov 10, 2008 2:06pm, ulrik [EMAIL PROTECTED] wrote: There seems to be a problem with the AutoCompleteTextField in wicket 1.3.5. The search results pops up in the wrong place (not below the search field). When I downgrade to wicket 1.3.4 it works perfectly. And the problem only occurs when I use Internet Explorer, not firefox. I still wish to use wicket 1.3.5, does anybody know a sollution for this? -- View this message in context: http://www.nabble.com/AutoCompleteTextField-and-wicket-1.3.5-tp20422758p20422758.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re: AutoCompleteTextField and wicket 1.3.5
Not really. What version of IE are you using? On Nov 10, 2008 2:19pm, ulrik [EMAIL PROTECTED] wrote: Is that a joke? Bruno Borges wrote: use firefox -- View this message in context: http://www.nabble.com/AutoCompleteTextField-and-wicket-1.3.5-tp20422758p20423025.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AutoCompleteTextField and wicket 1.3.5
Is that a joke? Bruno Borges wrote: use firefox -- View this message in context: http://www.nabble.com/AutoCompleteTextField-and-wicket-1.3.5-tp20422758p20423025.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re: AutoCompleteTextField and wicket 1.3.5
IE 7 Bruno Borges wrote: Not really. What version of IE are you using? On Nov 10, 2008 2:19pm, ulrik [EMAIL PROTECTED] wrote: Is that a joke? Bruno Borges wrote: use firefox -- View this message in context: http://www.nabble.com/AutoCompleteTextField-and-wicket-1.3.5-tp20422758p20423025.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Bruno Borges blog.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. - Francois de La Rochefoucauld -- View this message in context: http://www.nabble.com/Re%3A-Re%3A-AutoCompleteTextField-and-wicket-1.3.5-tp20423114p20434192.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]