Disabling Holidays and weekends days in af:inputDate component
Hello, In this post, I would like to explain the disabling functionality on specific dates in input date component in adf. in the above date component i have disabled the Friday and Saturdays in every month and 1st 2nd 5th dates are the holidays as per my calendar so i disabled this list of dates. In order to achieve this functionality we need a special class that implements the "DateListProvider" interaface with one overriden method is as follows. package com.tata.guru.view; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; import java.util.Date; import java.util.List; import javax.faces.context.FacesContext; import org.apache.myfaces.trinidad.model.DateListProvider; public class DatePageBean implements DateListProvider { public DatePageBean() { super(); } public List...