Re: Problem with testing text field auto completion with WicketTester

2012-10-06 Thread Marcin Zajączkowski
On 2012-10-07 02:14, Marcin Zajączkowski wrote: > Hi, > > I try to test auto complete feature implemented with > DefaultCssAutoCompleteTextField. I'm able to call it from a test using > WicketTesterHelper.findBehavior: > > AbstractAutoCompleteBehavior behavior = (AbstractAutoCompleteBehavior) > W

Problem with testing text field auto completion with WicketTester

2012-10-06 Thread Marcin Zajączkowski
Hi, I try to test auto complete feature implemented with DefaultCssAutoCompleteTextField. I'm able to call it from a test using WicketTesterHelper.findBehavior: AbstractAutoCompleteBehavior behavior = (AbstractAutoCompleteBehavior) WicketTesterHelper.findBehavior(tester.getComponentFromLastRender

Re: Validation with component not required

2012-10-06 Thread Sven Meier
... when the field is not required ... it should let go the field if empty but should run the validator if the field has something in it. This is exactly how it works. The following test shows it: https://git-wip-us.apache.org/repos/asf?p=wicket.git;a=commitdiff;h=d3f3b43e Why to you think

Validation with component not required

2012-10-06 Thread Gonzalo Aguilar Delgado
Hello, I've found a little issue with validators. When you set an StringValidator.ExactLengthValidator(9) into a TextField it requires you to enter exactly 9 chars. This seems to be okay. But what happens when the field is not required. setRequired(false). What's the correct behavior?! It sh

Re: OnMouseOver and OnMouseOut menu

2012-10-06 Thread vineet semwal
you are welcome,as i have said before there are already existing tooltips projects done in wicket ,the most popular/used one is i think mootip,it's in minis project in wickestuff but i have not used tooltips in long time so there might have come new ones so either use that or create a new thread