html:options and collections

2004-12-09 Thread jesnook
I want to use a bean to supply options to a select widget. I have a business object, DevicesBO that has a method that returns a Collection. Class Name: DevicesBO Method: Collection getDevices() The collection is a List of CodeDecodeDTO objects. Class Name: CodeDecodeDTO Methods:

Problem with validation using both minlength and maxlength on the same field

2004-12-01 Thread jesnook
I'm trying to validate a simple field. I want to validate that the field is an integer, and meets the min and max length requirements. In the same application I am able to correctly validate a date field so I'm confident my overall struts setup is correct. However when I try to do both a min