ICEfaces
  1. ICEfaces
  2. ICE-10883

Add new "validateOn" attribute to ACE clientValidate* components

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.BETA, 4.2
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 4.1
    • Assignee Priority:
      P2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      The ace:clientValidate* components currently hard-code the client events that trigger their invocation. While this is fine for most use-cases, it would be nice to be able to control which events triggered their execution in some cases.

      For example, the will fire when blurring away from an input component currently, but it might be desirable to have them fire only when a component is being submitted to the server, as an example.

      This can be implemented by adding support for an "event" attribute on the ace:clientValidate* components which would specify the event to trigger the validation on, i.e. "blur", "keypress", "submit".

        Activity

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: