Search:

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

Search: Search took 0.02 seconds.

  1. SimpleFormController with a variable number of backing objects?

    Is there a way to have a SimpleFormController with a variable number of backing objects?

    For example, let's say I have a Form that represents an Attribute. An Attribute object is basically just a...
  2. Replies
    2
    Views
    887

    Binding and Optional fields

    I have a form (using SimpleFormController) with three required fields (Strings) and two optional fields (quantity and sort order--Integers). What I'd like to have happen is if the user doesn't type...
  3. Multiple CustomEditors for the same Class?

    My object has two fields of type Foo. I want both Foos to be used by my SimpleFormController. I have a custom editor (extends PropertyEditorSupport) for Foo, and it works fine to translate one of the...
  4. Figured it out ... solution for future Googlers

    Turns out I was registering a CustomEditor to turn my input into objects, and they weren't checking to see if getValue() was null before dereferencing it. Hope this helps somebody else down the line!
  5. NPE inside of RequestContext.getBindStatus

    I'm very new to Spring, trying to figure out how all the different kinds of controllers work. I think I've got my head wrapped around the SimpleFormController, and everything works fine in a simple...
Results 1 to 5 of 5