2 Replies Latest reply on Oct 11, 2011 4:44 PM by jbalunas

    RF4 doesn't rich:calendar accept AJAX events?

    edilmar

      Hi,

       

      I'm using RF4.0.0 final.

      1) if I put rich:calendar + a4j:ajax...

      <rich:calendar id="Conhecimento_dataEmissao" value="#{conhecimento.entity.dataEmissao}"

        zindex="1000" inputSize="8"

        datePattern="dd/MM/yyyy" enableManualInput="true" showWeeksBar="false"

        cellWidth="20px" cellHeight="20px"

        oninputkeypress="return editMask('formconhecimento:Conhecimento_dataEmissaoInputDate', '99/99/9999', event);"

        >

        <a4j:ajax execute="Conhecimento_dataEmissao" render="Conhecimento_numPedido" event="blur" listener="#{conhecimento.entity.setDadosData}" />

      </rich:calendar>

      it occurs this exception: <a4j:ajax> blurevent is not supported for the UICalendar

       

      2) if I put a a4j:region + a4j:ajax + rich:calendar...

      <a4j:region id="a4j_Conhecimento_dataEmissao">

        <a4j:ajax execute="Conhecimento_dataEmissao" render="Conhecimento_numPedido" event="blur" listener="#{conhecimento.entity.setDadosData}" />

        <rich:calendar id="Conhecimento_dataEmissao" value="#{conhecimento.entity.dataEmissao}"

          zindex="1000" inputSize="8"

          datePattern="dd/MM/yyyy" enableManualInput="true" showWeeksBar="false"

          cellWidth="20px" cellHeight="20px"

          oninputkeypress="return editMask('formconhecimento:Conhecimento_dataEmissaoInputDate', '99/99/9999', event);"

        />

      </a4j:region>

      it occurs this exception: Unable to attach <a4j:ajax> to non-ClientBehaviorHolder parent