Re: DecimalFormatLabel (proposed)

2011-09-23 Thread Viktoras
Wouldn't it be better to create a model of String type which is constructed with a Number and NumberFormat as arguments, and use it as model for standard label? On 2011.09.22 23:45, Pranav kacholia wrote: I have foound many places where i need to format a number and display it in a label. Can

Re: Unit testing wicket

2011-07-18 Thread Viktoras
On 2011.07.19 02:04, Niranjan Rao wrote: @Before public void setUp() { Assert.assertNotNull(Could not get application, theApp); tester = new WicketTester(theApp); } You need a fresh application instance everytime. In our

Optional validation

2011-07-07 Thread Viktoras
Hi list, I've got an edit account window, where administrator/account owner can optionally change password, that is: * if he intents not to change his current password, he leaves password and confirm password fields empty; * to change password, standart form validators should apply, that's