2 Replies Latest reply on Apr 15, 2011 10:56 AM by Edilmar Alves

    RichFaces4 rich:calendar bug with readonly

    Edilmar Alves Expert

      Hi,

       

      If I use readonly=false, the rich:calendar popup button stops to work, like if I used readonly=true.

      If I delete the readonly property, all works fine.

       

      This doesn work:

       

      <rich:calendar readonly="false" id="date" value="" zindex="1000" inputSize="8" datePattern="dd/MM/yyyy" enableManualInput="true" showWeeksBar="false" cellWidth="20px" cellHeight="20px" required="false" requiredMessage="" oninputkeypress="editMask('formproprietario:Proprietario_dataEmissaoRgInputDate', '99/99/9999', event);"/>

       

      This works fine:

      <rich:calendar id="date" value="" zindex="1000" inputSize="8" datePattern="dd/MM/yyyy" enableManualInput="true" showWeeksBar="false" cellWidth="20px" cellHeight="20px" required="false" requiredMessage="" oninputkeypress="editMask('formproprietario:Proprietario_dataEmissaoRgInputDate', '99/99/9999', event);"/>