I was looking through the source code and have some ideas, but was wondering what the official way is.

Imagine the following class declarations (I removed the setters and getters for simplicity)

class BeanToWrite {
        private String _strValue;
        private int _iValue;
}

class ParentBean {
        private String _value;
        private BeanToWrite _bean;
}

How do you validate Parent bean, while not forgetting about the validation of the BeanToWrite?

Thanks

Christian Gross


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to