0 Replies Latest reply on Nov 26, 2010 5:38 PM by Luis Tumipamba

    Control the default message the rich:calendar

    Luis Tumipamba Newbie

      Hi,

       

       

      I have a problem.. help me.

       

      I am using the <rich:calendar /> component the next form:

       


      <rich:calendar id="rc_fnacimiento"
                                      enableManualInput="true" datePattern="dd/MM/yyyy"
                                      isDayEnabled="fechaNacimiento" 
                                      value="#{candidatoBean.bePerMod.feNacimientoPer}"
                                      required="true" requiredMessage="#{be_messages.valor_requerido}"
                                      onfocus="firstcolor('f_edit_candidato:rc_fnacimiento')" >
                                      <f:validator validatorId="formatoFecha" />
                                      <rich:ajaxValidator event="onchanged"
                                          oncomplete="secondcolor('f_edit_candidato:rc_fnacimiento')" />
                                  </rich:calendar><rich:message id="m_rc_fnacimiento" for="rc_fnacimiento" 
                                      styleClass="inputTextoMessage" >
                                  </rich:message>
                                 
                                 
      When your enter text (for example asdfg), The following message appears: f_edit_candidato:rc_fnacimiento: 'asdfg' could not be understood as a date. Example: 26/11/2010.


      I need to control the message for default and present a personalized message.

       

      I expect prompt response.

       

      Thanks