tags:

views:

15

answers:

0

Hi all,

I tried to update List of domain objects. So i used List property in Action class. This List will hold FilterCritera domain object. to get back values i used Myaction-conversion.properties. It worked well..But inside this Domain object i have Type (org.hibernate.type.Type) of Object. How to metion that in property file.

MyAction-conversion.property file

KeyProperty_filterList=index
Element_filterList=com.mmm.ehspreg2.common.util.FilterCriteria
CreateIfNull_filterList=true

FilterCriteria.java

    public class FilterCriteria {

        public FilterCriteria() {

        }    

            private Integer id;
        private String attributeName;   
        private String attributeNameText;   
        private String filterOption;    
        private String filterOptionText;
        private String attributeValue;  
        private Type attributeType; //Holds org.hibernate.type.Type 
        private boolean active;
//getters and setters 
    }