ICEfaces
  1. ICEfaces
  2. ICE-1748

selectInputDate does not fire validator when tabbing-out of the rendered <input/> field

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#5
    • Fix Version/s: 1.6.2, 1.7DR#1, 1.7
    • Component/s: None
    • Labels:
      None
    • Environment:
      Tomcat 6 / Liferay 4.3.0 (trunk) / IE7

      Description

      In my portlet I have code like this in the JSPX:

      <ice:panelGrid>
      <!-- dateOfBirth -->
      <ice:panelGroup styleClass="portlet-form-field-label">
      <ice:outputText style="color: red;" value="*"/>
      <ice:outputLabel for="dateOfBirth" value="#{JobApplicationMsgs.dateOfBirth}"/>
      </ice:panelGroup>
      <ice:selectInputDate id="dateOfBirth" alt="#{JobApplicationMsgs.dateOfBirth}" autocomplete="true" popupDateFormat="#{Edit.preferences['dateFormat']}" renderAsPopup="true" required="true" style="" styleClass="portlet-form-input-field" value="#{JobApplication.dateOfBirth}">
      <f:convertDateTime pattern="#{Edit.preferences['dateFormat']}"/>
      </ice:selectInputDate>
      <ice:message errorClass="portlet-msg-error" for="dateOfBirth"/>
      </ice:panelGrid>

      And when I tab-out of the <ice:selectInputDate/> component, the required validator does not fire.

      Thankfully, it does fire when I click the Submit button for the <ice:form/>.

        Activity

        There are no subversion log entries for this issue yet.

          People

          • Assignee:
            Unassigned
            Reporter:
            Neil Griffin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: