ICEfaces
  1. ICEfaces
  2. ICE-6749

icecore:singleSubmit doesn't enforce "required=true" validation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.1
    • Fix Version/s: 3.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces 2.0.1 JSF 2.1.1
    • Assignee Priority:
      P1

      Description

      The training application located at repo\services\icefaces2-training\trunk\exercises\solutions\3.6.0-exercise-datatable-refactor has a job-applicant.xhtml page with an h:form containg h: tags and an ace: tag.

      The form has icecore:singleSubmit nested inside of it and with ICEfaces 2.0.0 I was seeing 'required' validation messages on the fields as I tabbed through the form. After updating to ICEfaces 2.0.1 I am not seeing a post performed as I tab through the h:inputText fields (it is working on the h:selectOneMenu and h:selectOneRadio fields).
      1. jobApplication.zip
        76 kB
        Brad Kroeger

        Activity

        Hide
        Ted Goddard added a comment -

        This is a new feature since icecore:singleSubmit does not allow the JavaScript event to be configured (currently it is "onchange" for text fields in browsers other than IE). It may actually be better to combine this with client-side validation for required fields than performing a submit.

        Show
        Ted Goddard added a comment - This is a new feature since icecore:singleSubmit does not allow the JavaScript event to be configured (currently it is "onchange" for text fields in browsers other than IE). It may actually be better to combine this with client-side validation for required fields than performing a submit.
        Hide
        Ted Goddard added a comment -

        Please confirm if this is a regression from a previous ICEfaces 2 release. (It is different behavior from partialSubmit, but that does not make it a regression.)

        Show
        Ted Goddard added a comment - Please confirm if this is a regression from a previous ICEfaces 2 release. (It is different behavior from partialSubmit, but that does not make it a regression.)
        Hide
        Brad Kroeger added a comment -

        This is a regression from ICEfaces 2.0.0, tabbing through the h:inputText fields resulted in 'required' validation firing.

        Show
        Brad Kroeger added a comment - This is a regression from ICEfaces 2.0.0, tabbing through the h:inputText fields resulted in 'required' validation firing.
        Hide
        Ted Goddard added a comment -

        Please attach a test case or a page to add to component-showcase or auction to reproduce.

        Show
        Ted Goddard added a comment - Please attach a test case or a page to add to component-showcase or auction to reproduce.
        Hide
        Brad Kroeger added a comment -

        I have attached the source code and a war file (Tomcat 7.0.8) of our training jobApplication project.

        I have submitted this application to testing as it's a good example of a form / dataTable based application.

        Show
        Brad Kroeger added a comment - I have attached the source code and a war file (Tomcat 7.0.8) of our training jobApplication project. I have submitted this application to testing as it's a good example of a form / dataTable based application.
        Hide
        Ken Fyten added a comment -

        This is a duplicate of ICE-7436.

        Show
        Ken Fyten added a comment - This is a duplicate of ICE-7436 .

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Brad Kroeger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: