Search:

Type: Posts; User: rubberballman; Keyword(s):

Search: Search took 0.04 seconds.

  1. Thanks for your reply. I've managed to find a...

    Thanks for your reply.
    I've managed to find a good solution (I think...) using JUnit and Mockito as the mocking framework instead of EasyMock.

    First, the AddressValidator test class:


    public...
  2. Thanks for the reply. However, what I really...

    Thanks for the reply.
    However, what I really want to do here is to mock the AddressValidator which is called and instanciated inside the CustomerValidator? Is there a way to mock this...
  3. Writing JUnit tests for Spring Validator implementation

    Hi,
    I'm using Spring Validator implementations (http://static.springsource.org/spring/docs/current/spring-framework-reference/html/validation.html) to validate my object and I would like to know how...
  4. How to set the order in which validations are performed when using @Valid?

    Hi,

    I'm using the @Valid annotation to perform validations after a form submit. (Spring MVC 3.1)

    Error messages are then displayed in the page based on these validations.

    The problem is that...
  5. Thanks a lot for the quick response.

    Thanks a lot for the quick response.
  6. Is it safe to use Spring Integration with Spring 3.1?

    If I look at Spring Integration dependencies, I see that the latest release (2.1) depends on Spring Framework 3.0.7.RELEASE.
    However, I would have wanted to use some of the new features present in...
  7. How to override Spring error messages?

    Does anyone know how to override error messages such as "evaluationException on field amount" by my own messages?

    This kind of message is displayed when I try to enter alpha characters inside a...
Results 1 to 7 of 7