4 Replies Latest reply on May 28, 2007 8:07 AM by Damian Harvey

    s:selectDate ajaxRender


      Noticed a few problems with s:selectDate when it is rendered through ajax.
      i have the following code

      <a4j:outputPanel id="details">
      <h:inputText id="regDate" <s:convertDateTime pattern="dd/MM/yyyy" /> </h:inputText>
      <s:selectDate id="selectRegDate" for="regDate" dateFormat="dd/MM/yyyy">
       <h:graphicImage url="/images/dtpick.gif" style="margin-left:5px;cursor:pointer" />

      When the outputPanel is rendered using an event from other component with the following code.
      <a4j:support event="onchange" reRender="details">

      The dateformat sometimes defaults to MM/dd/yyyy.

      and also the selectdate component does not generate any events for validation. i.e i cannot have a4j:support for ajax invocation inside h:inputText