Results 1 to 3 of 3

Thread: Validation of complex bean with property of type List

  1. #1
    Join Date
    Aug 2004
    Location
    Paris
    Posts
    43

    Default Validation of complex bean with property of type List

    Hi,

    I would like to know simply if it is possible to validate a complex bean with xdoclet and commons validator.

    By complex bean, I mean a bean with a property of type List, containing a list of object that need to also be validated.

    EX :

    Code:
                class Wallet 
                          public List operations; 
                          public List getOperations; 
                          public void setOperations(List myOperations);
    Code:
                 class Operation
                          public Date date; 
                          public Integer amount; 
                          public Date getDate;
                          public Integer getAmount; 
                          public void setDate(Date myDate);
                          public void setAmount(Integer myAmount);
    Thanks

    Olivier

  2. #2
    Join Date
    Aug 2004
    Location
    Amsterdam, Netherlands
    Posts
    450

    Default

    This is a question I think more suited for the XDoclet mailing lists. Have a look at http://xdoclet.sourceforge.net/ to see if there's more info there.

    Alef

  3. #3
    Join Date
    Aug 2004
    Location
    Paris
    Posts
    43

    Default

    Yes I am going to do that, by the way, do you know if it will be possible to do it with the upcoming spring validator framework ?

    Thks

    Olivier

Similar Threads

  1. Order of Bean definitions matters?
    By cfuser in forum Container
    Replies: 2
    Last Post: Oct 21st, 2005, 10:29 AM
  2. Spring container fails with no exception
    By naor in forum Container
    Replies: 9
    Last Post: Oct 1st, 2005, 03:39 PM
  3. EHCaching Hibernate
    By dencamel in forum Data
    Replies: 3
    Last Post: Sep 6th, 2005, 09:03 PM
  4. could not satisfy dependencies
    By springuser in forum Container
    Replies: 4
    Last Post: Apr 26th, 2005, 01:15 PM
  5. Replies: 1
    Last Post: Apr 25th, 2005, 07:37 PM

Posting Permissions

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