ICEfaces
  1. ICEfaces
  2. ICE-7436

icecore:singleSubmit not enforcing "required=true" validation on input components

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 3.0.RC1, 3.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces 2.0.2, 2.1.0.BETA2
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      When using the ICEfaces 2 singleSubmit feature (either via the ice core:singleSubmit tag or on an ace: component attribute), the singleSubmit doesn't enforce a "required=true" validation condition if the component is not edited when visited.

      If you visit an input component with "required=true", but do not edit it's contents, the singleSubmit is not fired when the component is loses focus, so the "required=true" condition is never enforced.

      I believe this can be fixed by adding some smart logic to the singleSubmit feature to trigger a singleSubmit during an input component's "onBlur" event, but only in cases where "required-true" is defined on that component.

        Activity

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: