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

        Neil Griffin created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Fix Version/s 1.7 [ 10080 ]
        Assignee Mark Collette [ mark.collette ]
        Mark Collette made changes -
        Summary <ice:selectInputDate/> does not fire the required validator when tabbing-out of the rendered <input/> field selectInputDate does not fire validator when tabbing-out of the rendered <input/> field
        Hide
        Mark Collette added a comment -

        This was fixed by ICE-2150. Now, when you tab out of the text input field, it will do the validation. Basically, anything that causes the text input field to lose focus will result in validation.

        Show
        Mark Collette added a comment - This was fixed by ICE-2150 . Now, when you tab out of the text input field, it will do the validation. Basically, anything that causes the text input field to lose focus will result in validation.
        Mark Collette made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.7DR#1 [ 10100 ]
        Fix Version/s 1.7 [ 10080 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.6.2 [ 10111 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Mark Collette added a comment -

        Backported to ICEfaces 1.6.2, along with ICE-2150.

        Show
        Mark Collette added a comment - Backported to ICEfaces 1.6.2, along with ICE-2150 .
        Mark Collette made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Neil Griffin added a comment -

        I'm still seeing this problem in ICEfaces 1.7RC1

        Show
        Neil Griffin added a comment - I'm still seeing this problem in ICEfaces 1.7RC1
        Hide
        Ken Fyten added a comment -

        When using a custom validator, it does fire. But the validator for required="true" does not fire.

        Show
        Ken Fyten added a comment - When using a custom validator, it does fire. But the validator for required="true" does not fire.
        Hide
        Ken Fyten added a comment -

        Opened a new JIRA for the required attribute issue: ICE-2927.

        Show
        Ken Fyten added a comment - Opened a new JIRA for the required attribute issue: ICE-2927 .
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Mark Collette [ mark.collette ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: