Results 1 to 2 of 2

Thread: Command Collections

  1. #1
    Join Date
    Jul 2005
    Posts
    9

    Default Command Collections

    Hello!

    i'm writting a program with a structure like this:

    class Party {
    String description;
    Date date;
    Place place;
    List<Guest> guests;

    gets and setters;
    }

    class Place {
    String Address;
    String City;

    gets and setters;
    }

    class Guest {
    String name;
    Integer age;

    gets and setters;
    }

    I need to make a Form (wizard), where user fills party's description and date, party's place address and city, and then start to fill guests names and ages. This is a master detail.

    How do i do the guests form? How does spring handle pojo collections?

    Thank you!

  2. #2
    Join Date
    Sep 2004
    Location
    Leuven, Belgium
    Posts
    1,853

    Default

    Check the Spring reference documentation for more information on collections support in the DataBinder, specifically section 4.3.1 (http://static.springframework.org/sp...alidation.html).

    Erwin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •