Validation/conversion for two component based composite in JSF
问题 I'm developing a JSF web application where I need to use periodicities as data structure. Here there are the Java classes I work with: public class Periodicity implements Serializable { private Integer value = 0; private PeriodicityType type; //Getter and setters } public enum PeriodicityType { DAY, WEEK, MONTH, YEAR } That way I can specify different periodicities for my tasks, which can combine values with PeriodicityType . I also have created an input composite element called