Re: Re: AutoCompleteTextField and wicket 1.3.5

2008-11-11 Thread rzsolt

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

2008-11-11 Thread rzsolt

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]



Tree redrawing

2008-04-15 Thread rzsolt

It seems that wicket Tree items always redraw themself when I drag the mouse
over them. Why? I have a page with two panels on it: a menu tree on the left
and a form panel on the right. Actually the right side form is submitted by
an ajax request and with the help of the LasyLoadingPanel because the
response time may be long. During this when I move the mouse around the menu
tree, the tree items disappear because they are not able to refresh
themself. It seems this only happens using IE6, firefox is not effected.
-- 
View this message in context: 
http://www.nabble.com/Tree-redrawing-tp16699639p16699639.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]