Search:

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

Search: Search took 0.02 seconds.

  1. Thread Reason

    The reason I believe it needs to be in a seperate thread is because when the application context for spring starts up it will hang on the receive and not start the application fully up since it never...
  2. Transactional Issues

    Thanks. I took into account the gotchas and went ahead and started implementing it. I was mainly hoping to verify that I wasn't going to go off and implement something when there is already something...
  3. Any Advice on a Synchronous JMS Design Approach

    I have a requirement where I need to take several JMS messages and combine them into one merged xml message that is sent off to another app server. I was thinking of writing a class that starts a...
  4. Replies
    5
    Views
    919

    Thanks

    Not sure how I missed that method.
  5. Clarification

    I have a URL PropertyEditor that throws an IllegalArgumentException. How can I indicate through the messages file that the IllegalArgumentException was thrown because the property was not specified...
  6. Differentianting between binding error messages

    Based on http://www.springframework.org/docs/api/org/springframework/validation/DefaultMessageCodesResolver.html I've been able to customize the error messages returned from property binding errors....
  7. Replies
    5
    Views
    919

    What about only for certain properties?

    How do I handle the validation if I only want certain properties to be optional and other properties to be required? I believe if I install a PropertyEditor it's used for all properties of a given...
  8. Figured it out

    I solved the problem by changing my onSubmit method to take in a bindException and then adding the error model to the ModelAndView returned with


    modelAndView.addAllObjects(errors.getModel());
  9. Forwarding to the same FormController after a post

    I have a form that returns a success view that points to the same form controller. When the form is forwarded to however it blows up with the following


    Neither Errors instance nor plain target...
  10. Replies
    5
    Views
    919

    Handling Non-required Fields

    I have a bean that I associated with a form that contains a setter method that takes an Integer. If the field is left blank on the form it causes an error because the blank String is converted into...
Results 1 to 10 of 10