1 Reply Latest reply on Feb 19, 2008 5:28 AM by Ilya Shaikovsky

    rich:calendar throws null pointer when left blank

    Gordon DuQuesnay Newbie

      Using richfaces version 3.1.2.GA that shipped with seam 2.0 GA. When I set the calendar control to required="false" and don't enter a date it throws a null pointer exception:

      /WEB-INF/facelets/inputDate.xhtml @21,54 value="#{bean[property]}": java.lang.NullPointerException

      I'd like to have the date field be optional and get converted to null if nothing is entered.