Ah... cool! :)
Will try this and let you know!
The code u sent is very similar to what I have, and just reminded me of a
way I can get this done
Thanks again... will get back with the results :)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Validating-a-PropertyL
Hi, I have a bunch of properties and I want to provide the user a form to
override the properties, but the issue is that some of these properties are
range bound (eg. value can be between 10 and 100), some of them are range
bound on a single side (eg. value can only be greater than 5), and some of
Hi,
I have a form in which I'm taking in numeric values from the user, let's say
1,2,3,4,5. Now, I also have defaults specifying the maximum or minimum
values for the entered numbers (eg. 1,2,3 should be greater than x,y,and z
respectively (with no upper limit), while 4 and 5 should be less than a
Thanks! :)
I'm on Wicket 6.5
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Custom-Error-Message-with-StringValidator-length-Between-tp4658184p4658286.html
Sent from the Users forum mailing list archive at Nabble.com.
--
Hi,
I'm validating a field with StringValidator.lengthBetween, but somehow, it
only displays the default error message rather than one I've defined in a
properties file.
My validator checks length of input between 8 and 20, and I've defined it as
myField.add(StringValidator.lengthBetween(8,20)
Thanks Andrea this is really helpful! :)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-free-guide-updated-tp4657809p4657841.html
Sent from the Users forum mailing list archive at Nabble.com.
--
Wow, that helped... thanks a lot!
Just another question. I now have to use this id to get a database request.
I just realised that even that needs to be mocked as well, using a similar
method.
Assuming the db call function to be mocked is makeDBcall(int userid){
}
How do I mock this to return a
Hi there,
I'm using Wicket+Spring+Mockito for an application and am trying to work
alongside a set of well defined test code.
For a feature I'm working on, I need to get the userid of a given user,
which is stored by Wicket in the user session, and need to test out the
feature using WicketTester
Hi, I'm just beginning with Wicket Development. I've been used to Java
development where, when I want to perform a quick test, I simply add a
sysout to see if a certain code segment is being reached eg.
System.out.println("Segment 1 reached") or to find out what is being
returned by a database call