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

        Brad Kroeger created issue -
        Brad Kroeger made changes -
        Field Original Value New Value
        Assignee Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Fix Version/s EE-2.0.0.GA [ 10263 ]
        Assignee Priority P1
        Assignee Ken Fyten [ ken.fyten ] Ted Goddard [ ted.goddard ]
        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.)
        Ted Goddard made changes -
        Assignee Ted Goddard [ ted.goddard ] Brad Kroeger [ brad.kroeger ]
        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.
        Brad Kroeger made changes -
        Assignee Brad Kroeger [ brad.kroeger ] Ted Goddard [ ted.goddard ]
        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.
        Ted Goddard made changes -
        Assignee Ted Goddard [ ted.goddard ] Brad Kroeger [ brad.kroeger ]
        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.
        Brad Kroeger made changes -
        Attachment jobApplication.war [ 13091 ]
        Attachment jobApplication.zip [ 13092 ]
        Brad Kroeger made changes -
        Assignee Brad Kroeger [ brad.kroeger ] Ted Goddard [ ted.goddard ]
        Ken Fyten made changes -
        Summary icecore:singleSubmit not working on h:inputText fields icecore:singleSubmit doesn't enforce "required=true" validation
        Salesforce Case []
        Fix Version/s EE-2.0.0.GA [ 10263 ]
        Assignee Priority P1
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Priority P1
        Ken Fyten made changes -
        Assignee Ted Goddard [ ted.goddard ] Ken Fyten [ ken.fyten ]
        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 .
        Ken Fyten made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Duplicate [ 3 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: