Added required attribute to m:inputDate
Fixed PMD issue