10 Replies Latest reply on Apr 17, 2008 6:55 PM by John Gilbert

    rich:calendar and Seam produce unsual problem

    Terry Apprentice

      I have a xhtml record search page with date field using rich:calendar as in code below. typing date say 01-01-1990 and searching/lising records displays several pages of results; when I click page navigation buttons eg, "next page" the value in rich:calendar field gets reduced by one day (eg, 31-12-1989) - causing search to produce wrong results.

      anyone knows if this is a bug; bcos I don't see anything special in my code which may be causing it. the date field is directly mapped to entity property.

      Seam 2.0.1GA and Richfaces 3.2.0.GA

       <h:outputLabel for="dateOfBirthRichPanel">Date of birth</h:outputLabel>
       <h:panelGrid id="dateOfBirthPanel" columns="3" rowClasses="calendar-row" columnClasses="ecol1, ecol2">
       <a4j:outputPanel id="dateOfBirthRichPanel" layout="block">
       <rich:calendar value="#{clientList.contact.dateOfBirth}"
       popup="true" datePattern="dd-MM-yyyy" enableManualInput="true" id="dateOfBirth"/>